ZFS and ISCSI

Danny Schales dan at latech.edu
Thu Dec 19 01:25:05 UTC 2013


On 12/18/2013 6:42 PM, Ronald Klop wrote:
>
> Hi Danny,
>
> It helps if you reply to the mailinglist instead of directly to me.
> Other peoples don't have to ask the same question than.
> You might also post more information about your setup. Like the
> partitioning of your iscsi 'disks' (I don't have much experience with
> that). And the actual values of things like your mountpoint and iscsi
> config files.
> Or try the freebsd-fs mailinglist.
>
> Regards,
> Ronald.
>

The ISCSI "disks" are LUNs from a Dell Compellent Storage system with
multipathing via gmultipath:

# zpool status test2
  pool: test2
 state: ONLINE
  scan: none requested
config:

        NAME               STATE     READ WRITE CKSUM
        test2              ONLINE       0     0     0
          multipath/DISK3  ONLINE       0     0     0

errors: No known data errors

# gmultipath status DISK3
           Name   Status  Components
multipath/DISK3  OPTIMAL  da4 (ACTIVE)
                          da5 (ACTIVE)

# iscsictl
Target name                          Target portal    State
iqn.2002-03.com.compellent:5000d3100055e128 x.x.x.1     Connected: da3 da5
iqn.2002-03.com.compellent:5000d3100055e126 x.x.x.2     Connected: da2
iqn.2002-03.com.compellent:5000d3100055e127 x.x.x.3     Connected: da0 da4
iqn.2002-03.com.compellent:5000d3100055e125 x.x.x.4     Connected: da1

# camcontrol devlist
<COMPELNT Compellent Vol 0603>     at scbus7 target 0 lun 0 (pass7)
<COMPELNT Compellent Vol 0603>     at scbus8 target 0 lun 0 (pass4)
<COMPELNT Compellent Vol 0603>     at scbus9 target 0 lun 2 (da0,pass2)
<COMPELNT Compellent Vol 0603>     at scbus9 target 0 lun 3 (da4,pass10)
<COMPELNT Compellent Vol 0603>     at scbus10 target 0 lun 1 (da1,pass3)
<COMPELNT Compellent Vol 0603>     at scbus11 target 0 lun 2 (da3,pass9)
<COMPELNT Compellent Vol 0603>     at scbus11 target 0 lun 3 (da5,pass11)
<COMPELNT Compellent Vol 0603>     at scbus12 target 0 lun 0 (pass6)
<COMPELNT Compellent Vol 0603>     at scbus13 target 0 lun 1 (da2,pass8)
<COMPELNT Compellent Vol 0603>     at scbus14 target 0 lun 0 (pass5)

# gmultipath list DISK3
Geom name: DISK3
Type: AUTOMATIC
Mode: Active/Active
UUID: 29b5d4e7-6349-11e3-8541-74867af19566
State: OPTIMAL
Providers:
1. Name: multipath/DISK3
   Mediasize: 53687090688 (50G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: OPTIMAL
Consumers:
1. Name: da4
   Mediasize: 53687091200 (50G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e2
   State: ACTIVE
2. Name: da5
   Mediasize: 53687091200 (50G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e2
   State: ACTIVE

There is a another pool similarly configured with the other 2 multipath
pairs (da0-da3) that also does not mount.  I used the single disk pair
for brevity.

Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131218/51b1d553/attachment.sig>


More information about the freebsd-stable mailing list