Hi - the ext4 partition had large_file set, but not huge_file. Changed with tune2fs; all working!
# umount /dev/sdc1 # tune2fs -O ^large_file huge_file /dev/sdc1 Thanks for your time, James On 2 Apr 2012, at 15:20, James Wilson wrote: > Hi, > > I'm using and RPM of ddrescue obtained from: > > http://www.cert.org/forensics/tools/centos/cert/6.2/x86_64/ddrescue-1.15-1.el6.x86_64.rpm > http://pkgs.repoforge.org/ddrescue/ddrescue-1.15-1.el6.rf.x86_64.rpm > > This is on CentOS 6.2, 2.6.32-220.7.1.el6.x86_64 > > I have a 3TB Western Digital SATA drive, directly connected, recovering to an > image. The image is being written to a 8.2TB ext4 partition. The disk is > from a WD USB enclosure, that is also failing, hence the direct connection. > The WD enclosures encrypt the disk by default, hence the raw recovery. On > reaching a recovery image size of 2TB, ddrescue fails: > > # ddrescue -B -v -n -T --block-size=4KiB /dev/sda ./sda.dd > ./ddrescue_logfile_LOCAL.log > > GNU ddrescue 1.15 > About to copy 2793 GiBytes from /dev/sda to ./sda.dd > Starting positions: infile = 0 B, outfile = 0 B > Copy block size: 16 sectors > Sector size: 4096 Bytes > Max retries: 0 > Direct: no Sparse: no Split: no Truncate: no > > Press Ctrl-C to interrupt > Initial status (read from logfile) > rescued: 1688 GiB, errsize: 69052 KiB, errors: 17263 > Current status > rescued: 1688 GiB, errsize: 69052 KiB, current rate: 0 B/s > ipos: 2047 GiB, errors: 17263, average rate: 0 B/s > opos: 2047 GiB, time from last successful read: 1 s > Copying non-tried blocks... > ddrescue: write error: File too large > > The ext4 filesystem has the "large_file" option enabled. The actual size of > the image on failure: > > 1.7T -rw-r--r-- 1 root root 2.0T Apr 2 12:37 sda.dd > > -rw-r--r-- 1 root root 2199023251456 Apr 2 12:37 sda.dd > > Is this a limitation of ddrescue? Any assistance would be appreciated. > > Kind regards, > > James > > _______________________________________________ > Bug-ddrescue mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-ddrescue _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
