副本一致性检查
数据完整性检查VS2.8前:vs_cluster_cmd.sh e '/sf/vs/bin/vs_localhost_checkok.js check_all; echo $?'
数据完整性检查VS2.8:vs_cluster_cmd.sh x '/sf/vs/bin/vs_localhost_checkok.js check_all; echo $?'
数据完整性检查VS3.X:for b in $(gluster v i | grep host- | awk -F: '{print $1}' | grep -Eo '[0-9]+'); do vs_rpc_tool --cmd check --brickno "$b"; done
检查虚拟存储副本一致性,说明: 所有加入VS中的主机都返回0表示正常
软拔盘
lsblk -d-----fdisk -l --------df -h
source /sf/vs/bin/vs_common_disk_interface.sh ; remove_one_disk /dev/sdX(x代表磁盘盘符)
vs_hotplug.sh(恢复软拔磁盘)