I am using an external 1 TB WD hard drive with Advanced Format (4096 bytes sector size). What is the recommended value for the bs option in dd? Should I use dd bs=4096? And if I get this value "wrong" is there any data problem that could appear or is this option only in terms of speed?
Also I am securely wiping the hard drive, could I not fully wipe the drive if I am using the bs option?
Sector size (logical/physical): 512 bytes / 4096 bytes
1 Answer
A block size between 4096 and 512K should suffice.
A bs smaller than than the physical sector would be horribly slow.
More than 128 times the sector size is also a waste since the ATAPI command set cannot handle such a large transfer.
And if I get this value "wrong" is there any data problem that could appear or is this option only in terms of speed?
If it's too small (i.e. less than the logical sector size), then there could be issues. Otherwise it's a speed optimization.
Also I am securely wiping the hard drive, could I not fully wipe the drive if I am using the bs option?
As long as you use a reasonable value for bs, then there should be no issues.
3