Skip to main content
NetApp Knowledge Base

What is an estimate of the time required to execute 'volume rehost'

Views:
55
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:
1/14/2025, 3:47:02 AM

Answer

volume rehost takes only a few seconds regardless of the usage of the target volume.
 
Example:

aff200-2n-dal-1::*> vol show
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
aff200-dal-1a
          vol0         aggr0_aff200_dal_1a
                                    online     RW      348.6GB    316.0GB    4%
aff200-dal-1b
          vol0         aggr0_aff200_dal_1b
                                    online     RW      348.6GB    316.0GB    4%
svm1      svm1_root    aggr1        online     RW          1GB    972.4MB    0%
svm1      vol1         aggr1        online     RW        900GB    540.7GB   36%
svm2      svm2_root    aggr1        online     RW          1GB    972.4MB    0%
5 entries were displayed.

aff200-2n-dal-1::*> vol rehost -vserver svm1 -volume vol1 -destination-vserver svm2

Warning: Rehosting a volume from one Vserver to another Vserver does not change the security information about that volume.
         If the security domains of the Vservers are not identical, unwanted access might be permitted, and desired access might be denied. An attempt to rehost a volume will
         disassociate the volume from all volume policies and policy rules. The volume must be reconfigured after a successful or unsuccessful rehost operation.
Do you want to continue? {y|n}: y
[Job 42] Job succeeded: Successful

Info: volume is rehosted on the target Vserver.
Set the desired volume configuration - such as the export policy and QoS policy - on the target Vserver.

aff200-2n-dal-1::*> VOL SHOW
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
aff200-dal-1a
          vol0         aggr0_aff200_dal_1a
                                    online     RW      348.6GB    316.0GB    4%
aff200-dal-1b
          vol0         aggr0_aff200_dal_1b
                                    online     RW      348.6GB    316.0GB    4%
svm1      svm1_root    aggr1        online     RW          1GB    972.4MB    0%
svm2      svm2_root    aggr1        online     RW          1GB    972.4MB    0%
svm2      vol1         aggr1        online     RW        900GB    540.7GB   36%
5 entries were displayed.

Additional Information

N/A

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.