[CentOS-virt] LVM Lockout

Ben M. centos at rivint.com
Wed Oct 14 17:41:13 UTC 2009

Thanks, I am going to try this. I finally got in by disconnecting the 
new RAID1 (nv fakeraid) and then linux rescue could mount the drives and 
volumes, I deleted the fstab entry and I'm good again.

I'm gonna take one more shot at adding this additional storage and will 
try your suggestion if it happens again.

Are there any known issues with Xen/CentOS "standard" and adding new 
drives and dmraid "automagically" activating them?

I have to say my biggest mistake was trying to add the pv (hd) to the 
existing vgs so I could migrate some virtual machine to the other array.

Big mess.

Christopher G. Stach II wrote:
> ----- "Ben M." <centos at rivint.com> wrote:
>> Gack. I added an additional Raid1 pair to my machine just before I 
>> planned to bring it over to the office and I did something dumb and 
>> locked out.
>> I have the pv's, vg's and lv's cleared. All I need to do is get on
>> root 
>> and remove a line from fstab, but I can't get it out of read only mode
>> to save the edit.
>> My root login at "Repair Filesystem" seems unable to make the file 
>> writeable. I have done this in past with Knoppix, but can't seem to
>> file 
>> the utility to make the write editable (same with CentOS and other
>> live 
>> CD's, am downloading newer BackTrack now).
> The root filesystem's LV/device is not writable or your root filesystem is mounted read-only? If it's the latter, just ``mount -o remount,rw /''.

More information about the CentOS-virt mailing list