Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a hard disk mounted using fstab like so:
/dev/sdd1 /media/DATA_TWO ext4 defaults,errors=remount-ro 0 2
Occasionally after resuming from hibernate, the /media/DATA_TWO folder appears empty and I cannot write to the drive. When I use Disk Utility to refresh SMART data, I get this error:
Error retrieving ATA SMART data: helper failed with exit code 1: Failed to check if disk /dev/sdd is awake: Operation not supported
I see this error in dmesg:

[19659.651976] sd 4:0:0:0: [sdd] Unhandled error code
[19659.651977] sd 4:0:0:0: [sdd]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[19659.651980] sd 4:0:0:0: [sdd] CDB: Read(10): 28 00 00 03 04 00 00 04 00 00
[19659.651985] end_request: I/O error, dev sdd, sector 197632

If I touch /media/DATA_TWO/testfile I get this error:
touch: cannot touch '/media/DATA_TWO/testfile': Read-only file system
and this error in dmesg:

[19782.065457] Buffer I/O error on device sdd1, logical block 0
[19782.065459] lost page write due to I/O error on sdd1
[19782.065478] EXT4-fs error (device sdd1): ext4_find_entry:934: inode #2: comm touch: reading directory lblock 0  

If I reboot, the drive is accessible again. What could be happening?

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 16:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.