[CentOS] lvm and /dev/cdrom: open failed: No medium found
heller at deepsoft.com
Tue Nov 9 13:57:01 UTC 2010
At Tue, 09 Nov 2010 14:26:44 +0100 CentOS mailing list <centos at centos.org> wrote:
> every lvm command gives one line with:
> /dev/cdrom: open failed: No medium found
> I looked at
> 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?
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.
> CentOS mailing list
> CentOS at centos.org
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