voting disk 的添加,见下面的例子:
使用crsctl来添加,唯一要注意的是需要指定-force 参数
[root@lxvcs-8 ~]# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]# crsctl query css votedisk
0. 0 /dev/vx/rdsk/ocrdg/vdvol
located 1 votedisk(s).
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]# crsctl add css votedisk /dev/vx/rdsk/ocrdg/vdvol1
Cluster is not in a ready state for online disk addition
[root@lxvcs-8 ~]# crsctl add css votedisk /dev/vx/rdsk/ocrdg/vdvol1 -force
Now formatting voting disk: /dev/vx/rdsk/ocrdg/vdvol1
successful addition of votedisk /dev/vx/rdsk/ocrdg/vdvol1.
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]# crsctl query css votedisk
0. 0 /dev/vx/rdsk/ocrdg/vdvol
1. 0 /dev/vx/rdsk/ocrdg/vdvol1
located 2 votedisk(s).
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
voting disk 的删除,同上,同样需要 -force参数
[root@lxvcs-8 ~]# crsctl query css votedisk
0. 0 /dev/vx/rdsk/ocrdg/vdvol
1. 0 /dev/vx/rdsk/ocrdg/vdvol1
located 2 votedisk(s).
[root@lxvcs-8 ~]# crsctl delete css votedisk /dev/vx/rdsk/ocrdg/vdvol1
Cluster is not in a ready state for online disk removal
[root@lxvcs-8 ~]#
[root@lxvcs-8 ~]# crsctl delete css votedisk /dev/vx/rdsk/ocrdg/vdvol1 -force
successful deletion of votedisk /dev/vx/rdsk/ocrdg/vdvol1.
阅读(819) | 评论(0) | 转发(0) |