Date: Fri, 25 Jul 2003 09:31:07 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Alfonso Romero <ibac@prodigy.net.mx> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: marking bad blocks on a hard disk drive Message-ID: <20030725092138.W92896-100000@hewey.af.speednet.com.au> In-Reply-To: <002501c35218$51d7dd60$0100a8c0@ibacsoft.dynu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfonso Romero wrote: > I=B4m installing FreeBSD 4.8 on a 8GB HDD, but it has some bad sectors. > How can I tell FreeBSD not to use these bad sectors? Like others have said, your disk is dying and is untrustworthy for holding critical data. But no one has answered your question yet, so I will :) I also have a 8gig drive with bad blocks on it. I only use it on a scratch box for testing -current. I don't trust it at all, and will toss it in the bin as soon as it plays up again. After running various formatters and scanners, I identifyied where the bad sectors were on the disk, around the 6gig mark on mine. The bad section was about 20-30MB long. Knowing this, I can now setup partitions around the bad bit. I created a 5.5 gig partition 1, a 1 gig partition 2 (the bad bits), and 1.5 gig partition 3. Hope that helps. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725092138.W92896-100000>