17 Replies Latest reply: Jun 26, 2013 12:28 AM by ASHWANI8HIGHS RSS

Snapmirror installed, iscsi connection ok, but fdisk doesnt list anything

sidsinhaz
Currently Being Moderated

I have Netapp snapmirror installed in a VM version 7.3

I created an aggregate, volume, LUN, initiator, mapped the LUNs,

everything is fine, I can discover the LUN using iscsiadm on another ubuntu machine. I connect to the iscsi and connections successful.

 

# iscsiadm -m discovery -t st -p 192.168.0.11

Manually login to the iSCSI targets.
# iscsiadm -m node -T iqn.1992-08.com.netapp:sn.4043470224 -p 192.168.0.11 -l

Configure automatic login for the iSCSI targets.
# iscsiadm -m node -T iqn.1992-08.com.netapp:sn.4043470224 -p 192.168.0.11 –op update -n node.startup -v automatic

Restart the iscsi service.
# service iscsi stop
# service iscsi start

Confirm whether you are able to see the disks from both nodes.
# fdisk -l

this above fdisk command doesnt output anything

Any pointers on how I can solve this or how to find out if the issue is on the target (Netapp) or the iscsi initiator?

  • Re: Snapmirror installed, iscsi connection ok, but fdisk doesnt list anything
    ASHWANI8HIGHS
    Currently Being Moderated

    Hi  ,

     

    Can you explain about your setup . As far as i can understand you have provided the storage to two nodes .

    So what did you mean by snapmirror ,please  provide the details of  your snapmirror setup .

    Ex- snapmirror volumes ,relation ,and entry in the snapmirror conf file .

  • Re: Snapmirror installed, iscsi connection ok, but fdisk doesnt list anything
    ASHWANI8HIGHS
    Currently Being Moderated

    Also try using   'storage show disk'  command on your console and please share the output .

    • Re: Snapmirror installed, iscsi connection ok, but fdisk doesnt list anything
      SIDSINHA1
      Currently Being Moderated

      Hey Ashwani,

       

      THanks for replying and trying to help.

      So, basically I have two filers configured, one source and another destination filer for sync.

      I have established the snapmirror relationship, below are the output of the commands you requested:

      I am using vol01.

       

      Let me know if you need any more info. ANy help is appreiciated.

       


      src-filer>

      src-filer>

      src-filer>

      src-filer> storage show disk

      DISK                  SHELF BAY SERIAL           VENDOR   MODEL      REV

      --------------------- --------- ---------------- -------- ---------- ----

      v4.16                   1    0  56191300         NETAPP   VD-100MB   0042

      v4.17                   1    1  56191301         NETAPP   VD-100MB   0042

      v4.18                   1    2  56191302         NETAPP   VD-100MB   0042

      v4.19                   1    3  88733203         NETAPP   VD-1000MB  0042

      v4.20                   1    4  88733204         NETAPP   VD-1000MB  0042

      v4.21                   1    5  88733205         NETAPP   VD-1000MB  0042

      v4.22                   1    6  88733306         NETAPP   VD-1000MB  0042

      v4.24                   1    8  88733307         NETAPP   VD-1000MB  0042

      v5.16                   1    0  87432600         NETAPP   VD-1000MB  0042

      src-filer> lun show

          /vol/vol01/lun01             2.4g (2621440000)    (r/w, online, mapped)

       

      src-filer> vol status

               Volume State           Status            Options

                 vol0 online          raid0, flex       root, no_atime_update=on,

                                                        create_ucode=on,

                                                        convert_ucode=on,

                                                        maxdirsize=2621

                vol01 online          raid4, flex       create_ucode=on,

                                                        convert_ucode=on

      src-filer> snapmirror show

       

      src-filer> snapmirror status

      Snapmirror is on.

      Source                Destination           State          Lag        Status

      src-filer:vol01       dest-filer:vol01      Source         47:08:34   Idle

      src-filer>

      src-filer> iscsi ?

      The following commands are available; for more information

      type "iscsi help <command>"

      alias               interface           security            stats              

      connection          isns                session             status             

      help                nodename            show                stop               

      initiator           portal              start               tpgroup            

      src-filer> iscsi status

      iSCSI service is running

      src-filer> iscsi stats

      iSCSI PDUs Received

        SCSI-Cmd:        123   | Nop-Out:        33766  | SCSI TaskMgtCmd:          0

        LoginReq:          9   | LogoutReq:          2  | Text Req:                 4

        DataOut:           0   | SNACK:              0  | Unknown:                  0

        Total: 33904

      iSCSI PDUs Transmitted

        SCSI-Rsp:         18   | Nop-In:         33766  | SCSI TaskMgtRsp:          0

        LoginRsp:          9   | LogoutRsp:          2  | TextRsp:                  4

        Data_In:         111   | R2T:                0  | Asyncmsg:                 1

        Reject:            0

        Total: 33911

      iSCSI CDBs

        DataIn Blocks:         720  | DataOut Blocks:          0

        Error Status:            3  | Success Status:        120

        Total CDBs: 123

      iSCSI ERRORS

        Failed Logins:           0  | Failed TaskMgt:          0

        Failed Logouts:          0  | Failed TextCmd:          0

        Protocol:                0

        Digest:                  0

        PDU discards (outside CmdSN window): 0

        PDU discards (invalid header):       0

        Total: 0

      src-filer> iscsi sessions

      iscsi: unrecognized command "sessions"

      The following commands are available; for more information

      type "iscsi help <command>"

      alias               interface           security            stats              

      connection          isns                session             status             

      help                nodename            show                stop               

      initiator           portal              start               tpgroup            

      src-filer> iscsi session

      The following commands are available; for more information

      type "iscsi session help <command>"

      help                show               

      src-filer> iscsi session show

      Session 9

        Initiator Information

          Initiator Name: iqn.1993-08.org.debian:01:a9ce6ab66f6

          ISID: 00:02:3d:01:00:00

          Initiator Alias: ubuntu4


      src-filer>


More Like This

  • Retrieving data ...