Portal Home > Knowledgebase > Articles Database > drive corrupt - should I ask for new drive or reimage?


drive corrupt - should I ask for new drive or reimage?




Posted by MrShoop, 07-09-2007, 05:52 PM
I have a dedicated box and I started getting Input/output errors today. I tried: # fsck fsck 1.40-WIP (14-Nov-2006) e2fsck 1.40-WIP (14-Nov-2006) /dev/hda2: recovering journal fsck.ext3: unable to set superblock flags on /dev/hda2 then I tried: # fsck -a -t ext3 /dev/hda2 fsck 1.40-WIP (14-Nov-2006) /dev/hda2: recovering journal fsck.ext3: unable to set superblock flags on /dev/hda2 My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host? Thanks!

Posted by ServerSurgeon George, 07-09-2007, 06:13 PM
Hi, First of all Input/Output errors can not be recovered using fsck Second, you should never run fsck on a mounted filesystem, you will damage it Yes, you need a replacement drive

Posted by Linuxsurgeon, 07-09-2007, 07:02 PM
The superblock contains information that is global to the entire filesystem, such as the total number of blocks, and the time of the last mount. You should contact your DC to run fsck, as it is not supposed to run on a mounted drive.

Posted by plumsauce, 07-10-2007, 01:26 AM
If you can get it, of course ask for a new drive. At least, if it does not get replaced and you have a failure soon after, you will be on record as having asked for it.

Posted by hbhb, 07-10-2007, 11:55 PM
Other than that, are they any other ways to check if a hard drive is having bad sectors?

Posted by ServerSurgeon George, 07-11-2007, 03:09 AM
why do you need more ways?

Posted by SparkSupport, 07-11-2007, 05:10 AM
unmount /dev/hda2 The command dumpe2fs will give you list of super blocks dumpe2fs /dev/hda2 |grep superblock try a superblock number from this e2fsck -b /dev/hda2



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
PHP & mySQL question (Views: 594)