> Try to unmount your volume for each active name space:
> vnamespace -e [namespace of context <xid>] umount /your/lvm/volume
i "scripted" it like this:
gandalf:~# cat /usr/local/bin/unmount_vserver
#!/bin/sh
if [ -n "$1" ]
then
for i in `ls -1 /proc/virtual | egrep -v 'info|status'`; do
vnamespace -e $i umount $1; done
exit 0;
fi
exit 1;
you just do unmount_vserver /vservers/bleh
and it makes sure it's unmounted in all namespaces.
it doesn't do much checking, but you get the picture, feel free to add
more sanity/safety checks ;)
greetz,
--
harry
aka Rik Bobbaers
K.U.Leuven - LUDIT -=- Tel: +32 485 52 71 50
[EMAIL PROTECTED] -=- http://harry.ulyssis.org
"Work hard and do your best, it'll make it easier for the rest"
-- Garfield
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver