[CentOS] lvm and /dev/cdrom: open failed: No medium found

Robert Heller heller at deepsoft.com
Tue Nov 9 08:57:01 EST 2010


At Tue, 09 Nov 2010 14:26:44 +0100 CentOS mailing list <centos at centos.org> 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                

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


                                                                                                     


More information about the CentOS mailing list