Title: LVM Mistake - How to recover

You can use the sed line mode edit command to modify fstab, or link the disk containing /etc from another Linux instance, and vi it from there. I would try sed first, after making a backup copy of course.

 

-----Original Message-----
From: VM/ESA and z/VM Discussions [mailto:[EMAIL PROTECTED] On Behalf Of KEETON Dave B
Sent: Wednesday, March 01, 2006 7:40 PM
To: VMESA-L@LISTSERV.UARK.EDU
Subject: LVM Mistake - How to recover

 

Greetings List-ers,

        I seem to have painted myself into a corner. I'm hoping someone on the list has either seen this before, or knows how to recover.

I'm running SLES9 under z/VM 5.1. I needed to add a couple of MOD3's so I could set up an LVM volume, so I configured the available DASD in USER DIRECT, committed the changes with DIRECTXA and brought up the guest. In YaST, under SLES9, the LVM module could see the DASD that I added, so I added it to the logical volume. I applied the changes and set a mount point. When I applied those changes and went to leave, it complained that the DASD was invalid and that I needed to reboot. After doing so, I am unable to boot normally (invalid file system bring the system to a screeching halt); I'm stuck booting to Single-User mode. I need to get into the /etc/fstab file and edit out the line for the logical volume mount, but I can't seem to figure out how to edit the file… vi will not work through the console and since I am in single-user mode, networking is not available.

Any suggestions on how I can edit the file and comment out (or delete) the erroneous line in /etc/fstab?

Many thanks,

Dave Keeton
Systems Analyst
Oregon Dept. of Transportation
z/VM Mainframe & Enterprise Linux
955 Center Street NE
Salem, OR 97301
(503) 986-3199

Reply via email to