跳转到主内容

volume make-vsroot 命令是否会对 SVM 卷接合路径造成中断?

Views:
2
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

ONTAP 9

问题解答

  • volume make-vsroot命令用于将相应 SVM 的非根卷提升为 SVM 的新根卷。
  • 此新 SVM 根卷必须是大小至少为 1 GB 的 FlexVol 卷。
  • 每当将某个卷提升为目标 SVM 的新根卷时, SVM 下所有关联卷的所有接合路径都会断开连接,从而导致受影响卷出现服务中断。 
 
注意:这是按设计进行的,不是由于 ONTAP 中的任何错误造成的。
 

追加信息

要以影响最小的方法创建新的 SVM 根卷,应执行以下步骤。
请注意,此操作只能在服务窗口期间完成,因为此操作步骤 会导致 SVM 下的所有卷发生中断。
 
  • 为相应的 SVM 创建一个新的目标根卷,即

   ::> volume create -volume <new_svm_root> -aggregate <aggr name> -size 1GB

  • 创建卷后,使用进入诊断模式  

   ::> set diag

  • 在 diag 模式下,使用执行命令以提升新的 SVM 根卷

   ::*> volume make-vsroot -vserver <SVM name> -volume <new_svm_root>

  • 使用此命令检查新的 SVM 根卷,以确保其已成功提升: 

     ::> volume show -volume new_svm2_root -fields vsroot
    vserver volume        vsroot
    ------- ------------- ------
    svm2    new_svm2_root true


    其他注意事项

  • 如果卸载失败,则可能需要对每个出现故障的卷使用 " 卷脱机 " 和后续的 " 卷联机 " 。

  • 请确保在创建卷时将先前 SVM 根的导出策略与 "-policy" 匹配,以确保存在遍历 RO 权限。  (默认策略没有规则,除非已修改)

  • 如果卷挂载路径不是 "/" { volname } " ,请检查并创建任何目录路径。  某些卷可能已使用 "/vol/ { volname } " 挂载

  • 请务必为新的 SVM 根卷创建新的 LS 镜像。

 
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.