Re: lvm2 weirdness on software RAID5

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

 



On Wed, 2004-04-07 at 16:46, Michael Ossmann wrote:
<snip>
> Looks like lvm is configured to allow both /dev/md* and
> /dev/hd* as physical devices.  You probably want to limit it
> to /dev/md* so that it doesn't get confused by things it
> finds on the raw disk partition devices.  You can do this
> with:
> 
>   filter = [ "r|^/dev/hd*|" ]
> 

Ahh! Very interesting. I didn't see any mention of this in the HOWTO's
or anything, though I didn't look very hard.

> in the devices block of your /etc/lvm/lvm.conf.  If you do
> not have an /etc/lvm/lvm.conf, you can copy the sample
> config in the lvm2 distribution or create a fresh one with:
> 
>   # lvm dumpconfig > /etc/lvm/lvm.conf
> 
> You could also make the filter more specific if you want:
> 
>   filter = [ "r|^/dev/hdc*|" ]
> 

Note that lvm dumpconfig printed nothing. I used the example.conf from
the tarball and that worked perfectly.

Thanks.


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux