M
Miven
I have a 2TB WD MyBook 1110 plugged into my PC.
Code:
Bus 003 Device 006: ID 1058:1110 Western Digital Technologies, Inc.
Every PC in the house accesses it through NFS and it gets used quite heavily.
About twice a year something happens and the kernel remounts it read-only. I have to shut down nfs, umount it, and fsck it. This can take half a day on a drive of this size, especially when there's a ton of errors.
/var/log/messages:
Code:
Mar 12 12:54:06 timberwolf kernel: SCSI error : <0 0 0 0> return code = 0x8000002
Mar 12 12:54:06 timberwolf kernel: Current sda: sense key Hardware Error
Mar 12 12:54:06 timberwolf kernel: Additional sense: Internal target failure
Mar 12 12:54:06 timberwolf kernel: end_request: I/O error, dev sda, sector 113246271
Mar 12 12:54:06 timberwolf kernel: EXT3-fs error (device sda1): read_block_bitmap: Cannot read block bitmap - block_group = 432, block_bitmap = 1
4155776
Mar 12 12:54:06 timberwolf kernel: Aborting journal on device sda1.
Mar 12 12:54:08 timberwolf kernel: ext3_abort called.
Mar 12 12:54:08 timberwolf kernel: EXT3-fs abort (device sda1): ext3_journal_start: Detected aborted journal
Mar 12 12:54:08 timberwolf kernel: Remounting filesystem read-only
Mar 12 12:54:28 timberwolf kernel: EXT3-fs error (device sda1) in ext3_prepare_write: IO failure
Mar 12 12:54:28 timberwolf kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted
Mar 12 12:54:28 timberwolf last message repeated 7 times
Same stuff in syslog.
12:54 was when it got remounted RO, but it was behaving strangely a few hours before that. I was going through all my youtube crap and deleting most of it. All of a sudden it started taking a full minute to delete 2 files, when normally it would take less than a second.
In /var/log/kernel/warnings we have this:
Code:
Mar 12 05:04:14 timberwolf kernel: SCSI error : <0 0 0 0> return code = 0x8000002
Mar 12 05:04:14 timberwolf kernel: Current sda: sense key Hardware Error
Mar 12 05:04:14 timberwolf kernel: Additional sense: Internal target failure
Mar 12 05:04:14 timberwolf kernel: end_request: I/O error, dev sda, sector 123528519
So obviously something was starting to go wrong at 5:04 in the morning.
I can set up a cron job to watch /var/log/kernel/warnings for this kind of message, but what I'd really like is for a rude warning dialog to pop up on every workspace the instant this gets detected.
Is there some fairly simple way to accomplish this?
Peace and Cheer.
Continue reading...
Code:
Bus 003 Device 006: ID 1058:1110 Western Digital Technologies, Inc.
Every PC in the house accesses it through NFS and it gets used quite heavily.
About twice a year something happens and the kernel remounts it read-only. I have to shut down nfs, umount it, and fsck it. This can take half a day on a drive of this size, especially when there's a ton of errors.
/var/log/messages:
Code:
Mar 12 12:54:06 timberwolf kernel: SCSI error : <0 0 0 0> return code = 0x8000002
Mar 12 12:54:06 timberwolf kernel: Current sda: sense key Hardware Error
Mar 12 12:54:06 timberwolf kernel: Additional sense: Internal target failure
Mar 12 12:54:06 timberwolf kernel: end_request: I/O error, dev sda, sector 113246271
Mar 12 12:54:06 timberwolf kernel: EXT3-fs error (device sda1): read_block_bitmap: Cannot read block bitmap - block_group = 432, block_bitmap = 1
4155776
Mar 12 12:54:06 timberwolf kernel: Aborting journal on device sda1.
Mar 12 12:54:08 timberwolf kernel: ext3_abort called.
Mar 12 12:54:08 timberwolf kernel: EXT3-fs abort (device sda1): ext3_journal_start: Detected aborted journal
Mar 12 12:54:08 timberwolf kernel: Remounting filesystem read-only
Mar 12 12:54:28 timberwolf kernel: EXT3-fs error (device sda1) in ext3_prepare_write: IO failure
Mar 12 12:54:28 timberwolf kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted
Mar 12 12:54:28 timberwolf last message repeated 7 times
Same stuff in syslog.
12:54 was when it got remounted RO, but it was behaving strangely a few hours before that. I was going through all my youtube crap and deleting most of it. All of a sudden it started taking a full minute to delete 2 files, when normally it would take less than a second.
In /var/log/kernel/warnings we have this:
Code:
Mar 12 05:04:14 timberwolf kernel: SCSI error : <0 0 0 0> return code = 0x8000002
Mar 12 05:04:14 timberwolf kernel: Current sda: sense key Hardware Error
Mar 12 05:04:14 timberwolf kernel: Additional sense: Internal target failure
Mar 12 05:04:14 timberwolf kernel: end_request: I/O error, dev sda, sector 123528519
So obviously something was starting to go wrong at 5:04 in the morning.
I can set up a cron job to watch /var/log/kernel/warnings for this kind of message, but what I'd really like is for a rude warning dialog to pop up on every workspace the instant this gets detected.
Is there some fairly simple way to accomplish this?
Peace and Cheer.
Continue reading...