Nicholas Lee
2007-Feb-24 08:29 UTC
[zfs-discuss] zfs received vol not appearing on iscsi target list
Just installed Nexenta and I''ve been playing around with zfs. root at hzsilo:/tank# uname -a SunOS hzsilo 5.11 NexentaOS_20070105 i86pc i386 i86pc Solaris root at hzsilo:/tank# zfs list NAME USED AVAIL REFER MOUNTPOINT home 89.5K 219G 32K /export/home tank 330K 1.78T 51.9K /tank tank/iscsi_luns 147K 1.78T 39.1K /tank/iscsi_luns tank/iscsi_luns/vol1 35.9K 1.78T 35.9K - tank/iscsi_luns/vol2 35.9K 1.78T 35.9K - tank/iscsi_luns/vol3 35.9K 1.78T 35.9K - root at hzsilo:/tank# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT home 222G 92.5K 222G 0% ONLINE - tank 2.27T 419K 2.27T 0% ONLINE - Previously created using method described here: http://www.cuddletech.com/blog/pivot/entry.php?id=775 root at hzsilo:/tank# iscsitadm list target Target: tank/iscsi_luns/vol2 iSCSI Name: iqn.1986-03.com.sun:02:cc31cf84-ae81-4ad9-8cd8-afeefa396bbb Connections: 0 Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:aa403e86-3921-eb92-bdc8-81f03a144979 Connections: 0 Target: tank/iscsi_luns/vol3 iSCSI Name: iqn.1986-03.com.sun:02:ccc4a814-609a-4858-855f-84754cf31fec Connections: 0 root at hzsilo:/tank# zfs snapshot tank/iscsi_luns/vol1 at now root at hzsilo:/tank# zfs send tank/iscsi_luns/vol1 at now > /tank/t root at hzsilo:/tank# zfs receive tank/iscsi_luns/vol4 < /tank/t root at hzsilo:/tank# zfs list NAME USED AVAIL REFER MOUNTPOINT home 89.5K 219G 32K /export/home tank 375K 1.78T 51.9K /tank tank/iscsi_luns 183K 1.78T 39.1K /tank/iscsi_luns tank/iscsi_luns/vol1 35.9K 1.78T 35.9K - tank/iscsi_luns/vol1 at now 0 - 35.9K - tank/iscsi_luns/vol2 35.9K 1.78T 35.9K - tank/iscsi_luns/vol3 35.9K 1.78T 35.9K - tank/iscsi_luns/vol4 35.9K 1.78T 35.9K - tank/iscsi_luns/vol4 at now 0 - 35.9K - root at hzsilo:/tank# iscsitadm list target Target: tank/iscsi_luns/vol2 iSCSI Name: iqn.1986-03.com.sun:02:cc31cf84-ae81-4ad9-8cd8-afeefa396bbb Connections: 0 Target: tank/iscsi_luns/vol1 iSCSI Name: iqn.1986-03.com.sun:02:aa403e86-3921-eb92-bdc8-81f03a144979 Connections: 0 Target: tank/iscsi_luns/vol3 iSCSI Name: iqn.1986-03.com.sun:02:ccc4a814-609a-4858-855f-84754cf31fec Connections: 0 root at hzsilo:/tank# zfs get all tank/iscsi_luns/vol4 NAME PROPERTY VALUE SOURCE tank/iscsi_luns/vol4 type volume - tank/iscsi_luns/vol4 creation Sat Feb 24 0:04 2007 - tank/iscsi_luns/vol4 used 35.9K - tank/iscsi_luns/vol4 available 1.78T - tank/iscsi_luns/vol4 referenced 35.9K - tank/iscsi_luns/vol4 compressratio 1.00x - tank/iscsi_luns/vol4 reservation none default tank/iscsi_luns/vol4 volsize 25G - tank/iscsi_luns/vol4 volblocksize 8K - tank/iscsi_luns/vol4 shareiscsi on inherited from tank/iscsi_luns tank/iscsi_luns/vol4 checksum on default tank/iscsi_luns/vol4 compression off default tank/iscsi_luns/vol4 readonly off default I''m not really a Solaris expert, but I would have expected vol4 to appear on the iscsi target list automatically. Is there a way to refresh the target list? Or is this a bug. Nicholas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070224/337395ad/attachment.html>
Adam Leventhal
2007-Feb-27 01:20 UTC
[zfs-discuss] zfs received vol not appearing on iscsi target list
On Sat, Feb 24, 2007 at 09:29:48PM +1300, Nicholas Lee wrote:> I''m not really a Solaris expert, but I would have expected vol4 to appear on > the iscsi target list automatically. Is there a way to refresh the target > list? Or is this a bug.Hi Nicholas, This is a bug either in ZFS or in the iSCSI target. Please file a bug. Adam -- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl