Just installed Nexenta and I've been playing around with zfs.

[EMAIL PROTECTED]:/tank# uname -a
SunOS hzsilo 5.11 NexentaOS_20070105 i86pc i386 i86pc Solaris


[EMAIL PROTECTED]:/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  -

[EMAIL PROTECTED]:/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

[EMAIL PROTECTED]:/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

[EMAIL PROTECTED]:/tank# zfs snapshot tank/iscsi_luns/[EMAIL PROTECTED]

[EMAIL PROTECTED]:/tank# zfs send tank/iscsi_luns/[EMAIL PROTECTED]  > /tank/t

[EMAIL PROTECTED]:/tank# zfs receive tank/iscsi_luns/vol4 <  /tank/t
[EMAIL PROTECTED]:/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/[EMAIL PROTECTED]      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/[EMAIL PROTECTED]      0      -  35.9K  -

[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/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
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to