Data Backup and Recovery

SDCLI. Unable to create LUN (iSCSI RDM)

gmilazzoitag
4,748 Views

Hi. Using Snapdrive from GUI and passing it the same parameters of the command line works. No change to have it using sdcli

My command is:

sdcli disk create -d D -p filer:/vol/volname/lunname.lun -z 491520MB -IG vmwaresrv01 rcu_generated -dtype dedicated -ds DSP_ROM10

I get the error (EX01 is the server from where I execute SDCLI):

EX01 : Checking input parameters

EX01 : Checking access control

EX01 : Checking policies

Unable to create LUNs.

Error: No igroup found for the current node.

DSP_ROM10 is the iSCSI datastore where to put the rdm file, rcu_generated is the igroup name containing all the iqn of the vmware esx forming the cluster and vmwaresrv01 is the vmware esx server hosting EX01 vm.

I've also tried to put between " the DSP_ROM10 datastore name

Any idea? Help?

1 ACCEPTED SOLUTION

gmilazzoitag
4,749 Views

MANUAL BRINGS ON THE WRONG PATH putting vmwsomething in the sample as name

In the IG parameter the pair is formed by the host name where's the LUN is creating and the igroup that contains the ESX iqn

    C:\Program Files\NetApp\SnapDrive>sdcli disk create -d D -p itromfs10:/vol/testtest.lun -z 2048MB -IG itromex01 rcu_generated -dtype dedicated -ds DSP_ROM10

ITROMEX01 : Checking input parameters

ITROMEX01 : Checking access control

ITROMEX01 : Checking policies

ITROMEX01 : Turning off snap scheduling

ITROMEX01 : Creating the LUN

ITROMEX01 : Creating a partition

ITROMEX01 : Formatting the disk with NTFS

ITROMEX01 : Mounting volume on the disk

UNC Path: None

LUN Path: itromfs10:/vol/test/test.lun

        Storage System:         itromfs10

        Storage System Path:    /vol/test/test.lun

        Type:                   lun

        Disk serial number:     7SEaX+C0LbkS

Backed by Snapshot Copy:

        Shared:                 No

        BootOrSystem Disk:      No

        SCSI port:              2

        Bus:                    0

        Target:                 2

        LUN:                    0

        Readonly:               No

        Size:                   2055

        Snapmirror Source:      No

        Snapvault Primary:      No

        Disk Partition Style:   GUID Partition Table (GPT)

        Clone Split Restore status: Normal

        DiskID:                 2

        Volume Name:            \\?\Volume{5b622f97-1f47-4645-bf5d-ac599af3062b}

\

        DataStore Name:         DSP_ROM10

        RDM File Name:          [DSP_ROM10] ITROMEX01/ITROMEX01_SD_itromfs10_7SE

aX+C0LbkS_13.vmdk

        Mount points:           D:\

        IP Addresses:           10.254.149.11, 10.205.2.10, 10.205.3.10, 10.205.

4.10, 10.205.6.10, 10.205.10.10, 10.205.11.10, 10.90.1.47, 10.160.200.254, 10.20

1.254.10

The operation completed successfully.

C:\Program Files\NetApp\SnapDrive>

View solution in original post

5 REPLIES 5

RAVI_PALADUGU
4,748 Views

what is the snapdrive version you are using?

gmilazzoitag
4,748 Views

6.5 64bit on Windows 2008 R2

RAVI_PALADUGU
4,748 Views

can you please post the output for sdcli igroup list -m "hostname" -f "filer ipaddress"

gmilazzoitag
4,748 Views

Already tried. It's correct. In my opening post I've changed some name for privacy reasons...anyway the REAL command is

sdcli disk create -d D -p itromfs10:/vol/rom_exchange_ex01_users_data/rom_exchange_ex01_users_data.lun -z 491520MB -IG itromvm12 rcu_generated -dtype dedicated -ds DSP_ROM10

I've a doubt. Should I put the iqn and not the host name? Manuals seems to say "hostname" and not iqn

C:\Program Files\NetApp\SnapDrive>sdcli igroup list -f itromfs10

Listing the Initiator groups ...

   Node Name: ITROMEX01

Initiators Group Name: rcu_generated

Initiators Group Type: ISCSI

os-type:vmware

Initiators:

           iqn.1998-01.com.vmware:itromvm10-0cdf2ce7

           iqn.1998-01.com.vmware:itromvm01-193487eb

           iqn.1998-01.com.vmware:itromvm02-192e93fd

           iqn.1998-01.com.vmware:itromvm04-e82fb3b2

           iqn.1998-01.com.vmware:itromvm03-e82f7aed

           iqn.1998-01.com.vmware:itromvm06-1cdbbf40

           iqn.1998-01.com.vmware:itromvm05-5d8c0e6e

           iqn.1998-01.com.vmware:itromvm07-b97554d7

           iqn.1998-01.com.vmware:itromvm08-b973d1c2

           iqn.1998-01.com.vmware:itromvm09-35c63ff4

           iqn.1998-01.com.vmware:itromvm15-1682ec57

           iqn.1998-01.com.vmware:itromvm16-1ca83d3a

           iqn.1998-01.com.vmware:itromvm13-0fff6fac

           iqn.1998-01.com.vmware:itromvm14-73766336

           iqn.1998-01.com.vmware:itromvm11-11eab1be

           iqn.1998-01.com.vmware:itromvm12-7faacad5

           iqn.1998-01.com.vmware:itromvm17-18983f8d

The operation completed successfully.

gmilazzoitag
4,750 Views

MANUAL BRINGS ON THE WRONG PATH putting vmwsomething in the sample as name

In the IG parameter the pair is formed by the host name where's the LUN is creating and the igroup that contains the ESX iqn

    C:\Program Files\NetApp\SnapDrive>sdcli disk create -d D -p itromfs10:/vol/testtest.lun -z 2048MB -IG itromex01 rcu_generated -dtype dedicated -ds DSP_ROM10

ITROMEX01 : Checking input parameters

ITROMEX01 : Checking access control

ITROMEX01 : Checking policies

ITROMEX01 : Turning off snap scheduling

ITROMEX01 : Creating the LUN

ITROMEX01 : Creating a partition

ITROMEX01 : Formatting the disk with NTFS

ITROMEX01 : Mounting volume on the disk

UNC Path: None

LUN Path: itromfs10:/vol/test/test.lun

        Storage System:         itromfs10

        Storage System Path:    /vol/test/test.lun

        Type:                   lun

        Disk serial number:     7SEaX+C0LbkS

Backed by Snapshot Copy:

        Shared:                 No

        BootOrSystem Disk:      No

        SCSI port:              2

        Bus:                    0

        Target:                 2

        LUN:                    0

        Readonly:               No

        Size:                   2055

        Snapmirror Source:      No

        Snapvault Primary:      No

        Disk Partition Style:   GUID Partition Table (GPT)

        Clone Split Restore status: Normal

        DiskID:                 2

        Volume Name:            \\?\Volume{5b622f97-1f47-4645-bf5d-ac599af3062b}

\

        DataStore Name:         DSP_ROM10

        RDM File Name:          [DSP_ROM10] ITROMEX01/ITROMEX01_SD_itromfs10_7SE

aX+C0LbkS_13.vmdk

        Mount points:           D:\

        IP Addresses:           10.254.149.11, 10.205.2.10, 10.205.3.10, 10.205.

4.10, 10.205.6.10, 10.205.10.10, 10.205.11.10, 10.90.1.47, 10.160.200.254, 10.20

1.254.10

The operation completed successfully.

C:\Program Files\NetApp\SnapDrive>

Public