System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Moving around in Maintenance mode?

SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Moving around in Maintenance mode?

Hi,

My Linux RHAS4 went into maintenance mode. I had to reboot and access to the maintenance mode. I am at the (Repair Filesystem) 1# prompt. I would like to comment out one of the SAN disks. What is the command to vi the fstab in the /etc directory??

Please help!!

Thanks,

Jorge
2 REPLIES
Jorge Cocomess
Super Advisor

Re: Moving around in Maintenance mode?

I was able to vi /etc/fstab and comment out a local partition and reboot the server without too much trouble.

How do you repair a bad super block on a partition created in the LVM??

Help!!

Thanks,
Jorge
Hemmetter
Esteemed Contributor
Solution

Re: Moving around in Maintenance mode?

Hi Jorge,

supposed using ext3 filesystem:

try -n option for mkfs.ext(8) to seen what alternative superblocks may be there on your device.

Then try fsck -b aka e2fsck(8) with one of the mentioned superblocks.

good luck!

rgds
HGH