LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Replaced Hard Drive, but RHEL4 still boots in RO Mode (https://www.linuxquestions.org/questions/linux-hardware-18/replaced-hard-drive-but-rhel4-still-boots-in-ro-mode-441947/)

sa10 05-05-2006 12:48 PM

Replaced Hard Drive, but RHEL4 still boots in RO Mode
 
All,
Hopefully someone may be able to point me in the right direction. I have 2 SCSI HD, 36GB & 73GB in 1 LVM Group. The other day 73 GB started booting in Read-Only mode, I did a HD Scan to find the the 73GB had bad sectors. I replaced the HD. (vgextend, pgmove from old drive to new, vgreduce, then removed the old hd)

When I boot up, the OS still boots in Read-only mode. I can boot into single user mode and I can boot (and mount the lvm) via a RHEL4 CD in Rescue Mode.

I have run fsck on the drive and it doesnt report any errors . Im not sure where to go from here. I can access all my data still.

Does anyone have an recommendations, I dont really want to format/reinstall if I dont have to.

Thanks,
John

xode 05-07-2006 12:00 AM

Where is the new 73GB hard drive mounted?

sa10 05-11-2006 08:09 AM

Solution
 
I fixed the problem and wanted to post what I had to do.

after looking at the dmesg, i noticed it kept dying when looking for the ext3 Journal.

I booted up with my RHEL4 Rescue cd and mounted my partition.
tune2fs -O ^has_journal /dev/VolGroup00/LogGroup00
unmounted the drive
e2fsck /dev/VolGroup00/LogGroup00
tune2fs -j /dev/VolGroup00/LogGroup00

and rebooted. System Booted up normally.

Thanks for everyones help on this!


All times are GMT -5. The time now is 04:32 AM.