Für mich hat es wie beschrieben großartig funktioniert... möge aber natürlich jeder selbst entscheiden, was für den aktuellen Einsatzzweck hilfreich erscheint.
Ich möchte den Thread nochmals aufwärmen, weil ich durch ein anstehendes Upgrade von Proxmox 5.x auf Proxmox 6.x gleich die Server-Hardware tauschen wollte, was auch erfolgreich durchgeführt wurde:
Ich habe also einen neuen bare-metal Proxmox-Server, den ich mit einem aktuellen ISO (hier 6.2)...
Ganz dunkel erinnere ich mich, darüber schon mal etwas gelesen zu haben... vielleicht hilft ja dieser Post:
https://forum.proxmox.com/threads/vzdump-speed.3648/
Ralph
@jonas: Wie bereits im ersten Posting erwähnt - es ist kein kein Cluster vorhanden. Es gibt hardwaremäßig nur diesen einen Server... trotzdem vielen Dank für den Hinweis!
@HBO: Völlig richtig - nur diesen einen Server. Und wenn der abrauchen sollte, kommt eine neue (möglichst ähnliche) Maschine...
Wir haben ein eher simples Setup (kleine Firma):
Ein Proxmox-Server, bei dem 4 virtuelle Linux-Server auf einem Synology NFS-Storage abgelegt sind. Also kein Cluster.
Habe ich eine Chance, wenn der Server ausfallen sollte und ersetzt werden muss, die virtuellen Maschinen vom dann neuen Server...
Could someone with a working configuration (Proxmox, Synology NFS, Linux Container on that NFS share) please crosscheck my settings on the Synology as posted in #17?
I just can't get it working...
I tried...
vers=3 -> "cap_set_file error" during yum update
vers=3,noacl -> "cap_set_file_error" during yum update
vers=4 -> "Cannot change ownership to uid 0, gid 0: Invalid argument" during creation of the container
The settings on the RackStation where the same as in post #17 for all 3...
What about the setting "Apply default UNIX permissions"? Checked or unchecked?
What about edit /etc/exports and change no_root_squash into all_squash?
Here are my current settings:
NFS rule:
- Privilege: Read/Write
- Squash: No mapping
- Security: sys
- Enable asynchronous: Checked
- Allow...
I just found something in the Synology control panel:
File Services - Win/Mac/NFS - NFS Service - Advanced Settings - Apply default UNIX permissions
This is activated... Good or bad?
I tried options vers=4,noacl and enabled NFSv4 on the RackStation:
Now I can't even create a new container. I get tons of these errors:
"Cannot change ownership to uid 0, gid 0: Invalid argument"
This didn't help - I still get the same error...
/etc/pve/storage.cfg:
dir: local
path /var/lib/vz
content images,iso,vztmpl,backup,rootdir
maxfiles 0
nfs: RackStation1
path /mnt/pve/RackStation1
server 192.xxx.xxx.xxx
export...
One more question:
Would it be better to use NFS v4? The RackStation is used by Proxmox only, there are no other services running on it, just NFS.
I would add the option vers=4 in Proxmox and enable v4 on the RackStation. Anything else?
Ralph
I can try it tomorrow... on a sunday it's ok to reboot the server :)
... but: shouldn't this work with the default options that proxmox uses?
I might be wrong but I think it is a fairly common task to use NFS-storage for a container (for others, not for me). So the default options should be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.