Skip to main content
A newer release of this product is available.

lun import delete

Contributors
Suggest changes

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 (privilege: advanced)

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

-path <path> - LUN Path (privilege: advanced)

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 (privilege: advanced) }

Specifies the serial number of the foreign disk.

[-force {true|false}] - Force Delete (privilege: advanced)

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.