-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
For some time now server3 has 2 unreadable (pending) sectors. This is good, because it means the problem is not growing and we can keep those disks. But this should still be fixed.
This message was generated by the smartd daemon running on:
host name: server3
DNS domain: cloyne.org
The following warning/error was logged by the smartd daemon:
Device: /dev/twa0 [3ware_disk_13], 2 Currently unreadable (pending) sectors
Device info:
ST3750640NS, S/N:3QD0B5XJ, FW:3.AEE, 750 GB
So the issue here is that disk detected two sectors to be bad. This is why they are pending. You should resolve those pending sectors and get disk to remove them from use and replace them with space sectors. The process is a bit involved, but it is fun:
- you first remove the offending disk from the RAID (you leave the other mirror disk in RAID, so there is no service disruption)
- once out of RAID, you override the whole disk (
ddtool) with write blocks of size equal to disk blocks with zeros - once you override an offending sector with zeros, disk knows what is the right content of that sector and swaps the spare sector in, lowering this count (and probably increasing "uncorrectable" count)
- then you have to reformat disk back for mdn RAID (
fdisktool) - and reattach it back to RAID so that mirror is restored and original data is copied back
I suggest you go through and figure our all commands to do this and then log them here.