On Wed, 2007-08-01 at 16:44 -0500, Jonathan Brassow wrote: > On Aug 1, 2007, at 4:19 PM, Phillip Susi wrote: > > > Jonathan Brassow wrote: > >> I'm not aware of a mechanism that LVM used to skip over owned > >> devices... there may exist one. However, you could use lvm > >> filters to skip those underlying devices. > >> brassow > > > > LVM filters? > > Look in /etc/lvm/lvm.conf for "filter". There are some examples > there. Be careful though, if you exclude your root partion you may > be in for future pain. > To avoid this problem, put your root disk at the start of the filter with a "a" (like "a|/dev/sda.*|"), and have the "r"ejects after it. Basically, when a device is found, the filter is walked from left to write and action is taken when the first match happen. IOW, all your scsi disks will be "r"ejected with the following filter, ["r|/dev/sd.*|", "a|/dev/sdgp.*|", "a|/dev/sdgo.*|", "a|/dev/sda.*" ] in effect the later "a"ccepts are useless. > brassow > > -- > dm-devel mailing list > dm-devel@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/dm-devel -- ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@xxxxxxxxxx | .......you may get it. ---------------------------------------------------------------------- -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel