Hi,

 

I am running OpenSolaris 2009.06 snv_111b X86 and encountered some errors
when removing a dataset.but her eis the whole story:

 

I tried sharing a ZFS dataset via iscsi following the commands located on
http://docs.sun.com/app/docs/doc/820-2313/gechv?l=de
<http://docs.sun.com/app/docs/doc/820-2313/gechv?l=de&a=view> &a=view

 

Now I wanted to destroy the dataset and all I get is dataset busy:

 

r...@opensolaris:~# zfs destroy performance/iscsi

cannot remove device links for 'performance/iscsi': dataset is busy

 

I disabled the iscsi service and tried to remove the dataset again and the
same error message pops up:

 

r...@opensolaris:~# svcadm disable svc:/system/iscsitgt:default

r...@opensolaris:~# zfs destroy performance/iscsi

cannot remove device links for 'performance/iscsi': dataset is busy

 

iscsitadm shows no active targets:

 

r...@opensolaris:~# iscsitadm list target

 

I also tried to destroy the whole pool which gives me the exact same error
message as before.

 

There are no more dataset in this pool:

 

r...@opensolaris:~# zfs list -r performance

NAME                USED  AVAIL  REFER  MOUNTPOINT

performance         100G   813G    20K  /performance

performance/iscsi   100G   913G    24K  -

 

Can anybody tell me how to find out who/what is using this dataset/pool and
how to remove the dataset or the whole pool?

 

 

Thanks,

 

Matthias

 

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to