daveharris

Member
Apr 15, 2006
5
0
151
I run cpanel on FC4 and have two hard drives sda1 and sdb1 the sdb1 drive has one mount for backups /backup, this dive has failed and I can not get it replaced for a couple of days.

My problem is that when I boot the server I get --

fsck.ext3: No such file or directory while trying to open /dev/sdb1
/dev/sdb1:
The Superblock could not be read........

*** An error occured during the file system check.


Now I know that this is the failed drive that does not exist any longer and it does show in /etc/fstab

But.. I can't edit fstab because I get a read only file system error

Does anyone have any ideas?

A slightly panicing newbie.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
you may need to boot into single user mode in order to fix the issue. Your data center might be able to help you out if you have no physical access to the server via local console.
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,134
1
168
New York
daveharris said:
I can get to the console but can not get a read write mount can you help more?
Have you tried to force it to read/write, "mount -f /dev/xxx /whatever"

you might have to umount and then mount with the force, edit the fstab and then reboot, but remember this is dangerous.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
the drive is failing if you are getting the read only file system message. I would recommend of replacing the drive as soon as possible. You may remove / comment out the line in /etc/fstab for the backup drive, shutdown the box and replace the fail drive with a new drive and format the drive again as /backup.

If you wish to continue to use the drive, you may try running the fsck to see if it is able to fix the drive.
 

daveharris

Member
Apr 15, 2006
5
0
151
The problem is I cant get any write access to the fully functional drive I get read only filesystem errors?

Therfore I can't write changes to the fstab file

Can I force a mount in read write mode that includes /etc/fstab and edit the file if so how?
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
perhaps you may post on the thread on how the issue is resolved so others may get benefit on it if similar case is encountered by them. :)