nfs share size

droidus

Member
Apr 5, 2020
107
2
23
34
I linked to a nfs share on my network. Doing a df . -h inside of that directory shows the size to be 892G, with 17G used. PBS reports this though:
6.95% (1.62 GiB of 23.25 GiB)
What am I missing?
 
where does it report? on the datastore?
did you create the datastore before mounting the nfs? (if yes the nfs mount will have 'overmounted' the datastore)
 
I did not. Just to make sure I understand you correctly, here is what I did: Create qnap NFS share. Mounted that shared nfs folder on PBS. Then added that folder as my new "qnap" datastore".

2021-02-12_13-36.png
 
can you show the output of
'df -h' and 'mount' ?
 
Filesystem Size Used Avail Use% Mounted on
192.168.2.3:/pve-backup 892G 17G 876G 2% /mnt/qnap


192.168.2.3:/pve-backup on /mnt/qnap type nfs4 (rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.2,local_lock=none,addr=192.168.2.3)
 
does it help when you restart 'proxmox-backup' and 'proxmox-backup-proxy' ? caution this will abort all running tasks (backups,restores,etc.)
 
I booted it up, and the folder did not have the qnap mounted. I mounted it up, and now it looks like it is working. Strange though, because it was not working before when I had it mounted.