After I created an NFS share on the pool (named omnios). In order to work with openvz storage Idid the following
chmod 777 -R poolname/sharename
example
chmod 777 -R omnios/prox3ovz
This gives recursive permission to all the subfolders under omnios pool
Next I did the following
zfs set aclmode=passthrough omnios/prox3ovz
zfs set aclinherit=passthrough-x omnios/prox3ovs
zfs set sharenfs=rw,noaclfab,root_mapping=0,nosuid,root=@192.168.1.0/24 omnios/prox3ovz
KVM works just fine.
Openvz has issues. I created a CT from an ubuntu template (size 122MB). It took 35 minutes. The same template when stored on local storage it was 20 seconds.
Then I backed up the container. It tool 30 minutes.
WHen I backed up a KVM of 230 GB on nfs share it only tool 14 minutes. (Backup size of 26 GB)
So my question is why is it so slow when it comes to openvz stored on NFS share.
By the way. Once the container was created, it worked flawlessly form the NFS share. It is only the backup restore and creation of CT from template that takes extremely long.
Any ideas?
chmod 777 -R poolname/sharename
example
chmod 777 -R omnios/prox3ovz
This gives recursive permission to all the subfolders under omnios pool
Next I did the following
zfs set aclmode=passthrough omnios/prox3ovz
zfs set aclinherit=passthrough-x omnios/prox3ovs
zfs set sharenfs=rw,noaclfab,root_mapping=0,nosuid,root=@192.168.1.0/24 omnios/prox3ovz
KVM works just fine.
Openvz has issues. I created a CT from an ubuntu template (size 122MB). It took 35 minutes. The same template when stored on local storage it was 20 seconds.
Then I backed up the container. It tool 30 minutes.
WHen I backed up a KVM of 230 GB on nfs share it only tool 14 minutes. (Backup size of 26 GB)
So my question is why is it so slow when it comes to openvz stored on NFS share.
By the way. Once the container was created, it worked flawlessly form the NFS share. It is only the backup restore and creation of CT from template that takes extremely long.
Any ideas?