freenas-deluxe
Dabbler
- Joined
- Nov 23, 2013
- Messages
- 17
Hi.
Scenario:
I run two 2TB Disks as a mirror-0, they form my pool "tank" (which is obviously 2GB in size).
Now both Disks started showing errors, so I bought two 3TB drives to replace them.
My idea was:
What I actually did is:
Now I find no way of removing the newly formed mirror-1 from the pool.
How can I remove the empty and new drives from the pool without destroying it?
zpool history tank shows:
2015-07-20.18:46:56 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 314245607353256281
2015-07-20.18:46:56 zpool set cachefile=/data/zfs/zpool.cache tank
2015-07-20.18:47:48 zfs set mountpoint=legacy tank/.system
2015-07-21.19:27:11 zpool add -f tank mirror /dev/gptid/b4580a46-2fcd-11e5-af9d-3cd92b06cdcb /dev/gptid/b51e45b8-2fcd-11e5-af9d-3cd92b06cdcb
# zpool status -v tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 5h57m with 0 errors on Sun Jul 19 08:57:31 2015
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/e41b2476-22bd-11e2-ac2d-3cd92b06cdcb ONLINE 0 0 0
gptid/e4c521be-22bd-11e2-ac2d-3cd92b06cdcb ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/b4580a46-2fcd-11e5-af9d-3cd92b06cdcb ONLINE 0 0 0
gptid/b51e45b8-2fcd-11e5-af9d-3cd92b06cdcb ONLINE 0 0 0
errors: No known data errors
Scenario:
I run two 2TB Disks as a mirror-0, they form my pool "tank" (which is obviously 2GB in size).
Now both Disks started showing errors, so I bought two 3TB drives to replace them.
My idea was:
- make a mirror-1 from both 3TB drives
- make a mirror-2 from mirror-0 and mirror-1
- remove mirror-0 from mirror-2
- throw away the old disks.
What I actually did is:
- extend my pool "tank" to 5GB by adding mirror-1 to the pool.
Now I find no way of removing the newly formed mirror-1 from the pool.
How can I remove the empty and new drives from the pool without destroying it?
zpool history tank shows:
2015-07-20.18:46:56 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 314245607353256281
2015-07-20.18:46:56 zpool set cachefile=/data/zfs/zpool.cache tank
2015-07-20.18:47:48 zfs set mountpoint=legacy tank/.system
2015-07-21.19:27:11 zpool add -f tank mirror /dev/gptid/b4580a46-2fcd-11e5-af9d-3cd92b06cdcb /dev/gptid/b51e45b8-2fcd-11e5-af9d-3cd92b06cdcb
# zpool status -v tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 5h57m with 0 errors on Sun Jul 19 08:57:31 2015
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/e41b2476-22bd-11e2-ac2d-3cd92b06cdcb ONLINE 0 0 0
gptid/e4c521be-22bd-11e2-ac2d-3cd92b06cdcb ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/b4580a46-2fcd-11e5-af9d-3cd92b06cdcb ONLINE 0 0 0
gptid/b51e45b8-2fcd-11e5-af9d-3cd92b06cdcb ONLINE 0 0 0
errors: No known data errors
Last edited: