deasmi
Dabbler
- Joined
- Mar 21, 2013
- Messages
- 14
When troubleshooting some performance issues I added a log volume to one of my ZFS pools.
If relevant this is running as a VM in ESXi.
Pool drives are connected via direct path I/O on LSI card
Log drive is a VMWare virtual disk ( I know, that's why it needs to go )
zpool remove vol1 da1
And after a few seconds the prompt comes back
However volume is still there !
I'm clearly doing something very thick, if someone could tell me what I'd be very grateful.
If relevant this is running as a VM in ESXi.
Pool drives are connected via direct path I/O on LSI card
Log drive is a VMWare virtual disk ( I know, that's why it needs to go )
So I issue afreenas# zpool status
pool: vol1
state: ONLINE
status: The pool is formatted using a legacy on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on software that does not support feature
flags.
scan: scrub repaired 0 in 2h47m with 0 errors on Sun Nov 3 02:47:46 2013
config:
NAME STATE READ WRITE CKSUM
vol1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/f3c13654-844d-11e2-b543-005056b32aa7 ONLINE 0 0 0
gptid/f4087e3d-844d-11e2-b543-005056b32aa7 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/0e55d215-844e-11e2-b543-005056b32aa7 ONLINE 0 0 0
gptid/0e8dfc82-844e-11e2-b543-005056b32aa7 ONLINE 0 0 0
logs
da1 ONLINE 0 0 0
errors: No known data errors
zpool remove vol1 da1
And after a few seconds the prompt comes back
# spool history vol1
..
2013-11-10.09:59:40 zpool remove vol1 da1
However volume is still there !
freenas# zpool status vol1
pool: vol1
state: ONLINE
status: The pool is formatted using a legacy on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on software that does not support feature
flags.
scan: scrub repaired 0 in 2h47m with 0 errors on Sun Nov 3 02:47:46 2013
config:
NAME STATE READ WRITE CKSUM
vol1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/f3c13654-844d-11e2-b543-005056b32aa7 ONLINE 0 0 0
gptid/f4087e3d-844d-11e2-b543-005056b32aa7 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/0e55d215-844e-11e2-b543-005056b32aa7 ONLINE 0 0 0
gptid/0e8dfc82-844e-11e2-b543-005056b32aa7 ONLINE 0 0 0
logs
da1 ONLINE 0 0 0
errors: No known data errors
freenas#
I'm clearly doing something very thick, if someone could tell me what I'd be very grateful.