Portal Home > Knowledgebase > Articles Database > Q: e2fsck, filesystem problem (raid)


Q: e2fsck, filesystem problem (raid)




Posted by hbhb, 03-03-2010, 11:15 PM
Hi, I have a raid1 server which has 3 hdd /dev/sda /dev/sdb these 2 hard drive is configured as raid1 (using intel onboard h/w raid) /dev/md1 /dev/sdc is my backup drive Now the server faces file system problem. On a normal server , i usually do e2fsck -y /dev/sda2 So how do I fix it on Raid? I tried to run e2fsck -y /dev/md1 and reboot, it doesn't work I tried e2fsck -y /dev/sda it says device is busy, mounted by another program.

Posted by MammothVPS, 03-04-2010, 01:40 AM
The short answer is that you've already tried the right thing, which is e2fsck -y /dev/md1 Can you paste the output of that command, and the error on boot?

Posted by hbhb, 03-04-2010, 01:56 AM
there isn't any error. it says node check check & fixed. so i run init 6 and it still gives me same issue. so i tried to login as root and remount -t ext2 -o /dev/md1 / then i rename/etc/fstab as /etc/fstab_backup so i run init 6 again to reboot and yes it went well but actually not, because i couldn't ssh into my server until now user@xxx.xx.xx.xx's password: stdin: is not a tty [hang here]

Posted by hbhb, 03-04-2010, 03:15 AM
anyone here has experience on this?? looking for the solution to bring this up immediately. thanks

Posted by hostechsupport, 03-04-2010, 03:27 AM
Contact us and we will give a try to this. MSN: hostechsupport@hotmail.com Aol: htsupport Yahoo: hostechs Skype: hostechsupportech Gtalk: hotectech

Posted by erectvps, 03-04-2010, 05:05 AM
You need to use a KVM to do this from single user mode before everything else starts up

Posted by david510, 03-04-2010, 07:52 AM
We need to check if the raid is getting initialized using the raid controller. You can do it from the console. For formatting you can use the command below.

Posted by MammothVPS, 03-04-2010, 08:34 PM
It sounds to me like the filesystem has been corrupted in a way that fsck could not automatically fix. Do you have a bunch of stuff under /lost+found ?



Was this answer helpful?

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

Also Read
Recommendation? (Views: 682)
Hazenet down again? (Views: 792)


Language: