1、
关闭问题存储上的所有虚拟机(注意是所有虚拟机,包括VDC会影响业务)2、停掉vtpstatd(服务会自动挂载存储)
命令:vs_cluster_cmd.sh e "/sf/etc/init.d/vtpstatd stop"
检查:vs_cluster_cmd.sh e "/sf/etc/init.d/vtpstatd status"
3、卸载掉所有主机上挂载的存储
命令:vs_cluster_cmd.sh e "umount /sf/data/存储名称"
检查:vs_cluster_cmd.sh e "mount | grep 存储名称"
4、检查存储:sffsck -C /dev/mapper/存储名称
检查ResuedBlock和ErrorCount是否是0,不是0则需要修复
修复命令:sffsck -a -f /dev/mapper/存储名称
修复完再检查一遍
5、拉起vtpstatd(服务会自动挂载存储)
命令:vs_cluster_cmd.sh e "/sf/etc/init.d/vtpstatd start"
6、启动虚拟机,检查是否正常