John Smith
2008-12-10 22:08:28 UTC
When I create a volume I am unable to mount it locally. I pretty sure it has something to do with the other volumes in the same ZFS pool being shared out as ISCSI luns. For some reason ZFS things the base volume is ISCSI. Is there a flag that I am missing? Thanks in advanced for the help.
***@opensolaris:~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
datapool 464G 196G 268G 42% ONLINE -
rpool 48.8G 4.33G 44.4G 8% ONLINE -
***@opensolaris:~# zfs create -V 2g datapool/share
***@opensolaris:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
datapool 352G 105G 18K /datapool
datapool/backup 200G 207G 97.7G -
datapool/datavol 150G 156G 98.3G -
datapool/share 2G 107G 16K -
***@opensolaris:~# zfs mount datapool/share
cannot open 'datapool/share': operation not applicable to datasets of this type
***@opensolaris:~# zfs share datapool/share
cannot share 'datapool/share': 'shareiscsi' property not set
set 'shareiscsi' property or use iscsitadm(1M) to share this volume
***@opensolaris:~# zfs get shareiscsi datapool
NAME PROPERTY VALUE SOURCE
datapool shareiscsi off local
***@opensolaris:~# zfs get shareiscsi datapool/share
NAME PROPERTY VALUE SOURCE
datapool/share shareiscsi off inherited from datapool
***@opensolaris:~# zfs set sharenfs=on datapool/share
cannot set property for 'datapool/share': 'sharenfs' does not apply to datasets of this type
***@opensolaris:~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
datapool 464G 196G 268G 42% ONLINE -
rpool 48.8G 4.33G 44.4G 8% ONLINE -
***@opensolaris:~# zfs create -V 2g datapool/share
***@opensolaris:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
datapool 352G 105G 18K /datapool
datapool/backup 200G 207G 97.7G -
datapool/datavol 150G 156G 98.3G -
datapool/share 2G 107G 16K -
***@opensolaris:~# zfs mount datapool/share
cannot open 'datapool/share': operation not applicable to datasets of this type
***@opensolaris:~# zfs share datapool/share
cannot share 'datapool/share': 'shareiscsi' property not set
set 'shareiscsi' property or use iscsitadm(1M) to share this volume
***@opensolaris:~# zfs get shareiscsi datapool
NAME PROPERTY VALUE SOURCE
datapool shareiscsi off local
***@opensolaris:~# zfs get shareiscsi datapool/share
NAME PROPERTY VALUE SOURCE
datapool/share shareiscsi off inherited from datapool
***@opensolaris:~# zfs set sharenfs=on datapool/share
cannot set property for 'datapool/share': 'sharenfs' does not apply to datasets of this type
--
This message posted from opensolaris.org
This message posted from opensolaris.org