跳转到主内容

Exciting new changes are coming to the Knowledge Base site soon!
Starting April 4, 2023, you will notice Support-Specific categorization and improvements to the search filters on the site. In May, we will be launching a new and enhanced Site UI and Navigation. To know more, read our Knowledge Article.

为什么卷名称在移动后会在其末尾附加 (1) ?

Views:
19
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • 集群模式 Data ONTAP

问题解答

如果通过运行volume move 命令在同一节点内的聚合之间移动现有卷、则移动的卷的名称将在 (1) 卷名称末尾附加一个数字、例如。这可能会影响个人命名约定;但是,这不会对系统的运行造成任何负面影响。

如果不同的虚拟服务器具有相同的卷名称、则在节点级别添加数字的情况也类似。如果您的CIFS SVM具有"工程"卷、而NFS SVM具有"工程"卷、并且它们都位于同一节点上、则其中一个SVM (1) 会从节点级别附加一个、但从集群级别(带有volume show)则两者都会显示"工程"。

使用、volume move可以重命名卷;但是会删除原始卷。如果在多个虚拟服务器上使用相同的名称、rename则该命令将起作用、但它会将该数字后附回来。

volume rename -volume <volume_A> -vserver <Vserver_name> -newname <volume_newname>

追加信息

中的数字 () 称为 name-ordinal 卷。name-ordinal 如果为 base、则node-volume-name与集群Shell volume-name相同。

::> set adv
Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y

::*> vol show -vserver svm1 -volume vol_moved -fields name-ordinal
vserver   volume        name-ordinal
--------- ------------- ------------
svm1     vol_moved   1

::*> node run -node local -command vol status vol_fp_moved
vol status: No volume named 'vol_moved' exists.

::*> node run -node local -command vol status vol_moved(1)
         Volume State           Status                Options
vol_moved(1)    online          raid4, flex           create_ucode=on, convert_ucode=on,

 

Scan to view the article on your device