I just made a huge mistake with dd while trying to copy the data from a DVD archive to my hard drive. (I was getting read errors using cp, so I wanted to see if 'dd' would work.) Anyway, I did "sudo dd if=/dev/hdd of=/dev/hda9", and now I think I may have wiped out my hda9 partition.
'df'
before my screw-up showed hda9 as:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/hda9 22G 13G 8.2G 61% /storage
'df' now shows:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/hda9 16T 16T 0 100% /storage
which I don't understand. (What does the 16T mean?) The DVD I was attempting to copy from was 4.4GB, and the hda9 partition was 22GB. Has the entire partition been overwritten? 'df' is saying that usage is 100%, but there doesn't appear to be anything there at all. ('ls' returns nothing.) BTW, dd completed with:
Code:
657340+0 records in
657340+0 records out
Could someone please help me understand what I've done, and if there's anyway to undo it? Thanks in advance...