I believe I just messed up my pool...(Help)

Status
Not open for further replies.

junior466

Explorer
Joined
Mar 26, 2018
Messages
79
I was having a few problems with my boot drive recently and ended up with a few checksum errors in my pool. After a clean install on a new drive, I discovered one my disks weren't displaying the correct gptid. I tried detaching the disk and re-attaching it through the gui but now something is not quite right.

This is before:

Code:
  scan: scrub repaired 0 in 0 days 03:14:46 with 0 errors on Fri Jul  6 23:22:55 2018

config:


   NAME											STATE	 READ WRITE CKSUM

   N40L											ONLINE	   0	 0	 0

	 mirror-0									  ONLINE	   0	 0	 0

	   gptid/580a487a-3089-11e8-9559-e8393525e018  ONLINE	   0	 0	 0

	   gptid/58f59e3c-3089-11e8-9559-e8393525e018  ONLINE	   0	 0	 0

	 mirror-1									  ONLINE	   0	 0	 0

	   gptid/59dc617e-3089-11e8-9559-e8393525e018  ONLINE	   0	 0	 0

	   da0p2									   ONLINE	   0	 0	 0


Now this is after. There are no degraded warning and the overall pool is HEALTHY but I know I messed up somewhere.

Code:

	NAME											STATE	 READ WRITE CKSUM

	N40L											ONLINE	   0	 0	 0

	  mirror-0									  ONLINE	   0	 0	 0

		gptid/580a487a-3089-11e8-9559-e8393525e018  ONLINE	   0	 0	 0

		gptid/58f59e3c-3089-11e8-9559-e8393525e018  ONLINE	   0	 0	 0

	  gptid/59dc617e-3089-11e8-9559-e8393525e018	ONLINE	   0	 0	 0

	  gptid/db0fbea8-820e-11e8-a7c7-74867ad78670	ONLINE	   0	 0	 0



This is what I see in the GUI:

Screen Shot 2018-07-07 at 2.35.32 PM.png
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
You striped in the detached mirror disk. Only option now is to destroy the pool and reload from backup. You cannot remove a vdev once it’s a member of the pool. So; (1) save your stuff (2) rebuild the pool as mirror vdevs (3) reload the pool from backup.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I appears you striped both of your drives from mirror-1. And yes you did mess it up as you can lose your entire pool if one of those drives fails. The only way to fix it is to destroy your pool and rebuild.
 

junior466

Explorer
Joined
Mar 26, 2018
Messages
79
Just finished rebuilding and restoring.

Thanks everyone for your help!
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Only option now is to destroy the pool and reload from backup.

Well, the other option is to add two more disks to mirror the stripes

I fix the original problem by offlining a disk, wiping it, then replacing the off lined disk with the same disk

The key is to wipe the disk ;)
 
Status
Not open for further replies.
Top