X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pl_mop.sh;h=e40b872d31615b3ee48379ab621cd99265ff9394;hb=10c81030eb73f2cd7d8ac83565ec14932cf6f7a5;hp=2fca18b6ce0a8a3725c20c751da14b7bcf4e6bbe;hpb=59308028fd87e3ab47c8b3b95b50f83584be45ef;p=mom.git diff --git a/pl_mop.sh b/pl_mop.sh index 2fca18b..e40b872 100755 --- a/pl_mop.sh +++ b/pl_mop.sh @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: pl_mop.sh,v 1.2 2005/11/03 17:23:25 mlhuang Exp $ +# $Id: pl_mop.sh,v 1.3 2005/12/01 23:38:58 mlhuang Exp $ # PATH=/sbin:/usr/sbin:$PATH @@ -128,8 +128,11 @@ fix_vservers() { # blow away the vserver cache rm -rf /vservers/.vcache/* - # re-mount /vservers - mount /vservers + # XXX re-mount /vservers + # mount /vservers + + # shutdown instead to avoid clearing disk quotas + shutdown -r now "/vservers filesystem repaired, rebooting" else echo "Unable to unmount /vservers!" >&2 fi