On Tue, Aug 25, 2009 at 11:14 PM, Duncan Groenewald < dagroenew...@optusnet.com.au> wrote:
> Oops I left that bit out... > > dun...@osshsrvr:~# itadm create-target > Target iqn.1986-03.com.sun:02:7af8d188-b1e8-4d98-fee1-f4da18bbe46f > successfully created > dun...@osshsrvr:~# itadm list-target -v > 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 > dun...@osshsrvr:~# zfs create storagepool/backups/iscsi > dun...@osshsrvr:~# zfs create -V 200g storagepool/backups/iscsi/macbook_dg > dun...@osshsrvr:~# sbdadm create-lu > /dev/zvol/rdsk/storagepool/backups/isci/macbook_dg > sbdadm: could not create meta file > Can you link the blog you got the instructions from? I'm unsure why you'd do a zfs create instead of just doing an mkfile. The only reason I can think of is if you wanted to take snapshots, and you were storing other data inside the zfs pool you had other data in (HORRIBLE idea IMO). Oh, and blatant observation here, did you just make a typo? Your last line is incorrect as you've pasted it. You put: sbdadm create-lu /dev/zvol/rdsk/storagepool/backups/isci/macbook_dg If that's what you literally typed, you missed an S in iscsi. It should be: sbdadm create-lu /dev/zvol/rdsk/storagepool/backups/iscs********i/macbook_dg ******* added by me to make it obvious what you missed :) If that's not it, from all the documentation I've see, they'd prefer you used mkfile to create your LUN, and typed the path to the file as /storagepool/backups/iscsi/macbook_dg. Reference: http://de.opensolaris.org/os/project/comstar/COMSTAR_Admin-FC-iSCSI.pdf;jsessionid=2C549A4253A0B211ED9DABBF66EF1495 --Tim (four jamesons later)
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss