[SOLVED]
Hi
I have a new PVE 3.1 server.
I have a second RAID array with an LVM volume mounted in fstab as /FP02storage
That is fine and I can use that volume.
I am trying to bind mount it into VM 100 as /FP02storage
There is a 100.mount file with the following script:
however when I attempt to start VM 100 it won't start and the following task status is posted:
I tried creating the mount point inside /var/lib/vz/root/100/ also, but that didn't work either.
Where am I going wrong?
Cheers.
Hi
I have a new PVE 3.1 server.
I have a second RAID array with an LVM volume mounted in fstab as /FP02storage
That is fine and I can use that volume.
I am trying to bind mount it into VM 100 as /FP02storage
There is a 100.mount file with the following script:
Code:
#!/bin/bash
. /etc/vz/vz.conf
. ${VE_CONFFILE}
SRC1=/FP02storage
DST1=/FP02storage
mount -n -t simfs ${SRC1} ${VE_ROOT}${DST1} -o ${SRC1}
however when I attempt to start VM 100 it won't start and the following task status is posted:
Code:
Starting container ...
mount: mount point /var/lib/vz/root/100/FP02storage does not exist
Error executing mount script /etc/pve/openvz/100.mount
TASK ERROR: command 'vzctl start 100' failed: exit code 79
I tried creating the mount point inside /var/lib/vz/root/100/ also, but that didn't work either.
Where am I going wrong?
Cheers.
Last edited: