Editing Talk:Bind mounts

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
  
 
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.
 
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
 
#!/bin/sh
 
. /etc/vz/vz.conf
 
. /etc/vz/vz.conf
Line 9: Line 8:
 
set -x
 
set -x
 
mount -n -t simfs /usr/src $VE_ROOT/usr/src -o /usr/src
 
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)
  

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: