Changes
Jump to:
navigation
,
search
← Older edit
Newer edit →
Bind mounts
9 bytes added
,
13:38, 11 July 2011
use SRC and DEST
cat << EOF > /etc/vz/conf/${CTID}.mount
#!/bin/bash
source
.
/etc/vz/vz.conf
source
.
${VE_CONFFILE}
SRC=/mnt/disk
DST=/mnt/disk
mount -n -t simfs
/mnt/disk
${SRC}
${VE_ROOT}
/mnt/disk
${DST}
-o
/mnt/disk
${SRC}
EOF
chmod +x /etc/vz/conf/${CTID}.mount
Kir
Bureaucrats
,
Administrators
6,534
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
FAQ
Installation
OS templates
Latest news
Recent changes
Contribute
Services
Source code
Report a bug
Downloads
Download mirrors
OpenVz7 usage stats
OpenVz6 usage stats
Merchandise
Donate
Tools
Special pages
Printable version