1
vote
0answers
411 views

Differences between hdparm --read-sector and dd with “Current Pending Sectors”

This was originally an "answer" to How to use hdparm to fix a pending sector? I'd been getting SMART notifications for the same "Current Pending Sector" for days. The dd solutions around weren't ...
0
votes
2answers
78 views

Cancel /dev/zero before it finishes?

To clear a large hard drive I was using dd if=/dev/zero of=/dev/sda. Only later I realized from reading more sources that the default block size is 512, and if I want the process to go quicker I ...
4
votes
3answers
624 views

Recovering with DDRescue Cannot Complete (write error: Read-only file system)

I'm trying to recover a corrupt VDI using vdfuse to mount the VDI and using dd_rescue to rescue the borked partition. dd_rescue seems to be working fine but once it reached about half of the ...
5
votes
3answers
5k views

dd on entire disk, but do not want empty portion

I have a disk, say /dev/sda. Here is fdisk -l: Disk /dev/sda: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
8
votes
2answers
936 views

How can I split a drive image created with 'dd' into separate files for each partition?

I created an image of a failing drive with: dd if=/dev/sde of=/mnt/image001.dd The drive had only two partitions: Device Boot Start End Blocks Id System /dev/sde1 * ...
0
votes
0answers
177 views

Running dd from Ubuntu live, it goes to sleep

I needed to clone a hard drive, so I bought the exact same model that I have and stuck it into the computer. I put Ubuntu live on a flash drive and boot up from it. I check with sudo fdisk -l that I ...
-1
votes
1answer
81 views

How does this benchmark calculation work?

I am testing disk I/O performance on a server of mine, which will eventually run Postgresql. I am following this web site to perform my benchmarks. The benchmark consists of running dd and ...
1
vote
1answer
92 views

Cloning a two partition HDD onto a smaller HDD and maintaining MBR

I have a hard disk(A) containing two partitions - A1 is a NTFS partition containing a windows OS, and A2 is an NTFS partition containing data. I want to copy both of these partitions onto a different, ...
0
votes
1answer
118 views

Does writing many times to a HDD cause early failiure

How many times could i run something like dd if=/dev/urandom/ of=/dev/sda before the hdd starts to suffer? I thought in a modern hard drive the head doesn't touch the platter, but i am still not ...
0
votes
3answers
706 views

SME Server: How do I do nightly Ghost-like backups?

I need to drop another hard drive into my company's SME Server-powered fileserver and figure out a way to do a nightly clone backup of the entire filesystem so that, if the hard drive fails, I can ...
0
votes
1answer
872 views

Clone disk with dd, and change blocksize?

I need to clone my 300GB disk to 500GB disk with dd, but the old disk (300GB) has too *big block size. Will this change the block size of output partition too? I understod that obs only meant to be ...
1
vote
5answers
598 views

I mistakenly `dd if=/floppy-image of=/dev/sda` and erased my entire partition

I think I have just made the worst mistake one can made - please help me recovering from it. A guy from another room came over said to me this is a BIOS update (or something similar) for the new ...