Date: Sat, 1 Apr 2000 10:41:44 +0200 From: "James A Wilde" <james.wilde@telia.com> To: "FreeBSD-questions" <freebsd-questions@freebsd.org> Subject: Bad block problem Message-ID: <000301bf9bb6$1c029e30$8208a8c0@iqunlimited.net>
next in thread | raw e-mail | index | archive | help
I have just discovered that my FBSD machine at home (3.1) has stopped working. When I reboot it takes me to single user mode and complains that there are problems on the hard disk. Running fsck on /dev/wd0s1a (/) results in the following message: wd0s1a: hard error reading fsbn 1496 of 1408-1519 (wd0s1 bn 1496; cn 0 tn 23 sn 47 status 59<rdy,seekdone,drq,err> error 40<uncorr>) CANNOT READ: BLK 1408 Okay, I get the message, but, is there any way I can mark the block as bad so that fsck leaves it alone and get fsck to recheck the / partition as good? I assume I must then find which file is corrupted as a result of not having block 1496 and replace the file. I hope it doesn't come to a reformat of the disk and reinstall. If so, is there any way I can save some of the stuff on there. I have ssh, ssh2, bind, samba, etc and I'd rather not have to d/l it all again. I have no backup unit on this machine. I do have a couple of Windows NT machines on the network. Is it, for example, possible to reinstall in such a way that the tar files on /usr are left intact? Or is there another way I can save these tar files on my network? I have another FBSD machine on a nearby LAN but I don't know if I can get to it in single user mode. I can clean and mount all partitions except root. Grateful for suggestions. mvh/regards James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bf9bb6$1c029e30$8208a8c0>