您可以创建一个新 FlexVol 卷,并使用该卷来还原 Storage Virtual Machine (SVM) 的根卷。
从集群模式 Data ONTAP 8.2 开始,创建的 SVM 根卷的大小将为 1 GB,这可防止在将任何卷挂载到 SVM 根卷中时因空间或索引节点不足而引发任何故障。因此,如果您要提升某个新 FlexVol 卷,则此卷的大小至少应为 1 GB。
以下命令将 FlexVol 卷 new_rootvol 提升为 SVM vs1.example.com 的根卷:
cluster1::> set -privilege advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by technical support. Do you want to continue? {y|n}: cluster1::*> vol create -vserver vs3 -volume new_rootvol -aggregate aggr0 -size 1GB (volume create) cluster1::*> volume make-vsroot -vserver vs1.example.com -volume new_rootvol cluster1::*> volume show -volume new_rootvol -instance Vserver Name: vs1.example.com Volume Name: new_rootvol . . Junction Path: / . Vserver Root Volume: true . .