ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • lun import create

    Create an import relationship

    Availability: This command is available to cluster administrators at the advanced privilege level.

    Description

    This command creates an import relationship between a specified LUN and a specified foreign disk so you can import the foreign disk data into a LUN.

    The foreign disk must be marked as foreign using storage disk set-foreign-lun command before you can begin the import progress.

    The LUN must be of the same size as the foreign disk.

    Parameters

    -vserver <Vserver Name> - Vserver Name

    Specifies the Vserver that contains the LUN where you import data to from the foreign disk data.

    -foreign-disk <text> - Foreign Disk Serial Number

    Specifies the serial number of the Foreign Disk.

    -path <path> - LUN Path

    Specifies the path of the LUN where you want to import the data of the foreign disk to. Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1 .

    Examples

    cluster1::> lun import create -vserver vs1 -path /vol/dvol1/lun1 -foreign-disk 6000B5D0006A0000006A020E00040000

    Creates an import relationship between lun1 at the path /vol/dvol1/lun1 and foreign disk with serial number 6000B5D0006A0000006A020E00040000.

    Top of Page