I have connected a WD30EZRX WD Green HDD to a Thermaltake Blacx Duet 5G USB dock (similar linked, for example) in Ubuntu 12.04. Every thing seems fine until the HDD idles, when it seems to have cause the following error:
ls: reading directory .: Input/output error
This is only remedied by unmount and remount of the drive (typically as root). I have the following line in /etc/fstab
UUID=AAF670E9F670B6E3 /media/3TB ntfs defaults,user,auto 0 0
I have noticed that it seems to migrate between /dev/sdc2 and /dev/sdd2 devices on remount.
I did copy 1TB last night without issue in 1 sitting. But after x mins of idle it has the issue again.
Any tips/suggestions on how to proceed would be appreciated. Solutions specific to the hardware are optimal, but solutions to the larger problem are also appreciated.
Edit (tried as suggested):
root@mediaserver:/media/3TB# sudo hdparm -B 255 -S 253 /dev/sdd2
/dev/sdd2:
setting Advanced Power Management level to disabled
HDIO_DRIVE_CMD failed: Input/output error
setting standby to 253 (vendor-specific)
APM_level = not supported
Seems as if that didn't help with this particular drive.