命令行登陆:
disk show -v
返回结果类似如下:
DISK OWNER POOL SERIAL NUMBER HOME
0c.00.8 netapp01 (135084092) Pool0 9QJ755P7 netapp01 (135084092)
0c.00.4 netapp01 (135084092) Pool0 9QJ754VJ netapp01 (135084092)
0c.00.1 netapp01 (135084092) Pool0 9QJ758CC netapp01 (135084092)
0c.00.0 netapp01 (135084092) Pool0 9QJ755EE netapp01 (135084092)
0c.00.2 netapp01 (135084092) Pool0 9QJ75580 netapp01 (135084092)
0c.00.6 netapp01 (135084092) Pool0 9QJ755HD netapp01 (135084092)
0c.00.3 netapp01 (135084092) Pool0 9QJ7550Z netapp01 (135084092)
0c.00.9 netapp01 (135084092) Pool0 9QJ755C8 netapp01 (135084092)
0c.00.11 netapp01 (135084092) Pool0 9QJ754PJ netapp01 (135084092)
0c.00.10 netapp01 (135084092) Pool0 9QJ754Y4 netapp01 (135084092)
0c.00.7 netapp01 (135084092) Pool0 9QJ755BV netapp01 (135084092)
0c.00.5 foreignowner (123456789) Pool0 9QJ7594Z foreignowner(123456789)
从以上的输出结果可以看到,id为0c.00.5就是有外部属主的磁盘。如果要添加到本地存储,首先需要去除外部属主信息,操作方法:
priv set advanced #进入高级模式
disk assign -o 123456789 -s unonwned -f
这时候,磁盘0c.00.5就是没有属主的状态,下面进行属主分配即可。
disk assign -o netapp01