need help - proxmox nfs

kitkat

New Member
Feb 9, 2022
15
0
1
50
Hi all,

I have been trying to figure out how to do this on Proxmox 7

I have a disk that is mounted in proxmox as /mnt/backup and already has files on it (which some are qcow2 disks).
I want to import some of these disk to vm's.
I ready that I should create an NFS share and import the disk.

Issue is im not sure how to create the NFS on the proxmox server and don't want to create a separate VM for this purpose, rather, i would like for Proxmox to share that path so that other Proxmox can access that folder via NFS also.

So basically, have proxmox be the nfs server sharing that drive/path as an nfs share.

everything i have seen on google talks about mounting from an external NFS server like a NAS or something but that's not what I want to do. I want the proxmox to BE the nfs server and share that path to itself and other servers via NFS.

help/guidance would be greatly appreciated.
 
So you want to share a local disk with other PVE hosts in the cluster?
In this case, you need a shared storage. Either NFS or Samba(CIFS) would do the trick.
We don't support setting it up on the PVE host, but this doesn't mean that it is not possible. There are a lot of guides out there on how to do just that, especially if you look for `Debian 11` or `Debian Bullseye`.

If you just want to use it locally on that one host, you could add it as directory storage in Datacenter -> Storage -> Add Directory. This requires that it is already mounted (which is the case here, /mnt/backup).