I tried to attach a 1TB WD Passport external and got the message:
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
I decided to run the following command:
sudo dd if=/dev/zero of=/dev/sdc bs=2048; sync
It's been running for 2 days straight and haven't completed
Did I use the wrong command to fix the block size? If so, how can I safely exit and start over?
I would like to use the external drive to transfer and store files from different systems
edit: Since I wasn't sure if interrupting would be bad, I let it finish but got error
dd: error writing '/dev/sdc': No space left on device
Note: several people marked this as exact duplicate and linked to article but that's not what I'm looking for. Not looking to create live usb.
dd bs=
does not change the block size of the (physical or logical) drive. It just means thatdd
copies data in blocks of (here 2048) Bytes. So, your command says: "Fill the whole disk/dev/sdc
with zeroes, buffering 2048 Bytes each write" - this might run for days for 1 TB, as there are 536870912writes
. – ridgy May 14 '17 at 10:40