Article ID: 3512, created on Dec 20, 2007, last review on Sep 5, 2014

  • Applies to:
  • Virtuozzo containers for Linux


I ran the command vzctl set 101 --bindmount_add "/share:share" --setmode restart --save, but the "/share" folder from the host OS did not appear inside Container #101 after restarting.


The destination path in the bindmount_add option must be absolute, not relative.

The correct command to mount the "/share" folder from the host OS into Container #101 is as follows: # vzctl set 101 --bindmount_add "/share:/share" --setmode restart --save

Be aware that '--setmode restart' will restart container after applying any parameters requiring that the Container be rebooted for them to take effect. Use '--setmode ignore' to restart container later manually.

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF