Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Talk:Bind mounts

287 bytes added, 20:31, 22 December 2012
Where exactly do you add this script?: new section
Here's how to use simfs instead of --bind (helpful if you are using checkpointing or live migration and host FS is "exotic" like xfs.
<source lang="bash">
#!/bin/sh
. /etc/vz/vz.conf
set -x
mount -n -t simfs /usr/src $VE_ROOT/usr/src -o /usr/src
</source>
--[[User:Kir|Kir]] 09:26, 11 July 2011 (UTC)
--[[User:Kir|Kir]] 09:26, 11 July 2011 (UTC)== Where exactly do you add this script? == I'm at a loss as to where this script is to be placed. There is no mention on this page or the referring pages on where this script should be placed in order to have a common shared directory across all nodes.
Anonymous user