Re: LVM2, RHEL 4 update 2: can't remove logical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian,

the most simple one depends a bit on mp-tools device names. There are some
discussions about device names... What I did was to use the alias feature 
to name
the disks like mpdisk*

Then the following filter would just allow these:

filter = [ "a|/mapper/mpdisk.*|", "r|.*|" ]

If you have other devices that should be used for volume groups, these 
would have
to be added as well. It is sometimes a bit of an experiment. Chnage the 
config file,
run vgscan and look at /etc/lvm/.cache which devices are used...

Stefan

SW Linux on zSeries Development & Services
Stefan.Bader@xxxxxxxxxx
----------------------------------------------------------------------------------
  When all other means of communication fail, try words.

dm-devel-bounces@xxxxxxxxxx wrote on 27.10.2005 13:41:04:

> On Thu, 2005-10-27 at 10:58 +0200, Stefan Bader wrote:
> > We got something similar here. Try to change the filter rules to 
exclude 
> > the
> > volume group devices. What you want is the devices created by the
> > multipath-tools included but not the devices created by lvm2.
> > Otherwise the tools will have the lv open at the time they should be
> > removed.
> > 
> > Stefan Bader
> 
> Stefan,
> 
> Could you post your filter example so Phil and I can integrate it into
> our lvm.conf?  Thanks!
> 
> /Brian/
> 
> -- 
>        Brian Long                      |         |           |
>        IT Data Center Systems          |       .|||.       .|||.
>        Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
>        Phone: (919) 392-7363           |   C i s c o   S y s t e m s
> 
> --
> 
> dm-devel@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/dm-devel

--

dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux