0 Replies Latest reply: Apr 11, 2013 6:24 AM by 804521 RSS

    ZFS Import Hangs Forever

      I have an iscsi zpool mirror I am trying to import but it just hangs.

      sparky:/root> iscsiadm modify discovery --static enable
      sparky:/root> iscsiadm modify discovery --sendtargets disable
      sparky:/root> ping is alive
      sparky:/root> iscsiadm add discovery-address
      sparky:/root> iscsiadm list discovery-address
      Discovery Address:
      sparky:/root> iscsiadm list discovery-address -v
      Discovery Address:
      Target name: iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa
      Target address:, 1
      sparky:/root> iscsiadm list static-config
      sparky:/root> iscsiadm add static-config iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa,
      sparky:/root> iscsiadm list static-config
      Static Configuration Target: iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa,
      sparky:/root> devfsadm -i iscsi
      sparky:/root> format
      Searching for disks...done

      0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
      1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
      2. c0t2d0 <HITACHI-HUC101473CSS300-C4C2-68.37GB>
      3. c0t3d0 <FUJITSU-MAY2073RCSUN72G-0401-68.37GB>
      4. c2t600140576F64982DCEEFD4B31DB197DDd0 <QNAP-iSCSI Storage-3.1-1.79TB>
      5. c2t600140559674C9CD1F27D4A18D8397D6d0 <QNAP-iSCSI Storage-3.1-1.79TB>
      Specify disk (enter its number): ^C
      sparky:/root> zpool import -f
      pool: data
      id: 5976159847315029669
      state: ONLINE
      action: The pool can be imported using its name or numeric identifier.

      data ONLINE
      mirror-0 ONLINE
      c2t600140576F64982DCEEFD4B31DB197DDd0 ONLINE
      c2t600140559674C9CD1F27D4A18D8397D6d0 ONLINE
      sparky:/root> zpool import -f data

      I am at a loss on how to proceed from here.