Red Hat Bugzilla – Bug 439205
emergency mode shows wrong LVM mount state
Last modified: 2008-04-28 06:02:45 EDT
Description of problem:
When booted in emergency runlevel, the LVM partitions are mounted, but mount
shows incorrect mount state as RW.
So, you can't also use any of lvm-tools at they try to lock into /var/lock/lvm,
which is not writable.
Version-Release number of selected component (if applicable):
boot in emergency mode runlevel with LVM arrays
mount shows incorrect RW for LVM arrays, while it is mounted RO
You can only manipulate lvm arrays with lvm tools by remounting rw
mount / -o remount,rw
mount(8) reads /etc/mtab, when the root partition is read-only this file can't
be updated to fit reality. In particular case, mount(8) output is useless...
I don't see a simple way how to fix this problem. I hope we will remove the mtab
file from Linux one day (but it's long-term task).