vgscan & CDROM

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

 



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.*" ]

when I run vgscan -v -v I see the following:


      /dev/cdrom1: size is 31244 sectors
  /dev/cdrom1: read failed after 0 of 2048 at 0: Input/output error
      /dev/cdrom1: size is 31244 sectors
      /dev/cdrom1: No label detected


I tried other variants of this filter without luck.
On the laptop I'm writing this message on it took several minutes for
vgscan to finish. On another PC it doesn't take that long but is
annoying. How do I convince vgscan not to scan those devices?
I tried also such a filter as test:

[ "r|/dev/pty.*" ]

it didn't work either.

I'm using 

  LVM version:     2.01.09 (2005-04-04)
  Library version: 1.01.00-ioctl (2005-01-17)
  Driver version:  4.4.0

I would be very thankful for any help.

Regards,
Chris

_______________________________________________
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