[CentOS] lvm and /dev/cdrom: open failed: No medium found
tr.ml at gmx.de
Tue Nov 9 10:16:56 EST 2010
Am 09.11.2010 14:57, schrieb Robert Heller:
> 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
> Two questions:
> Is your CD-ROM drive an IDE drive (/dev/hd<mumble>)?
I'm running C5 as a VMware esxi guest.
[root at backup ~]# ll /dev/cdrom
lrwxrwxrwx 1 root root 3 3. Nov 13:04 /dev/cdrom -> hda
[root at 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?
> 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...
More information about the CentOS