FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-09-2010, 12:26 PM
Rainer Traut
 
Default lvm and /dev/cdrom: open failed: No medium found

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?

Rainer
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-09-2010, 12:57 PM
Robert Heller
 
Default lvm and /dev/cdrom: open failed: No medium found

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

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



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-09-2010, 02:16 PM
Rainer Traut
 
Default lvm and /dev/cdrom: open failed: No medium found

Am 09.11.2010 14:57, schrieb Robert Heller:
> At Tue, 09 Nov 2010 14:26:44 +0100 CentOS mailing list<centos@centos.org> wrote:
>
>>
>> every lvm command gives one line with:
>> /dev/cdrom: open failed: No medium found

...

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

I'm running C5 as a VMware esxi guest.

[root@backup ~]# ll /dev/cdrom
lrwxrwxrwx 1 root root 3 3. Nov 13:04 /dev/cdrom -> hda
[root@backup ~]# dmesg |grep hda
ide0: BM-DMA at 0x10c0-0x10c7, BIOS settings: hdaMA, hdbio
hda: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
hda: ATAPI 1X DVD-ROM DVD-R-RAM CD-R/RW drive, 32kB Cache, UDMA(33)

> Are any of your LVM volumes on IDE drives?
No.

> 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.

I now have
filter = [ "r|/dev/hda|", "r|/dev/cdrom|", "a/.*/" ]

So far it seems to work...

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

Thread Tools




All times are GMT. The time now is 06:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org