Stopping clients: client-32vm1,client-32vm2.lab.whamcloud.com /mnt/lustre2 (opts:)
CMD: client-32vm1,client-32vm2.lab.whamcloud.com running=\$(grep -c /mnt/lustre2' ' /proc/mounts);
if [ \$running -ne 0 ] ; then
echo Stopping client \$(hostname) /mnt/lustre2 opts:;
lsof -t /mnt/lustre2 || need_kill=no;
if [ x != x -a x\$need_kill != xno ]; then
pids=\$(lsof -t /mnt/lustre2 | sort -u);
if [ -n \"\$pids\" ]; then
kill -9 \$pids;
fi
fi;
busy=\$(umount /mnt/lustre2 2>&1 | grep -c busy);
if [ \$busy -ne 0 ] ; then
echo /mnt/lustre2 is still busy, wait one second && sleep 1;
umount /mnt/lustre2;
fi
fi
client-32vm1: umount: /mnt/lustre2: device is busy
client-32vm1: umount: /mnt/lustre2: device is busy
client-32vm2: umount: /mnt/lustre2: device is busy
client-32vm2: umount: /mnt/lustre2: device is busy
Stopping client client-32vm1.lab.whamcloud.com /mnt/lustre2 opts:
7597
16778
/mnt/lustre2 is still busy, wait one second
Stopping client client-32vm2.lab.whamcloud.com /mnt/lustre2 opts:
5040
7387
15521
19276
/mnt/lustre2 is still busy, wait one second