About unmounting: I found that killing all chrooted programs like this: for i in [0-9]* ; do if ls -dl $i/root | grep -q /opt ; then kill $i ; fi ; done And then unmounting in the correct order (basically reversed order of mounting), works everytime.
ls: [0-9]*/root: No such file or directory