Re: vgscan & CDROM

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

 



Le 28.08.2005 13:07:37, Fredrik Tolf a écrit :
On Sun, 2005-08-28 at 12:17 +0200, Chris Osicki wrote:
> Hi
>
> I seam not to be able to convince vgscan to let my cdroms alone.
> In the file /etc/lvm/lvm.conf I have this filter:
>
> [ "r|/dev/cdrom.*" ]

Try it without the dot:
[ "r|/dev/cdrom*" ]
  [ "r|/dev/cdrom*|"] maybe ?

You can even be more restrictive/explicit:
filter = [ "r|/dev/cdrom*|", "r|/dev/cdrw*|", "r|/dev/dvd*|", "r|/dev/hd[ab]|" ]

(my drives are /dev/hda and /dev/hdb)

The /dev/cdrom* devices don't usually contain a dot, unless you've
changed your udev rules. Judging from your output of `vgscan -v -v',
however, it seems that you haven't done so.

Hope it helps,
Fredrik Tolf

Jean-Luc

Attachment: pgpNNDaQfJme8.pgp
Description: PGP signature

_______________________________________________
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