PLDWWW: Vserver
glen
glen at pld-linux.org
Mon Apr 23 17:08:13 CEST 2007
Author: glen Date: Mon Apr 23 15:08:13 2007 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Vserver?action=diff&rev2=75&rev1=74
---- Log message:
---- Page affected: Vserver
---- Diffs:
================================================================
done
}}}
+ and similarly to umount /opt/storage on all running vservers:
+ {{{
+ for a in /proc/virtual/[0-9]*; do \
+ xid=$(basename $a /); \
+ echo "xid: $xid"; \
+ vnamespace -e $xid -- umount /opt/storage; \
+ done
+ }}}
+
+ the last sample is needed if you want to umount /opt/storage completely on host, but as vservers inherit mounts at startup (even they don't use them) you can't umount /opt/storage.
=== squid won't start: FATAL: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted ===
{{{
More information about the pld-cvs-commit
mailing list