tune2fs: No such device or address while trying to open /dev/sda1
Hi,
Last night, OSSEC sent me some warning emails related to bad hard disk: Code:
Apr 3 20:26:58 207 kernel: sd 0:0:0:0: SCSI error: return code = 0x06000000 Code:
Apr 3 21:57:52 207 kernel: EXT3-fs error (device sda1): ext3_get_inode_loc: unable to read inode block - inode=299533439, block=599064613 Code:
Apr 3 20:26:48 207 kernel: aacraid: Host adapter abort request (0,0,0,0) Code:
Apr 3 20:33:48 207 kernel: aacraid: Host adapter abort request (0,0,0,0) Code:
Apr 3 20:44:18 207 kernel: aacraid: Host adapter abort request (0,0,0,0) I'm going to run `fsck` on this device follow the steps below: Quote:
Code:
# tune2fs -O ^has_journal /dev/sda1 P/S: This disk has been used about for 1 year. My system requires high read/write intensity, should I change to SSD? |
It looks like the drive is pretty close to dead. An SSD will give you higher IO rates but it has a definite life span. Platter drives typically have a sort of bathtub curve for failure rates. A certain percentage die off in the first year (infant mortality), then for the next year the failure rate is low. But starting in the third year the failure rate starts climbing again. Anyway, it may be worth looking into a RAID setup since you know you'll be beating the drives up. Software RAID may be a good, cost-effective solution (mdadm). With RAID, at least when a drive fails you can just replace it and the array will rebuild without any real downtime.
Anyway, if you want to dig deeper into this particular drive failure, check out the smartctl command if you have it installed. But definitely try to back up as much as possible as this drive is toast. |
All times are GMT -5. The time now is 12:55 AM. |