Article View: alt.comp.os.windows-11
Article #1489Re: PC says there are errors but scan can't find them.
From: Paul
Date: Wed, 02 Dec 2026 06:36
Date: Wed, 02 Dec 2026 06:36
178 lines
10638 bytes
10638 bytes
On Tue, 12/1/2026 6:25 PM, Java Jive wrote:
> On 2026-12-01 21:57, Herbert Kleebauer wrote:
>> On 12/1/2026 9:19 PM, Java Jive wrote:
>>
>>> budged on it. So I did an experiment with a spare HD, and found against
>>> my expectations that he was correct, formatting a HD within Windows is
>>> done by different routines than a floppy, and all that is rewritten are
>>> the sector addressing bytes, the data contents of each sector is left
>>> untouched.
>>
>> format /?
>>
>> and look at the options /p and /q
>
> I can only report what I observed, which is that I looked at hex dumps of the files area of a disk, performed a full format, not a quick one, then looked again at the original sectors, and the data was still there.
>
> It was quite a while ago, probably W2k. It may be that the format command has been upgraded since then. I don't recall seeing the /P switch before.
>
This is why diskpart has "clean" and "clean all".
These work on the entire disk, and do not erase a single partition.
Be careful with this, because it has no "Are you sure" check! It just executes.
The "clean" only removes MBR and 2xGPT. It completes in seconds.
The "clean all" zeroes every sector on the drive
(sectors which can currently be accessed by your access mode).
And don't you people have HxD installed ? If you elevate
it, it can examine your storage devices at physical level,
you can whip that scroll bar along and see exactly how
erased your quarry is. You don't have to guess at this stuff :-)
https://web.archive.org/web/20260508054918/https://mh-nexus.de/en/hxd/
Format in 1983, was low level format. The layout of drives
was dynamic, you could lay down a fresh pattern on the drive,
every bit of it. (You could change the interleave setting
of the disk this way. We changed our disks from 3 to 1 when
faster controllers showed up.) But, if the LLF did not run to
completion, the drive could be bricked and unusable.
Times changed, and suddenly the term "format" no longer meant the
same thing. Portions of drives today are "permanent" and any
operations you think you are carrying out are "selective". Only the
payload area of a sector is written, servo wedges and sector
headers are permanent. Modern drives don't LLF any more.
The (non-LLF) format command, tends to change things, but we have
to review what it does. It *doesn't* write all the sectors,
not ever... Format is *useless* if the police are kicking
in your door.
The command you want is Secure Erase, if the door is being kicked.
Secure Erase is a posted command, it runs every time the power
cable is connected, and it keeps track of what has been erased.
Pulling the power plug does not "remove" the command.
The drive flips back out of that mode, when the last sector is erased.
Normal USB sticks do not have Secure Erase, it's an ATA/SATA feature.
*******
Your options for format of a partition in Windows:
1) Prepare fresh metadata, maybe occupying 200MB of your 2TB drive.
The format command completes in seconds. It would take five hours
to write the drive from end to end. Obviously, any format command
that completes in seconds... cannot ERASE anything. Using Photorec
(win and linux), you could potentially recover files off here.
+-----------------------------------------------------+
| XXX | XXX is erased area (Windows)
+-----------------------------------------------------+ Dimensions only approximate
+-----------------------------------------------------+
| XXX X X X X X X X | (EXT4 on Linux for comparison)
+-----------------------------------------------------+ (Superblocks across surface...)
2) The format command also has a read-verify option. The command
runs for five hours. Clusters with bad CRC are added to $BADCLUS.
Big deal. BADCLUS is a BAD idea, because when you clone a disk
the $BADCLUS is cloned with it, and the metadata is not representative
of the health of the new drive. Consequently, if you're doing stuff
like this, yes, it indicates the health of the surface, but it is setting
you up for a fail-whale at clone time. You do not want $BADCLUS saved.
You want it reset, to represent the perfectly healthy state of the
new (clone) drive.
Since the five hours spent doing read-verify, does no writes,
this is five hours of your life wasted if you were expecting the
partition to be erased by a command that is taking five hours to run.
If you are doing read-verifies of these things, obviously no extra
erasure is happening. We're not winning by adding the bad-block scan.
+-----------------------------------------------------+
| XXX | Five hours wasted
+-----------------------------------------------------+
+-----------------------------------------------------+
| XXX X X X X X X X | and no extra erasure
+-----------------------------------------------------+
See, we really suck at erasing stuff. Read-verifies don't help.
The dd.exe (disk dump, third party) command can erase a thing. Partition, or disk.
These examples provided, as the Windows recipe with dd.exe takes a lot more
text to describe. I show this much, to show such a command has a "source"
of information (a supply of zeroes) and a destination (target device enumeration).
sudo dd if=/dev/zero of=/dev/sda2 # erase the first disk, and just partition 2
sudo dd if=/dev/zero of=/dev/sda # erase a whole first disk
Secure Erase can erase a thing (some SSD toolboxes have this). Does the whole disk.
Works for SSD and HDD. Takes five hours on HDD (like a Clean All would).
The diskpart "clean all" is the command you want, if you expect
hygiene. Open the device afterwards in HxD, give the scroll bar
a whirl, it's zeroed from end to end and as clean as a whistle.
Takes five hours and no progress bar. Open Task Manager, add
the write-bytes column, and view how close to 2TB you're getting,
as your progress bar kludge for monitoring the "clean all" command.
It will even erase my Linux disk example above :-) You can select
the Linux disk in Windows diskpart if you want, then erase it.
+-----------------------------------------------------+
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | Five hours later...
+-----------------------------------------------------+
I have to do this, after certain experiments here, to ensure that
a future experiment is not fouled up by left over metadata. Erasing
RAID metadata, requires some additional steps, if you were doing
RAID experiments and want to ensure no side effects later. If
you do a "clean all" on a RAID volume, the drives aren't converted
back to separate drives (un-RAIDed) by doing such a thing. You
have to change controllers (move disk from Intel port to AMD port
or Promise port), then run the "clean all" to remove the RAID
metadata as well.
It's funny, that parts of the diskpart (command line) disk manager,
insist on arguments such as "override" to get a destructive
command to execute. Whereas the "clean all", if you issue a
"clean all", it does NOT ask "are you sure?". It just does it.
I don't wanna hear a complaint of, "I listened to you, did a
clean all and the wrong disk got erased wah wah wah". Be careful
with this stuff. A typical erasure sequence is like this:
(administrator terminal)
diskpart
list disk # Compare disk numbers to Disk Management display
select disk 3 # Now, I'm getting ready to erase this disk.
list partition # OK, I'm checking. Does this partition setup look like disk 3 ?
# There is no going back, no Recuva, if we issue that next command...
# Compare the partition lineup to the Disk Management info.
clean all # Boom, five hours later, the 2TB HDD number 3 is erased.
# All the partitions are erased, every one of them.
quit
Doing that to an SSD, uses up 1/600th of its life. Do that 600 times,
the SSD is cooked (wear life used up). I typically do "clean" on SSD,
and "clean all" on HDD. I do my forensics experiments (where I want
to spot something) on HDD, so that wear life is not a problem.
My WD Black 500GB HDD has been erased five times in the last month.
USB sticks do not typically have wear leveling. And the life can be
as short as eight erasures, for trashy sticks. Don't be surprised,
if your favorite erasure recipe for a USB stick gets "stuck half way through"
when the USB stick dies on a Spiral Of Death (burns up all the spares
and exits stage left).
SLC USB stick 100,000 writes. Excellent lifespan. \___ Less available
MLC USB stick Also has high write count. Excellent lifespan. / at retail
TLC USB stick Low write count. Range from trashy to sorta OK.
Can be made from a half-good flash chip.
16GB is half of a 32GB chip. Or you get a whole 32GB chip.
Paul
Technical Details
Message-ID:
<11eoea5$2m0ej$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<mtgqgl5d5im578dgthd55ui1gmq76vif2p@4ax.com> <11el45t$11pio$1@dont-email.me> <4qi3umx05q.ln2@Telcontar.valinor> <11ena56$24v3j$1@dont-email.me> <11enfsa$283dd$1@dont-email.me> <11enl1s$2anh5$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul <nospam@needed.invalid> Newsgroups: alt.comp.os.windows-11 Subject: Re: PC says there are errors but scan can't find them. Date: Wed, 2 Dec 2026 01:36:53 -0500 Organization: A noiseless patient Spider Lines: 178 Message-ID: <11eoea5$2m0ej$1@dont-email.me> References: <mtgqgl5d5im578dgthd55ui1gmq76vif2p@4ax.com> <11el45t$11pio$1@dont-email.me> <4qi3umx05q.ln2@Telcontar.valinor> <11ena56$24v3j$1@dont-email.me> <11enfsa$283dd$1@dont-email.me> <11enl1s$2anh5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 02 Dec 2026 06:36:55 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2818515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180/FfgFNorABIZ7RnZ49InCOkI8tpDY0Q="; posting-host="e95e3d7dc7065dcb600124c740ee8f1c" User-Agent: THIS SPACE FOR RENT Cancel-Lock: sha1:bPMpMY6CsjG9UuCN6eF6421d87Y= sha256:JtDg6qx0EZDyYHnDtgmUB1mKrhT1M/6pG5LOKiT69BA= sha1:wwqB3xoMvMCTAX/Ffj9j00bBEwE= sha256:u72JPcRLjo7p1DzoHGzf5D8dDFuw16eeJAOWjkN+P/Q= Content-Language: en-US In-Reply-To: <11enl1s$2anh5$1@dont-email.me>