Red Hat Bugzilla – Bug 215162
LVM tries to handle cdrom devices at startup
Last modified: 2013-02-28 23:04:22 EST
Description of problem:
LVM tries to handle CDROM devices at startup
Version-Release number of selected component (if applicable):
esp. rc.sysinit (line 449)
start the box
Steps to Reproduce:
i try to recall it from mind, cause no log entries.
Setting up Logical Volume Management: /dev/hdb: open failed: No medium found
Attempt to close device '/dev/hdb' which is not open.
No Volume Group found.
cat dmesg |grep hdb
ide0: BM-DMA at 0x2580-0x2587, BIOS settings: hda:DMA, hdb:DMA
hdb: HL-DT-STCD-RW/DVD DRIVE GCC-4243N, ATAPI CD/DVD-ROM drive
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, DMA
You can select filters in /etc/lvm/lvm.conf to skip scan cdrom device for volume
groups (an example is commented there).
(default is scan all block devices - due to possible change in configuration)
Second line (Attempt...) is bug fixed in LVM 2.2.07, already in rawhide, FC6
will be updated soon.
But should a default installation skip the cdrom by default?
Would involve the startup scripts determining which is the cdrom and updating
the filters to ignore it.