hello,

I'm trying to consolidate my HDs in a cheap but (I hope) reliable manner. To do so, I was thinking to use zfs over iscsi.

Unfortunately, I'm having some issue with it, when I do:

# iscsi server (nexenta alpha 5)
#------------
svcadm enable iscsitgt
iscsitadm delete target --lun 0 vol-1
iscsitadm list target # empty
iscsitadm create target -b  /dev/dsk/c0d0s5  vol-1
iscsitadm list target # not empty
   Target: vol-1
iSCSI Name: iqn.1986-03.com.sun:02:662bd119-1660-6141-cea7-dd799d53b254.vol-1
       Connections: 0

#iscsi client (solaris 5.10, up-to-date)
#------------

iscsiadm add discovery-address 10.194.67.111 # (iscsi server)
iscsiadm modify discovery --sendtargets enable
iscsiadm list discovery-address # not empty
iscsiadm list target # not empty
Target: iqn.1986-03.com.sun:02:662bd119-1660-6141-cea7-dd799d53b254.vol-1
           Alias: vol-1
           TPGT: 1
           ISID: 4000002a0000
           Connections: 1

devfsadm -i iscsi # to create the device on sf3
iscsiadm list target -Sv| egrep 'OS Device|Peer|Alias' # not empty
        Alias: vol-1
                  IP address (Peer): 10.194.67.111:3260
OS Device Name: /dev/rdsk/c1t0100004005A267C100002A0045E2F524d0s2


zpool create tank c1t0100004005A267C100002A0045E2F524d0s2
cannot open '/dev/dsk/c1t0100004005A267C100002A0045E2F524d0s2': I/O error

#-----------------
The error was produced when using the type mode ``disk'' for iscsi. I've follow the advise of Roch:to try the different type of iscsi:
disk|raw|tape

but unfortunately the only type who accepts the:
``iscsitadm create target -b /dev/dsk/c0d0s5'' is the type disk which doesn't work.

Any idea of what I could do to improve this.


thanks in advance

Ced.
--

Cedric BRINER
Geneva - Switzerland
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to