1)移除owner,需要到node模式下,键入如下命令:
Cluster1-01*> options disk.auto_assign
disk.auto_assign off (value might be overwritten in takeover)
Cluster1-01*>
Cluster1-01*> disk remove_ownership 0b.00.11P1
Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
Cluster1-01*>
Cluster1-01*> disk remove_ownership 0b.00.11P2
disk remove_ownership: Disk 0b.00.11P2 is already unowned.
disk remove_ownership: Remove ownership failed because the specified disks are already unowned.
Cluster1-01*>
Cluster1-01*> disk remove_ownership 0b.00.11
Volumes must be taken offline. Are all impacted volumes offline(y/n)?? y
2)分配磁盘
Cluster1::storage disk> assign -disk 1.0.11 -owner Cluster1-02
对于已经将P2使用到Node1 root volume的,再将该磁盘的P1分区,owner分配给node2,需要在node1的nodeshell模式下,使用如下命令:
Node-01> disk assign 0b.00.1P1 -o Node-02