Re: Bad blocks on IDE drive (newbie question)
From: Tim Judd (tjudd01_at_hotmail.com)
Date: 06/27/04
- Next message: Tim Judd: "Re: disklabel: partition X: partition extends past end of unit"
- Previous message: Syn NOSPAM: "disklabel: partition X: partition extends past end of unit"
- In reply to: Matt Bostock: "Bad blocks on IDE drive (newbie question)"
- Next in thread: Matt Bostock: "Re: Bad blocks on IDE drive (newbie question)"
- Reply: Matt Bostock: "Re: Bad blocks on IDE drive (newbie question)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Jun 2004 15:45:08 -0600
Matt Bostock wrote:
> Hi,
>
> I'm using an old Pentium 200MHz for use as a development web server on
> my home network. I've installed OBSD with no problems. I have some
> experience with Linux OSes and found various commands to recognise bad
> blocks etc. I've search the web for equivalents for OBSD but found no
> definite or comprehendable answer (considering my lack of knowledge of
> OBSD).
>
> 1) How can I check for and mark bad blocks on IDE hard disks in OBSD?
> 2) Are bad blocks defined on formatted partitions, in the MBR, by the OS
> drivers, or elsewhere, or a combination? If a disk is formatted, does it
> lose the list of badblocks? And if its partitions are manipulated, does
> it lose the list? And is the list of bad blocks cross-platform (the disk
> used to be used by Windows95)?
>
> I can't afford to buy a new HDD right now so this is my only option.
>
> Many thanks,
> Matt :)
>
> PS Is there an FAQ for this group?
As I recall, the bad blocks are marked by the format process. FAT/FAT32
marks in it's File Allocation Table (hence, FAT) that sector xxxx is
bad. The MBR marks "Partition one starts here, ends here and is of this
filesystem." I doubt the OS has anything to do with it. I think the OS
asks to write a file to disk, and the Filesystem checks the FAT before
writing to a bad cluster.
I have absolutely NO CLUE how OBSD marks bad clusters/blocks/sectors.
I'd get a new drive to put OBSD on anyway, but you said you can't get
one now. OK, so get a used one from salvation army, go to
http://www.streetprices.com/ or the like for inexpensive devices. Don't
forget to check http://www.resellerratings.com/ to check their repitoire
before laying money down.
HTH
- Next message: Tim Judd: "Re: disklabel: partition X: partition extends past end of unit"
- Previous message: Syn NOSPAM: "disklabel: partition X: partition extends past end of unit"
- In reply to: Matt Bostock: "Bad blocks on IDE drive (newbie question)"
- Next in thread: Matt Bostock: "Re: Bad blocks on IDE drive (newbie question)"
- Reply: Matt Bostock: "Re: Bad blocks on IDE drive (newbie question)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|