1. 查看处于"RECOVER"状态的plex,并强制关闭之,"RECOVER"->"OFF"
vxprint -g appdg | grep ^pl | grep RECOVER | awk '{ print "vxmend -g appdg -o force off " $2}'
vxprint -g appdg | grep ^pl | grep RECOVER | awk '{ print "vxmend -g appdg -o force off " $2}'|sh
2. 查看处于"OFF"状态的plex,并将其拉起,会显示为"STALE" 状态
vxprint -g appdg | grep ^pl | grep OFF | awk '{ print "vxmend -g appdg on " $2}'
vxprint -g appdg | grep ^pl | grep OFF | awk '{ print "vxmend -g appdg on " $2}'|sh
3. 查看处于"STALE"状态的plex,并将其修改为"CLEAN"状态
vxprint -g appdg | grep ^pl | grep STALE | awk '{ print "vxmend -g appdg fix clean " $2}'
vxprint -g appdg | grep ^pl | grep STALE | awk '{ print "vxmend -g appdg fix clean " $2}'|sh
4. Start up dg
vxvol -g appdg startall
阅读(1968) | 评论(0) | 转发(0) |