DaffyDuke
Cadet
- Joined
- Nov 30, 2014
- Messages
- 3
While I was trying to replace a failed device, I forced something I should not, but I thought warning message was just a confirmation needed, not a real message to not do what I was trying to .....
Now, I have a zpool with
3 devices in a raiz (and one failed, OFFLINE now)
1 device in a stripe (that should replace failed one).
NAME STATE READ WRITE CKSUM
freenas DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
14657110215957473015 OFFLINE 0 0 0 was /dev/gptid/3b8a732e-85b7-11e3-9acb-28924a2b0273.eli
gptid/35167f0a-ab80-11e2-a3b8-28924a2b0273.eli ONLINE 0 0 0
gptid/35d05556-ab80-11e2-a3b8-28924a2b0273.eli ONLINE 0 0 0
gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli ONLINE 0 0 0
errors: No known data errors
And I can not replace hard drive now, here is some tries :
[root@freenas] /data# zpool remove freenas 14657110215957473015
cannot remove 14657110215957473015: only inactive hot spares, cache, top-level, or log devices can be removed
[root@freenas] /data# zpool offline freenas gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
cannot offline gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli: no valid replicas
[root@freenas] /data# zpool offline -t freenas gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
cannot offline gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli: no valid replicas
[root@freenas] /data# zpool replace -f freenas 14657110215957473015 gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
invalid vdev specification
the following errors must be manually repaired:
/dev/gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli is part of active pool 'freenas'
What should I do ?
Now, I have a zpool with
3 devices in a raiz (and one failed, OFFLINE now)
1 device in a stripe (that should replace failed one).
NAME STATE READ WRITE CKSUM
freenas DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
14657110215957473015 OFFLINE 0 0 0 was /dev/gptid/3b8a732e-85b7-11e3-9acb-28924a2b0273.eli
gptid/35167f0a-ab80-11e2-a3b8-28924a2b0273.eli ONLINE 0 0 0
gptid/35d05556-ab80-11e2-a3b8-28924a2b0273.eli ONLINE 0 0 0
gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli ONLINE 0 0 0
errors: No known data errors
And I can not replace hard drive now, here is some tries :
[root@freenas] /data# zpool remove freenas 14657110215957473015
cannot remove 14657110215957473015: only inactive hot spares, cache, top-level, or log devices can be removed
[root@freenas] /data# zpool offline freenas gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
cannot offline gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli: no valid replicas
[root@freenas] /data# zpool offline -t freenas gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
cannot offline gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli: no valid replicas
[root@freenas] /data# zpool replace -f freenas 14657110215957473015 gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli
invalid vdev specification
the following errors must be manually repaired:
/dev/gptid/e2548ef4-78c4-11e4-8c3a-28924a2b0273.eli is part of active pool 'freenas'
What should I do ?