baker7 Posted February 18, 2009 Report Share Posted February 18, 2009 (edited) I turned off the server the other day, and Now I cant mount the drives at all: I need to know how to repair all of my filesystems because they were not clean....Does anyone know how to easily repair the drives?? I want to scan them all and fix them, but i need to mount /dev/sda2 and fsck said it couldnt read block 32781. Is there a way to repair this bad block so I can remount the drive and move my files, or at least repair it until I can get a replacement drive for the server?? I want to remount all drives and I think /dev/sda2 is the one who is stopping the worksBrian Edited July 16, 2009 by baker7 Quote Link to post Share on other sites
shanenin Posted February 19, 2009 Report Share Posted February 19, 2009 you could always try spinrite. That program has worked wonders for mehttp://www.grc.com/sr/spinrite.htm Quote Link to post Share on other sites
baker7 Posted February 19, 2009 Author Report Share Posted February 19, 2009 Shanenin:Problem is I dont think I can download anything to the drive, and I would need step by step instructions to correct the problem on the bad block - this is the first time this has happened to me I thought fsck would fix all drives for me, but maybe I do not know how to do it Brian Quote Link to post Share on other sites
shanenin Posted February 19, 2009 Report Share Posted February 19, 2009 spinrite runs from a live disc. So long as your computer can boot from a cdrom it will work. The only down side it its cost. Quote Link to post Share on other sites
iccaros Posted February 20, 2009 Report Share Posted February 20, 2009 what is the file system type.. and can you post the error (this is remote right?)you may have to go to a backup superblock if its ex2 or ext3 trymke2fs -n /dev/sda2you can not fsck a mounted drive.. Quote Link to post Share on other sites
iccaros Posted February 20, 2009 Report Share Posted February 20, 2009 if you have another computer on that network you could http://homepage.hispeed.ch/py430/knoppix/index.htmlboot knoppix or any other bootable cd from grub, but you need another system with tftp Quote Link to post Share on other sites
iccaros Posted February 20, 2009 Report Share Posted February 20, 2009 e2fsck -cy /dev/<drive>should fix bad blocks Quote Link to post Share on other sites
baker7 Posted February 21, 2009 Author Report Share Posted February 21, 2009 Talked to D(an) at D&K this afternoon, who installed the debiian (elive) and he says that this server is RAID, so he said that he would look at this, as he believes that all I wouild have to do is to go into the raid array program to fix the drives, as they are hot swappable - I don't really want to do much more fixes on this until he looks at the situation - which means he will also take care of the Horrible fan Buzzing that is happening because of the casing.Will keep you advised.Brian Quote Link to post Share on other sites
baker7 Posted July 16, 2009 Author Report Share Posted July 16, 2009 (edited) Hello Everyone This week, I was informed that my debian 4.0 (Etch) loaded server had suffered a failure because the RAID card inside had a dead battery, which caused the RAID Array to forget about the drives that were connected to it, so Dan replaced the RAID card in my server with one from one of the several his, and when I arrived, he had already had started the process of rebuilding the array - after several attempts to rebuild it, I just relented and reinstalled Debian.This tme, I am using Debian 5.0 (Lenny Stable) and have installed it with as much of the older stuff that I can, and I have also installed webmin 1.480 for admin tasks as I find it easier to do some of the tasks using it. Dan and I configured it so that I can VNC into the machine at this time, and I can run web services on port 80, and as I continue, I will be able to shell into her when the proper ports are forwarded. So, at least I know what caused the problem - Now I Just want to make sure I have everything installed and working correctly in Lenny - I will keep everyone advised as I continue on Brian SPLIT THIS POST INTO 2 POSTS BECAUSE IT WOULD BE EASIER TO GET ASSISTANCE WITH THE NEWEST PROBLEM IN A NEW POST ~ Brian Edited July 19, 2009 by baker7 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.