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

Format/Erase PORTION of HDD

January 10th, 2020, 21:09

I have a few 2TB HDD's that have been installed in various machines over the years that has had personal files stored on them. These machines have long been sold/destroyed however I still have the HDD's. In the past i've used various hdd formatting tools to wipe drives in smaller size but the whole process just takes way too long to complete just one full pass, let alone multiple.

I am wondering if there is a tool available that will allow me to format only a portion of the HDD? For example, despite having 2Tb disks, i know that i never filled anymore than 200gb on any of these drives at any time, so i'd like to run a tool that will say, wipe the first 200gb only?

Is there something out there like that? i'd like to format and auction them off.

Re: Format/Erase PORTION of HDD

January 10th, 2020, 21:19

Create a 200GB partition, run a full format on that partition, and then delete that partition (initialise). You don't need any third party tool to do this.

Otherwise you could use "dd" under Linux to write zeros to the specified LBA range.

Re: Format/Erase PORTION of HDD

January 10th, 2020, 21:37

fzabkar wrote:Create a 200GB partition, run a full format on that partition, and then delete that partition (initialise). You don't need any third party tool to do this.

Otherwise you could use "dd" under Linux to write zeros to the specified LBA range.


Will the first method be safe enough destroy data?

I have used DD before, usually to format entire drives which take forever. I'm not sure how to set a specified LBA range, do you have any information on how to do this?

Re: Format/Erase PORTION of HDD

January 10th, 2020, 22:39

I am wondering if there is a tool available that will allow me to format only a portion of the HDD? For example, despite having 2Tb disks, i know that i never filled anymore than 200gb on any of these drives at any time, so i'd like to run a tool that will say, wipe the first 200gb only?

Even on an empty drive, new data is not necessarily written at the "beginning", it's quite unpredictable. You could open the drive with a hexadecimal editor like WinHex, scroll rapidly to see the areas containing "something" (instead of only 00 of FF bytes), define a block of data encompassing each area (ideally only one large area in the first few hundreds of GB), then fill that block with 00 bytes (with WinHex : "Edit" => "Define block", or right-click => "Beginning of block" / "End of block" ; "Edit" => "Fill block..."). But since zero-filling is an unattended operation, and is not that long for a 2TB drive (for 4TB drives or more it's another story), so unless you've got a dozen HDDs to re-sell, one has to wonder if it's worth the added tediousness for the sake of saving a few hours to get it done. And you don't need multiple passes — after a single pass of zero-filling noone on this forum or even at the CIA would be able to recover a single working file.

Will the first method be safe enough destroy data?

Depends... It's unlikely in this case if those drives were never filled, but for instance, on a Windows NTFS partition, the MFT itself (Master File Table) can contain files in their entirety, if they're small enough to fit inside their own MFT record (1024 bytes). And the MFT is not necessarily in one location, it can get fragmented, especially if a partition was used to store a very large number of small files (I had a kind of reversed situation where I thought I had recovered an area of interest plus the whole MFT on a failing 3TB HDD, but in fact there was a chunk of MFT near the middle, and yet another near the end). Or if at some point the drive had several partitions, there are remnants of data and remnants of MFT records at least at the beginning of each one of the former partitions.
Bottom line, if you do care about safety, a complete zero-fill is necessary and sufficient. If you don't care more so much as to do it properly, don't do it at all, most likely the buyer won't care either and start filling it right away (although, according to Murphy's law, shit tends to hit the fan more often in the vicinity of people not carrying an umbrella).

Re: Format/Erase PORTION of HDD

January 11th, 2020, 18:35

Create a 200GB partition, run a full format on that partition, and then delete that partition (initialise). You don't need any third party tool to do this.


this does not seem correct to me for 2 reasons:
- the data is not neccessarily written to the first 200GB
- full format does not do write test, only read, at least on windows.

best option is to run security erase. This may still take hours, but drive is clean after that.

pepe

Re: Format/Erase PORTION of HDD

January 11th, 2020, 20:20

I would recommand that tool: https://www.startech.com/de/en/HDD/Dupl ... SDOCK1EU3P

It dont consume so much energy, wipes quite fast and secure and don't take up a lot of space. Further it can generate a report if you need that for some documentation. And you can use it as regular Dock as well. But the best is - your PC is not locked up for 36h with DBAN!

If you want a faster procedure then 3 or 7 pass overwriting you can also do a secure erase if the drive support that!
Post a reply