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

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



Am 09.11.2010 14:57, schrieb Robert Heller:
> At Tue, 09 Nov 2010 14:26:44 +0100 CentOS mailing list<centos@xxxxxxxxxx>  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: hda:DMA, hdb:pio
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@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