How to Zero Out a Disk Using Larger Block Sizes?

SavorySilicon

Senior Member
Joined
Jan 28, 2020
Messages
111
Hello, my goal is to replace all bytes on a disk with 0s with a single pass. I have done this many times, but yesterday, I read that I can do it faster with a larger block size 4096. My understanding is, if I use Diskpart or other terminal program to format the entire disk slowly, it will replace all the bytes with 0s.
If I specify a larger block size, such as 4096, 64K, 2M, will it still replace every byte with a 0? Thank you everyone.
 
Solution
Specifying block size is just telling it how much data to write at once. Picking a block size larger than the default will speed it up. 4096 should be fine. There isn't usually going to be that much an improvement going larger than like 32K
Specifying block size is just telling it how much data to write at once. Picking a block size larger than the default will speed it up. 4096 should be fine. There isn't usually going to be that much an improvement going larger than like 32K
 
Solution