[OmniOS-discuss] zfs export with iscsi always showing resource bussy

Muhammad Yousuf Khan sirtcp at gmail.com
Mon Sep 23 09:58:50 UTC 2013


just playing with ZFS for learning and i have couple of Iscsi and NFS
enabled on zfs pool named acipool.
when ever i tried to export the pool for testing purposes it says. "pool is
bussy"

actually i am testing multiple scenarios in one go.
i have replace the drives with bigger ones and want to check if
autoexpend=on is working. though it is not working automatically. so some
where in google it is written that, force online the devices with -e option
and export then import will do that job. and also do not want to delete the
Iscsi Zvol because, i do not want data loss. and i also want to try the
import tool said by ZFS that it will auto import the whole raid with out
problem with all the data in it. so just wana try that magice. but for now
i am stuck at the point where i can not export pool.

i disabled iscsi service
disabled       14:13:35 svc:/network/iscsi/initiator:default
disabled       14:13:45 svc:/network/iscsi/target:default


i tired this but no help
root at omni:/export# zpool export acipool
cannot export 'acipool': pool is busy
root at omni:/export# zpool export -F acipool
cannot export 'acipool': pool is busy
root at omni:/export# zpool export -f acipool
cannot export 'acipool': pool is busy


here is my zfs list

root at omni:/export# zfs list
NAME                                       USED  AVAIL  REFER  MOUNTPOINT
acipool                                    197G   258G  25.0G  /acipool
acipool/aci-nfs                           47.8K   258G  47.8K
/acipool/aci-nfs
acipool/cmdiscsi                          2.71G   258G  44.8K  none
acipool/cmdiscsi/iTarget                  2.71G   258G  2.71G  -
acipool/cmdnfs                             169G   258G   169G
/acipool/cmdnfs
acipool/iscsi                             79.2K   258G  55.3K
/acipool/iscsi
acipool/iscsi/testdot                     23.9K   258G  23.9K  -
rpool                                     28.1G  8.30G    39K  /rpool
rpool/ROOT                                20.1G  8.30G    31K  legacy
rpool/ROOT/napp-it-0.9b3                  17.3G  8.30G  18.6G  /
rpool/ROOT/netatalk-3.0.4                 2.71G  8.30G  1.58G  /
rpool/ROOT/omnios                         3.41M  8.30G  1.62G  /
rpool/ROOT/omnios-backup-1                  41K  8.30G  1.41G  /
rpool/ROOT/omniosvar                        31K  8.30G    31K  legacy
rpool/ROOT/pre_napp-it-0.9b3                41K  8.30G  1.40G  /
rpool/ROOT/pre_netatalk-3.0.4_1378473769    52K  8.30G  1.48G  /
rpool/dump                                6.00G  8.30G  6.00G  -
rpool/export                                63K  8.30G    32K  /export
rpool/export/home                           31K  8.30G    31K  /export/home
rpool/swap                                2.06G  10.4G  4.93M  -


any idea?

Thanks,
Myk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130923/1776bf8c/attachment.html>


More information about the OmniOS-discuss mailing list