Skip to content

Device: /dev/twa0 [3ware_disk_13], 2 Currently unreadable (pending) sectors #114

@mitar

Description

@mitar

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 (dd tool) 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 (fdisk tool)
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions