All fixed now ...  Backup has been running for maybe a minute or two and has 
backed up over 1GB.

Thanks guys...

Here is the complete command set I used...

Creating the ZFS iSCSI target using COMSTAR.

1.  DO NOT use "ZFS set shareiscsi=on ..."  
2.  MAKE SURE your zpool is upgraded.  Run "zpool upgrade" to see and "zpool 
upgrade storagepool" to upgrade

Commands
========
01:~# [b]itadm create-target[/b]
Target iqn.1986-03.com.sun:02:7af8d188-b1e8-4d98-fee1-f4da18bbe46f successfully 
created

02:~# [b]itadm list-target -v[/b]
TARGET NAME STATE SESSIONS
iqn.1986-03.com.sun:02:7af8d188-b1e8-4d98-fee1-f4da18bbe46f online 0
alias: -
auth: none (defaults)
targetchapuser: -
targetchapsecret: unset
tpg-tags: default

03:~# [b]zfs create storagepool/backups/iscsi[/b]

04:~# [b]zfs create -V 200g storagepool/backups/iscsi/macbook_dg[/b]

05:~# [b]sbdadm create-lu /dev/zvol/rdsk/storagepool/backups/iscsi/macbook_dg
[/b]
06:~# [b]stmfadm list-lu -v[/b]
LU Name: 600144F0000827723ED54A95FD4B0002
    Operational Status: Online
    Provider Name     : sbd
    Alias             : /dev/zvol/rdsk/storagepool/backups/iscsi/macbook_dg
    View Entry Count  : 0
    Data File         : /dev/zvol/rdsk/storagepool/backups/iscsi/macbook_dg
    Meta File         : not set
    Size              : 214748364800
    Block Size        : 512
    Vendor ID         : SUN     
    Product ID        : COMSTAR         
    Serial Num        : not set
    Write Protect     : Disabled
    Writeback Cache   : Enabled

07:~# [b]stmfadm list-target -v[/b]
Target: iqn.1986-03.com.sun:02:7af8d188-b1e8-4d98-fee1-f4da18bbe46f
    Operational Status: Online
    Provider Name     : iscsit
    Alias             : -
    Sessions          : 0

08:~# [b]stmfadm list-view -l 600144F0000827723ED54A95FD4B0002[/b]
stmfadm: 600144f0000827723ed54a95fd4b0002: no views found

09:~# [b]stmfadm add-view 600144F0000827723ED54A95FD4B0002[/b]

10:~# [b]stmfadm list-view --lu-name 600144F0000827723ED54A95FD4B0002[/b]
View Entry: 0
    Host group   : All
    Target group : All
    LUN          : 0
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to