1. 重写学生机分区表,并重启
for i in {1..20}
do ssh root@f$i "dd if=/dev/zero of=/dev/sda bs=1M count=100;reboot"
done
2. 关闭所有学生机
for i in {1..20}
do ssh root@f$i "init 0"
done
for i in {1..20}
do ssh root@f$i "dd if=/dev/zero of=/dev/sda bs=1M count=100;reboot"
done
2. 关闭所有学生机
for i in {1..20}
do ssh root@f$i "init 0"
done
没有评论:
发表评论