Hi,
I found a few articles specific to OmniOS, specifically this one - http://forum.proxmox.com/threads/15446-OpenVZ-Container-in-Napp-IT-OmniOS-NFS, but I am still unable to restore to the NFS storage devices.
Quick checklist:
- options vers=3,tcp in /etc/pve/storage.conf for my nfs volumes
- sharenfs properties for nfs volumes (have 2 one for private/images and the other for backups/templates
- ls -V for pool directories
- From proxmox, if I mkdir in one of the mount points, the directory is created correctly, the only difference is the Inherit property (I)?
- hosts file from proxmox node(s)
- hosts from omnios
- I've rebooted the OmniOS box after all teh changes.
- I've tried to unmount/remount on proxmox by unchecking the Enable, running umount from the CLI on proxmox, and then re-enabling in Proxmox. This seems to remount the point.
When trying to restore (to migrate storage) or create new container, I'm getting this in the window: (from restore)
Not sure what else to try. It seems the only thing I can't get to explicitly work is the no_root_squash, but that seems to be an invalid option in OmniOS...
Thanks in advance,
Carlos
I found a few articles specific to OmniOS, specifically this one - http://forum.proxmox.com/threads/15446-OpenVZ-Container-in-Napp-IT-OmniOS-NFS, but I am still unable to restore to the NFS storage devices.
Quick checklist:
- options vers=3,tcp in /etc/pve/storage.conf for my nfs volumes
- sharenfs properties for nfs volumes (have 2 one for private/images and the other for backups/templates
Code:
root@rundc1-zfs01:/pool1# zfs get sharenfs /pool1/pvestorage
NAME PROPERTY VALUE SOURCE
pool1/pvestorage sharenfs rw,root=@172.30.30.0/24 local
Code:
root@rundc1-zfs01:/pool1# zfs get sharenfs /pool1/pvebackup
NAME PROPERTY VALUE SOURCE
pool1/pvebackup sharenfs rw,root=@172.30.30.0/24 local
- ls -V for pool directories
Code:
root@rundc1-zfs01:/pool1# /usr/bin/ls -V /pool1/pvestorage/
total 132
drwxrwxrwx+ 2 root root 2 Oct 28 20:01 dump
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
drwxrwxrwx+ 2 root root 2 Oct 28 20:01 images
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
drwxrwxrwx+ 2 root root 2 Oct 30 00:18 private
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWcCos:fd-----:allow
drwxrwxrwx+ 4 root root 4 Oct 28 20:01 template
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
root@rundc1-zfs01:/pool1# /usr/bin/ls -V /pool1/pvebackup
total 132
drwxrwxrwx+ 3 root root 260 Oct 29 22:48 dump
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
drwxrwxrwx+ 2 root root 2 Oct 27 08:38 images
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
drwxrwxrwx+ 2 root root 2 Oct 30 00:15 private
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWcCos:fd-----:allow
drwxrwxrwx+ 4 root root 4 Oct 27 08:38 template
user:root:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWc--s:fd-----:allow
Code:
drwxrwxrwx+ 2 root root 2 Oct 30 00:24 test
user:root:rwxpdDaARWcCos:fd----I:allow
everyone@:rwxpdDaARWc--s:fd----I:allow
- hosts file from proxmox node(s)
Code:
root@pve01:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
172.30.30.90 pve01.runcentral.com pve01 pvelocalhost
172.30.30.91 rundc1-pve02.runcentral.com rundc1-pve02
- hosts from omnios
Code:
::1 localhost
127.0.0.1 localhost loghost
127.0.0.1 rundc1-zfs01
172.31.31.14 pFFFF.ibp0
172.30.30.33 rundc1-zfs01
127.0.0.1 rundc1-zfs01
- I've rebooted the OmniOS box after all teh changes.
- I've tried to unmount/remount on proxmox by unchecking the Enable, running umount from the CLI on proxmox, and then re-enabling in Proxmox. This seems to remount the point.
When trying to restore (to migrate storage) or create new container, I'm getting this in the window: (from restore)
Code:
extracting archive '/mnt/pve/zfs01-pvebackup/dump/vzdump-openvz-109-2013_10_29-21_56_19.tar.lzo'
tar: ./opt: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: ./usr/sbin/iptables-apply: Cannot open: Operation not permitted
tar: ./usr/sbin/setvesablank: Cannot open: Operation not permitted
...
tar: ./aquota.user: Cannot open: Operation not permitted
tar: ./run/mount/utab: Cannot open: Operation not permitted
tar: ./run/mount: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: ./run/.run-transition: Cannot open: Operation not permitted
tar: ./run: Cannot change mode to rwxr-xr-x: Operation not permitted
Total bytes read: 2325770240 (2.2GiB, 54MiB/s)
Not sure what else to try. It seems the only thing I can't get to explicitly work is the no_root_squash, but that seems to be an invalid option in OmniOS...
Thanks in advance,
Carlos