ONTAP 9.12.1 commands

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

    Deletes the import relationship of the specified LUN or the specified foreign disk

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

    Description

    This command deletes the import relationship of a specified LUN or a specified foreign disk.

    You cannot use this command if an import is in-progress between the foreign disk and the LUN unless you use the force option. The import has to either successfully completed or be stopped before deleting the import relationship.

    You can use the lun import stop command to stop the data import, and then you delete the import relationship.

    Parameters

    { -vserver <Vserver Name> - Vserver Name

    Specifies the Vserver that contains the LUN that you want to delete the import relationship.

    -path <path> - LUN Path

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

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

    Specifies the serial number of the foreign disk.

    [-force {true|false}] - Force Delete

    When set to true, stops the in progress data import.

    Examples

    cluster1::> lun import delete -vserver vs1 -path /vol/vol2/lun2

    Deletes the import relationship of lun2 at the path /vol/vol2/lun2.

    cluster1::> lun import delete -vserver vs0 -foreign-disk 6000B5D0006A0000006A020E00040000

    Deletes the import relationship of the foreign disk with serial number 6000B5D0006A0000006A020E00040000.

    Top of Page