Re: lvm and /dev/cdrom: open failed: No medium found

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



At Tue, 09 Nov 2010 14:26:44 +0100 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> Hi,
> 
> every lvm command gives one line with:
> /dev/cdrom: open failed: No medium found
> 
> I looked at
> https://bugzilla.redhat.com/show_bug.cgi?id=431901
> 
> and changed filter in /etc/lvm/lvm.conf to
> filter = [ "r|/dev/cdrom|", "a/.*/" ]
> 
> then deleted cache /etc/lvm/cache/.cache
> 
> This seems to help, but after a while the message reappears.
> 
> Is there a way to get rid of it, because I'm making use of lvm with 
> snapshots very often?

Two questions:

Is your CD-ROM drive an IDE drive (/dev/hd<mumble>)?

Are any of your LVM volumes on IDE drives?

If all of your LVM volumes are on SATA (or SCSI), then you can tell LVM
to skip scanning the IDE devices (/dev/hd*).  Set your filter to reject
all IDE drives.

> 
> Rainer
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                

-- 
Robert Heller             -- 978-544-6933 / heller@xxxxxxxxxxxx
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                                                                     
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux