Unable to replace drive

Status
Not open for further replies.

Mark Groves

Cadet
Joined
Mar 21, 2015
Messages
2
Hello all,

I have a drive within my ZFS pool that has failed completely.

NAME STATE READ WRITE CKSUM

shares DEGRADED 0 0 0

raidz2-0 DEGRADED 0 0 0

12759939877090648600 UNAVAIL 0 0 0 was /dev/gptid/c56de884-7289-11e4-99b1-984be106c0a8

gptid/c6a9a2cf-7289-11e4-99b1-984be106c0a8 ONLINE 0 0 0

gptid/c7e85c55-7289-11e4-99b1-984be106c0a8 ONLINE 0 0 0

gptid/c8bbff06-7289-11e4-99b1-984be106c0a8 ONLINE 0 0 0

ada0 ONLINE 0 0 0

15760170102184025554 OFFLINE 0 0 0 was /dev/gptid/cb1541d5-7289-11e4-99b1-984be106c0a8

gptid/66935e0b-fcda-11e4-b772-984be106c0a8 ONLINE 0 0 0

cache

gptid/c575e650-72ad-11e4-bf86-984be106c0a8 ONLINE 0 0 0


errors: No known data errors


The Drive is offline. But when I remove the shutdown, remove the drive, then replace it with another 2TB drive. The Pool is missing.

Does anyone have any ideas?

Thanks
Mark
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Did you follow the directions for replacing a failed drive?

Please post full hardware details and other relevant information per forum rules.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
Could you repost your zpool status inside code tags? That is, put [ code ] (without the spaces) before it, and [ /code ] (again, without the spaces) after? That preserves formatting so we can get a better idea of what it's saying. It's looking like there are already two failed drives in your pool, which puts you in a perilous position (no redundancy left). Is it possible you're disconnecting the wrong drive when you're shutting down the system? Do you have enough SATA ports to plug in the new disk without unplugging anything?

It also looks like you've done some CLI jiggery-pokery with your pool, since one of the disks is listed as just ada0 rather than the gptid. This can be dangerous, though I don't think it's the cause of your immediate troubles.
 

Mark Groves

Cadet
Joined
Mar 21, 2015
Messages
2
I figured out what is going on. I some how made a mistake and the drive that is failing is somehow part of a stripe. I'm still working on getting more details, but that is why when I physically remove the drive the whole pool goes away.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
In the short term, if you have a spare SATA port, you can replace the drive "in place"--you don't have to offline it first. If you don't have a spare SATA port, you might even be able to use a USB enclosure or something similar, though we don't really like using USB to attach hard drives. In the long term, to correct this, you're probably going to need to destroy and rebuild the pool.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I figured out what is going on. I some how made a mistake and the drive that is failing is somehow part of a stripe. I'm still working on getting more details, but that is why when I physically remove the drive the whole pool goes away.

I figured something like that because I also saw ada0 listed as a device, which means you not only didn't follow the manual's procedure for disk replacement, you actually made things harder (and worse) on yourself.
 
Status
Not open for further replies.
Top