RUN-VEE#zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
raghupool 8.38G 866M 7.53G 10% ONLINE -
RUN-VEE#
RUN-VEE#zpool destroy raghupool
cannot unmount '/raghupool/raghuzone-data': Device busy
could not destroy 'raghupool': could not unmount datasets
RUN-VEE#zpool status raghupool
pool: raghupool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
raghupool ONLINE 0 0 0
c3t3d0 ONLINE 0 0 0
errors: No known data errors
RUN-VEE#zpool detach raghupool c3t3d0
cannot detach c3t3d0: only applicable to mirror and replacing vdevs
RUN-VEE#
> RUN-VEE#zpool destroy raghupool
> cannot unmount '/raghupool/raghuzone-data': Device busy
> could not destroy 'raghupool': could not unmount datasets
Something probably is using that filesystem. Find it with fuser and
get rid of it.
Umount the filesystems using the pool
If you still cant destroy it after that you can force destroy it using
the -f option
zpool destroy -f raghupool
zpool destroy -f raghupool
> RUN-VEE#zpool destroy raghupool cannot unmount
> '/raghupool/raghuzone-data': Device busy could not
> destroy 'raghupool': could not unmount datasets
Is it being exported as an NFS filesystem? Try using
"lsof" or "fuser" to find out who/what is still using
it...
hth
t
Thanks to all for their input.