The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Boot Problem

Discussion in 'General Discussion' started by daveharris, May 28, 2006.

  1. daveharris

    daveharris Member

    Joined:
    Apr 15, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. daveharris

    daveharris Member

    Joined:
    Apr 15, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I can get to the console but can not get a read write mount can you help more?
     
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    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.
     
  5. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  6. daveharris

    daveharris Member

    Joined:
    Apr 15, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  7. daveharris

    daveharris Member

    Joined:
    Apr 15, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the assistance
    Problem Solved

    Many thanks to the guys at 49pence.com
     
  8. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    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. :)
     
Loading...

Share This Page