Switch to full style
Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

Is it possible to simulate/create bad sectors?

March 8th, 2012, 2:36

I know the question is a little out of the ordinary, but it is for testing purposes. So is is possible to simulate, or much better yet, create bad sectors on a hard drive? Like a low level erase of part of the disk? I am pretty sure it was possible on floppy disks, just wondering if there was a way to do it on a hard drive. Again, this is just for testing purposes, and would be done on an old drive that is not cared about.

Re: Is it possible to simulate/create bad sectors?

March 8th, 2012, 8:12

maximus wrote:I know the question is a little out of the ordinary, but it is for testing purposes. So is is possible to simulate, or much better yet, create bad sectors on a hard drive?

Assuming you're referring to (S)ATA... Not all (S)ATA disks support the related commands, but the typical answer is "yes" - depending on exactly what distinction you are making between simulate and create. Note that delibrately created bad sectors (sometimes called "soft bad") are not treated in exactly the same way by modern disks, as "real" bad sectors - hence why some people might call that simulation and not creation. However they do cause a UNC when they are read from, like a "real" bad sector would do.

Look at MHDD (from memory, the command is "makebad"), unless you're planning on writing your own software to do this.

Re: Is it possible to simulate/create bad sectors?

March 9th, 2012, 2:16

Thanks! That appears to be exactly what I was looking for. And it works on the drive I want it to (works so well I am writing 0's to the drive as I type this to get it back to life).

Re: Is it possible to simulate/create bad sectors?

March 9th, 2012, 8:42

maximus wrote:Thanks! That appears to be exactly what I was looking for.

You're welcome - I'm glad that works for you :)
Post a reply