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

Re: [dm-devel] LVM2, RHEL 4 update 2: can't remove logical volume



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 de ibm com
----------------------------------------------------------------------------------
  When all other means of communication fail, try words.

dm-devel-bounces redhat com 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 mailing list
> dm-devel redhat com
> https://www.redhat.com/mailman/listinfo/dm-devel


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