Bug 231960 - /etc/lvm/.cache file contains /dev/cdrom and other readonly devices.
/etc/lvm/.cache file contains /dev/cdrom and other readonly devices.
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Feeney
Corey Marthaler
: Reopened
Depends On:
Blocks: 223278
  Show dependency treegraph
Reported: 2007-03-13 04:27 EDT by Shyam kumar Iyer
Modified: 2010-01-11 22:49 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-11 10:54:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Shyam kumar Iyer 2007-03-13 04:27:10 EDT
Description of problem:
/etc/lvm/.cache file contains /dev/cdrom and other readonly devices. Because 
of this lvdisplay throws up errors on the console and dmesg. The errors seen 
are like this -
"ide: failed opcode was: unknown
hda: packet command error:  status=0x51 { AbortedCommand SeekComplete Error }
hda: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Perform CD install.
2.Issue lvscan command or lvdisplay command.

 Actual results:
Read only errors and other errors mentioned in the described in the 
description are observed in the dmesg.

Expected results:
/etc/lvm/.cache should not contain devices like /dev/cdrom.

Additional info:
On issuing vgscan the cache file gets regenerated and does not contain 
the /dev/cdrom devices. This solves the issue.
Comment 1 Shyam kumar Iyer 2007-03-16 06:30:35 EDT
Please replicate the documentation for rhel5 also as mentioned in this 
knowledgebase article.
Comment 3 Charles Rose 2007-06-07 00:48:44 EDT
A document fix as mentioned in Comment #1 would suffice to close this issue.
Comment 4 Charles Rose 2007-08-02 09:33:31 EDT
Larry, Please document this issue in a kbase article.
Comment 5 Larry Troan 2007-08-29 13:56:55 EDT
Per comment #1, this is already a KBase article:

I've requested that the article include RHEL5 (rather than just RHEL4).
Comment 6 John Feeney 2007-11-01 17:10:14 EDT
It looks to me as though the RHEL4 kbase article was been updated to reference
RHEL5, too. (Thanks Larry and Gary.) I would ask Dell to make sure it meets
their expectations and if so, we can close this one out. 
Comment 7 Shyam kumar Iyer 2007-11-02 08:14:47 EDT
Yes, the kbase satisfies the expectations.
Comment 8 John Feeney 2007-11-02 10:32:21 EDT
Okay, closing it. 

Note You need to log in before you can comment on or make changes to this bug.