0

I have a problem with drive cloning. Im using dd on damaged disk with bad sectors trying to make an image from it. Im booting computer with Live Linux CD .

Damaged disk: sda 146GB (NTFS) External drive: sdb 300GB (NTFS)

After running the command below im running out of space on disk sdb.

dd if=/dev/sda of=/media/sdb1/hdd.img bs=4096 conv=noerror,sync

The question is why im running out of space on disk sdb ?

UPDATE: There is 300 GB of free space on partition sdb1

Alan
  • 403
  • 2
  • 11

2 Answers2

2

/dev/sdb is a device special that represents the disk drive; it isn't a filesystem, but you've tried to use it as one.

Instead, try this:

dd if=/dev/sda of=/dev/sdb bs=4096 conv=noerror,sync
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
  • I dont want to clone drives one to one, i want to clone sda to image file (because sdb is USB disk drive). Im changing the question since it could be misunderstood. – Alan Sep 07 '12 at 09:36
0

I'm not sure, but it looks to me like a problem in NTFS driver (problem with large files).

Did you mount the NTFS partition using ntfs-3g? Also, could you provide us with full dd output?

Hubert Kario
  • 6,361
  • 6
  • 36
  • 65