Degraded Pool / Need to convert from stripe to mirror

Status
Not open for further replies.

svtkobra7

Patron
Joined
Jan 12, 2017
Messages
202
I have a perplexing issue where a ZPool Status Report / SMART Report show everything to be OK and then a few hours later I see read / write errors. Considering the SMART report showed the drive was OK, I tried to replace the disk with the same one, but it gave an error because an existing partition was found. Upon that erring, I tried to force it, but that didn't work. I ran a zpool detach which converted that mirror to a stripe. I ran a scrub and rebooted, now I need to figure out:
  • Does that drive really have errors, and
  • How to convert that stripe to a mirror
I've tried to be as prescriptive as possible with providing information below. Thanks for your help.

1. Volume Status: Prior to Issue
  • Tank1
    • mirror-2
      • da11p1 / da9p1
    • mirror-1
      • da6p1 / da4p1
    • mirror-0
      • da3p1 / da2p1
2. Volume Status: Scrub in Progress / Pre-Reboot
  • Tank1
    • stripe
      • da11p1
    • mirror-1
      • da6p1 / da4p1
    • mirror-0
      • da3p1 / da2p1
  • Volume Status - Pre-Reboot.jpg
3. Volume Status: Post-Scrub / Post-Reboot
  • Tank1
    • stripe
      • da10p1
    • mirror-1
      • da6p1 / da4p1
    • mirror-0
      • da3p1 / da2p1
  • Volume Status - Post-Reboot.jpg
Timeline of Events (Prior to Taking Any Action)
  • Monday @ 12:00 AM - ZPool Status Report
    • No Read / Write Errors
    • ZPool Status Report.jpg
  • Monday @ 12:00 AM - SMART Status Report
    • No errors logged
    • ZPool Status Report.jpg
  • Monday @ 3:29 AM - Tank1 Degraded
    • "The volume Tank1 state is DEGRADED: One or more devices are faulted in response to persistent errors. Sufficient replicas exist for the pool to continue functioning in a degraded state."
    • Read / Write Errors Shown in GUI
Action Taken
  • ZPool Status Confirms "DEGRADED" - See attached ZPool Status 1.txt
  • zpool detach Tank1 9422221597572091878
  • Initiated Scrub
  • ZPool Status Confirms "ONLINE" - See attached ZPool Status 2.txt
 

Attachments

  • SMART Status Report.jpg
    SMART Status Report.jpg
    113.1 KB · Views: 269
  • ZPool Status 1.txt
    3.2 KB · Views: 330
  • ZPool Status 2.txt
    1 KB · Views: 321

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
What a weird rendering bug:

upload_2017-9-6_16-38-46.png


Firefox on the left, Edge on the right.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Nope, 100%. Took me a week to get used to it some three years ago. Also happens when the window is shrunk down to mobile resolutions.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Not with the webGUI, but he could create the mirror via the command line. He'd need to search the forums for the commands.

zpool attach right?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Yes, but one needs to run a few other commands first.

There are several threads on the topic on the forum. It took a bit of searching to find the one I remembered - https://forums.freenas.org/index.ph...ol-to-change-existing-stripe-to-mirror.26326/

zpool attach right?

@svtkobra7 do you have an environment where you can test this? Like a VM, etc. I'd backup any critical data data first, since backing up and rebuilding your pool correctly like @m0nkey_ said is also an option.
 
Status
Not open for further replies.
Top