Rehosting SAN volumes

You can rehost volumes that have mapped LUNs. After re-creating the initiator group (igroup) in the destination SVM, volume rehost can automatically remap the volume on the same SVM.

Before you begin

About this task


  1. Record LUN mapping information on target volume: lun mapping show–volume volume to be rehosted-vserver source vserver
    This is a precautionary step to avoid losing information about LUN mapping in case the volume rehost fails.
  2. Delete igroups associated with the target volume.
  3. Rehost the target volume to the destination SVM: volume rehost -vserver source_svm -volume vol_name -destination-vserver destination_svm
  4. Map LUNs on the target volume to appropriate igroups.
    • Volume rehost preserves LUNs on the target volume; however, LUNs remain unmapped.
    • Use the destination SVM port set while mapping LUNs.
    • If the auto-remap-luns option is set to true, the LUNs are mapped automatically after rehost.