[CentOS-virt] LVM Lockout

Wed Oct 14 17:19:15 UTC 2009
Jorick Astrego <jorick at netbulae.com>

It's really simple:

Boot Centos 5 CD

Start rescue mode by typing

# linux rescue

# sudo -i
# mkdir /mnt/root
# mount -t ext3 /dev/whatever /mnt/root
# nano /mnt/root/etc/fstab


Regards,

Netbulae
Jorick Astrego

Netbulae B.V.
Janninksweg 127
7513 DH Enschede

Tel. +31 (0)6  - 34 15 20 76
Fax. +31 (0)53 - 88 00 326

Email: jorick at netbulae.com
Site: http://www.netbulae.com




centos-virt-request at centos.org wrote:
> Send CentOS-virt mailing list submissions to
> 	centos-virt at centos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.centos.org/mailman/listinfo/centos-virt
> or, via email, send a message with subject or body 'help' to
> 	centos-virt-request at centos.org
>
> You can reach the person managing the list at
> 	centos-virt-owner at centos.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of CentOS-virt digest..."
>
>
> Today's Topics:
>
>    1. LVM Lockout (Ben M.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Oct 2009 08:17:28 -0400
> From: "Ben M." <centos at rivint.com>
> Subject: [CentOS-virt] LVM Lockout
> To: Discussion about the virtualization on CentOS
> 	<centos-virt at centos.org>
> Message-ID: <4AD5C158.9080207 at rivint.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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).
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
>
> End of CentOS-virt Digest, Vol 26, Issue 11
> *******************************************
>