I suddenly started getting errors when copying files to my external hard drive. There is plenty of free space: 1.64TB free of 3.63TB. I was able to complete the file copy by doing one of two things:
- Deleting some large files from the external hard drive, first
- OR putting the HDD in a different USB enclosure
In addition, the Windows 8 error checking tool fails with an error unless a different USB enclosure is used (deleting large files does not help in this case). The CHKDSK command-line tool always works and reports no errors on the disk.
How do I confirm the USB HDD enclosure was the problem? (I would like to confirm the problem was not with my hard drive and it is safe to continue using.) And how can I determine the capacity supported by a USB HDD enclosure?
detailed info:
The error when copying a large file:
- The code 0x80070057 seems to be a fairly generic code.
- Right after getting this error, I successfully copied a 2GB file. I tried copying the same file again (for 4TB total) and get the same error.
- In the system event logs, this seems to be logged each time a copy fails: "The shadow copies of volume D: were aborted because of an IO failure on volume D:."
Windows 8 error checking tool error:
- After failing it opens up the Windows event viewer with some error related to the volume shadow copy. (Forgot to record the details about this one)
Hardware:
- Enermax Jazz 3.5 USB HDD enclosure (This one causes errors; it's quite an old model.)
- Leto DATACLONE3.0 USB HDD dock (This one seems to have no errors; much more recent model.)
- Western Digital 4TB GREEN hard drive WD40EZRX
File system:
- GPT (2TB MBR drive was cloned to 4TB drive, then partition table converted to GPT)
- NTFS
System:
- Windows 8
- Lenovo X1 Carbon laptop
update: More details from "The shadow copies of volume D: were aborted..." logged event:
System - Provider [ Name] volsnap - EventID 14 [ Qualifiers] 49158 Level 2 Task 0 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2015-01-24T21:23:54.296013300Z EventRecordID 1063256374 Channel System Computer X1-Carbon Security - EventData \Device\HarddiskVolumeShadowCopy6 D: D: 0000000003003000000000000E0006C00A0000000D0000C002000000000000000000000000000000
update 2:
Error mounting the 4TB drive in Ubuntu with the dock that works from Windows:
Error mounting /dev/sdc1 at /media/daniel/DeskStar: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdc1" "/media/daniel/DeskStar"' exited with non-zero exit status 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read NTFS $Bitmap: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
The drive isn't listed in in fdisk -l
, so can't try dd
...
I tried hooking back up to Windows: no problem; Windows disk properties error checking tool reports no errors.
Also:
Tried using dd
on the (problem?) enclosure with a different 2TB hard drive:
- No error reading
skip=0
- No error reading
skip=SOMEWHERE_NEAR_MIDDLE_OF_DRIVE
- Errors reading sectors at end or near end of drive:
daniel@computer:~$ sudo dd bs=512 if=/dev/sdb1 of=test skip=3907026942 count=1 dd: ‘/dev/sdb1’: cannot skip: Invalid argument 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000210598 s, 0.0 kB/s
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SPP
, new DWORD namedCreateTimeout
, value 12000000(2*10*60*1000 = 20 mins) in decimal, then reboot.