`<div dir="ltr"><div><div><div><a href="http://docs.oracle.com/cd/E23824_01/html/821-1459/fnnop.html#fnnoq">http://docs.oracle.com/cd/E23824_01/html/821-1459/fnnop.html#fnnoq</a><br></div>i m using this link as a reference, and i ran these commands.<br>
<br> zfs create -o mountpoint=none acipool/cmdiscsi<br> zfs create -V 8G -s acipool/cmdiscsi/iTarget<br> sbdadm create-lu /dev/zvol/rdsk/acipool/cmdiscsi/iTarget<br> stmfadm add-view 600144f0000000000000522ec1780001<br>
<br>all necessary services are running.<br><br>root@omni:~# svcs -a | grep stmf<br>online 11:12:11 svc:/system/stmf:default<br><br> svcs -a | grep iscsi<br>online 11:12:06 svc:/network/iscsi/initiator:default<br>
online 11:12:12 svc:/network/iscsi/target:default<br><br></div>but still i can not see shareiscsi property in my created volume here is the output <br><br>root@omni:~# zfs get all acipool/cmdiscsi/iTarget<br>NAME PROPERTY VALUE SOURCE<br>
acipool/cmdiscsi/iTarget type volume -<br>acipool/cmdiscsi/iTarget creation Tue Sep 10 11:49 2013 -<br>acipool/cmdiscsi/iTarget used 23.9K -<br>
acipool/cmdiscsi/iTarget available 272G -<br>acipool/cmdiscsi/iTarget referenced 23.9K -<br>acipool/cmdiscsi/iTarget compressratio 1.00x -<br>
acipool/cmdiscsi/iTarget reservation none default<br>acipool/cmdiscsi/iTarget volsize 8G local<br>acipool/cmdiscsi/iTarget volblocksize 8K -<br>
acipool/cmdiscsi/iTarget checksum on default<br>acipool/cmdiscsi/iTarget compression off default<br>acipool/cmdiscsi/iTarget readonly off default<br>
acipool/cmdiscsi/iTarget copies 1 default<br>acipool/cmdiscsi/iTarget refreservation none default<br>acipool/cmdiscsi/iTarget primarycache all default<br>
acipool/cmdiscsi/iTarget secondarycache all default<br>acipool/cmdiscsi/iTarget usedbysnapshots 0 -<br>acipool/cmdiscsi/iTarget usedbydataset 23.9K -<br>
acipool/cmdiscsi/iTarget usedbychildren 0 -<br>acipool/cmdiscsi/iTarget usedbyrefreservation 0 -<br>acipool/cmdiscsi/iTarget logbias latency default<br>
acipool/cmdiscsi/iTarget dedup off default<br>acipool/cmdiscsi/iTarget mlslabel none default<br>acipool/cmdiscsi/iTarget sync standard default<br>
acipool/cmdiscsi/iTarget refcompressratio 1.00x -<br>acipool/cmdiscsi/iTarget written 23.9K -<br>acipool/cmdiscsi/iTarget logicalused 8K -<br>
acipool/cmdiscsi/iTarget logicalreferenced 8K -<br><br><br><br><br></div><div>however i can connect to the iSCSI LUN from my client but it size showed up 0.<br></div><div>but connection is fine. <br>
<br></div><div>Thanks.<br><br></div><div>Myk<br></div><div><br></div></div>`