A newer release of this product is available.
storage disk set-foreign-lun
Contributors
-
PDF of this doc site
![](/us-en/ontap-cli-9121/images/pdf-zip.png)
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Sets or Unsets an array LUN as foreign
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The storage disk set-foreign-lun
command sets or unsets a specified array LUN as foreign. This command will enable/disable the feature of importing the data from foreign LUN.
Parameters
-disk <disk path name>
- Disk Name-
This parameter specifies the array LUN which is to be set or unset as foreign.
-is-foreign-lun <true>
- Is Foreign LUN-
If the parameter value specified is
true
then array LUN is set as foreign. If the parameter value specified isfalse
then array LUN foreignness is cleared.
Examples
The following example shows how to set an array LUN as foreign:
cluster1::> storage disk set-foreign-lun -disk EMC-1.1 -is-foreign-lun true
The following example shows how to mark an array LUN as not foreign:
cluster1::> storage disk set-foreign-lun -disk EMC-1.1 -is-foreign-lun false