📁File Sharing
This is a tutorial to setup and use an NFS file share on a Proxmox server.
This tutorial only covers NFS but there are other file sharing methods like SSHFS, SMB, FTP.
Personnaly I chose NFS because it was the most performant option (see benchmarks below). Moreover, I use Tailscale for external access, so using SSHFS would have resulted in double encryption. Though SSHFS could be a good choice because it needs no server config, if you're interested in using SSHFS, the server can be any machine that has SSH server (and for windows clients, check out SSHFS-Win: Mount SSH Host as Network Drive).
NFS Server
Create Privileged Cockpit LXC (during setup, say yes to 45drives plugin): https://community-scripts.github.io/ProxmoxVE/scripts?id=cockpit
Once you're logged it into Cockpit dashboard (https://192.168.1.90:9090/file-sharing), Create an NFS Share (don't create in on '/') (make sure the permissions are ok).
NFS Client
Windows NFS Client
Enable NFS Client on your Windows PC:
Open an Admin Powershell and paste this in:
Open Powershell and paste this in:
Config > check NFS > Install Features
Wait for install to finish, you can see in the CMD when its done
DON'T DO IT, I included it just for reference but I tried it, it was laggy, slow (2x slower than method 1/2)
choco install nfs-win
Note that after this, you won't have mount command, so you'll use:
Mount the network drive automatically, press
Win+Rthenshell:startupCreate a
.batfile with
You can now either reboot or double click the .bat file to mount the NFS Network Drive.
Linux NFS Client
Install NFS package
Créez votre point de montage
Ouvrez le fichier
/etc/fstab
Ajoutez la ligne suivante à la fin du fichier, en remplaçant l'adresse IP et les chemins :
Testez le montage sans redémarrer :
Last updated