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

    ZFS Import Hangs Forever

    804521
      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 11.11.11.12
      11.11.11.12 is alive
      sparky:/root> iscsiadm add discovery-address 11.11.11.12:3260
      sparky:/root> iscsiadm list discovery-address
      Discovery Address: 11.11.11.12:3260
      sparky:/root> iscsiadm list discovery-address -v 11.11.11.12
      Discovery Address: 11.11.11.12:3260
      Target name: iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa
      Target address: 11.11.11.12:3260, 1
      sparky:/root> iscsiadm list static-config
      sparky:/root> iscsiadm add static-config iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa,11.11.11.12:3260
      sparky:/root> iscsiadm list static-config
      Static Configuration Target: iqn.2004-04.com.qnap:ts-210:iscsi.qnas.c270fa,11.11.11.12:3260
      sparky:/root> devfsadm -i iscsi
      sparky:/root> format
      Searching for disks...done


      AVAILABLE DISK SELECTIONS:
      0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
      /pci@780/pci@0/pci@9/scsi@0/sd@0,0
      1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
      /pci@780/pci@0/pci@9/scsi@0/sd@1,0
      2. c0t2d0 <HITACHI-HUC101473CSS300-C4C2-68.37GB>
      /pci@780/pci@0/pci@9/scsi@0/sd@2,0
      3. c0t3d0 <FUJITSU-MAY2073RCSUN72G-0401-68.37GB>
      /pci@780/pci@0/pci@9/scsi@0/sd@3,0
      4. c2t600140576F64982DCEEFD4B31DB197DDd0 <QNAP-iSCSI Storage-3.1-1.79TB>
      /scsi_vhci/ssd@g600140576f64982dceefd4b31db197dd
      5. c2t600140559674C9CD1F27D4A18D8397D6d0 <QNAP-iSCSI Storage-3.1-1.79TB>
      /scsi_vhci/ssd@g600140559674c9cd1f27d4a18d8397d6
      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.
      config:

      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.