Hi.
I'm trying what you suggest here, but I don't make it to work.
My mount script:#!/bin/bash
mount --bind '/vz/mounts/gridlog/psql' /vz/root/3000'/var/lib/pgsql'
All directories exist:$ ls -lhd /vz/mounts/gridlog/psql /vz/root/var/lib/pgsql
drwxr-x--- 2 root root 4.0K May 7 19:40 /vz/mounts/gridlog/psql/
drwxr-x--- 2 root root 4.0K May 7 20:45 /vz/root/3000/var/lib/pgsql/
But I get the following error if I try to start VE 3000:Quote: |
Starting VE ...
mount: mount point /vz/root/3000/var/lib/pgsql does not exist
|
It doesn't work if I replace /vz/root with /vz/private, or I change the permissions or I add '-n' to the mount invocation.
I'm using vzctl-3.0.22-1 . Any ideas?
Thanks a lot.