ubuntu - dd records in records out different
2014-04
user2213307
Simple question: is it OK if the output in dd
for "records in" and "records out" are different by 1? Or is this an indication that a disk error has occured?
96088211456 bytes (96 GB) copied, 873.174 s, 110 MB/s
188736492+0 records in
188736491+0 records out
I am outputting a device /dev/sda
to a file /media/ubuntu/HDD/backup.dd
Answers
Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.
Related Question
linux - Harddisk formatting with dd return error
usajbalt
I tried to format my harddisk (160 GB) with the following command
dd if=/dev/zero of=/dev/sda
After some 3 hours, following error came up:
dd: writing to '/dev/sda' : No space left on device
312581809+0 records in
312581808+0 records out
160041885696 bytes (160 GB) copied, 10708.3 s, 14.9 MB/s
Any idea what went wrong?
Related Answers
Journeyman Geek
well, if you wanted to wipe a disk 'shred' is the proper command. You'd then want to create partitions with fdisk, and use some variety of mk__fs (mke2fs etc) or parted to make a file system in the partition.
Hugh Allen
/dev/zero
is in principle infinite. /dev/sda
is not.