[SOLVED] Storage.cfg - is it possible to set default options?

fireon

Distinguished Member
Oct 25, 2010
4,603
546
183
Austria/Graz
deepdoc.at
Hello,

we set on NFS storage (only for Backup) always the option manualy in the cfg file:

Code:
nfs: backup
    disable
    path /mnt/pve/backup
    server 2001:460:1f0b:552:25f:1eff:fe72:baf1
    export /sicherung/vmbackup
    content backup
    options rw,sec=sys,noatime,vers=3,soft,timeo=10,retrans=5,actimeo=10,retry=5
    maxfiles 4
Is it possible to set default options in PVE that when we create a new nfs storage they will be used for?

Best Regards
fireon
 
Is it possible to set default options in PVE that when we create a new nfs storage they will be used for?

No. I am not sure it this is useful at all - How often do you create a new storage? I thought this is usually done once when you install the system?
 
Yes, in most reason. But problem is.... ;)

Windowsadmins install the System over PXE, ok, then they use us internal installscripts for all other operations, like updates, extra packages, sudoers, nagios .... also ok, then they add some backupstorage and configure also USVs to the server and the backupstorage. OK. But... for example the power is gone and the PVEhost shutdown after the backupserver then the problem is that the PVE host can't shutdown, the hangs in a not nice state. So, the backupserver comes again on power (energy is back) then the PVEhost shutdown. Not nice.

But this is normal because the HARD and not timedout NFSshare.
Oh yes... i forget... and after that the windowsadmin says it's linux is crap...
So I want to avoid that.