I have two 4 TB USB drives in a mirrored zpool running on Debian 7.2. About once a week, the zpool will go into a degraded state with the following error:

status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: http://zfsonlinux.org/msg/ZFS-8000-4J
  scan: resilvered XXXK in 0h0m with 0 errors on [date]

        NAME                                       STATE     READ WRITE CKSUM
        my-zpool-name                              DEGRADED     0     0     0
          mirror-0                                 DEGRADED     0     0     0
            scsi-SSeagate_Backup+_Desk_MaNA5R1GNK  UNAVAIL      4     1     0  corrupted data
            scsi-SSeagate_Backup+_Desk_MaNA5R1GNP  ONLINE       0     0     0

In once instance, there was no corrupted data.

In all instances, the device was never unplugged from my system. The zpool will stay in the degraded state until I do a "zpool clear my-zpool-name", at which point it will resilver and its state will be "ONLINE" again. It always happens to the same device.

Any idea what could be causing this? Could it be that one of my USB drives is defective and needs to be replaced? I'm still quite new to ZFS so any help will be much appreciated!

  • Just figured out the drive is failing... has tons of bad sectors. Will update with an answer as soon as stackexchange lets me. – GuyGizmo Jan 9 '14 at 6:03

Turns out the drive is failing. I did a scan using badblocks and it found tons of badblocks very quickly. Now I know what that looks like when the drive is part of a zpool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.