different size of NFS storage

de Thysebaert

Well-Known Member
Mar 12, 2017
47
4
48
67
Hi
I just mount a NFS server on ubuntu 18.04 to create an NFS storage for my backup
The free size for backup is 6.4 T
When mount this NFS share, the size on proxmox for this mount point is 21G ...
What's wrong ? Is ther some parameters to use in the export file on the NFS server ?

On the NFS server my export config is :
/mnt/store01 192.168.3.0/24(rw,sync,no_root_squash,no_subtree_check)
df -H command on NFS server is :
/dev/md4 6.0T 61M 5.7T 1% /home

The mount command on proxmox return
192.168.3.10:/mnt/store01 on /mnt/pve/store01 type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.3.10,mountvers=3,mountport=36843,mountproto=udp,local_lock=none,addr=192.168.3.10)
df -H on proxmox return :
192.168.3.10:/mnt/store01 21G 19G 1.4G 94% /mnt/pve/store01

thx
 
/mnt/store01 192.168.3.0/24(rw,sync,no_root_squash,no_subtree_check)
df -H command on NFS server is :
/dev/md4 6.0T 61M 5.7T 1% /home
it seems you export not your 6TB since that is mounted on /home but you export /mnt/store01
 
it seems you export not your 6TB since that is mounted on /home but you export /mnt/store01

thankx
/dev/md4 6.0T 61M 5.7T 1% /home, this partition have 6 T and the directory exported (store01) is in the /home directory, than I think all disk space is available for /home/store01 ... ????
 
to complete this information, store01 is in /home
du -h on store01 give
root@store01:/mnt# du -h
16G ./store01/dump
4.0K ./store01/images
16G ./store01
16G .

I Think all disk space ic enable for export ... Why proxmox display another value ?
 
from your posts it looks to me that the share you are exporting on the NFS server is `/mnt/store01`, not `/home/` (or `/home/store01`)

root@store01:/mnt# du -h
you run the command in `/mnt`, not `/home`.

please post the complete output of:
* `df -h`
* `mount`
* `cat /etc/exports`
on the NFS-server.
 
from your posts it looks to me that the share you are exporting on the NFS server is `/mnt/store01`, not `/home/` (or `/home/store01`)


you run the command in `/mnt`, not `/home`.

please post the complete output of:
* `df -h`
* `mount`
* `cat /etc/exports`
on the NFS-server.


You have right, I just make a error with my exported directory.... Now all in srunning fine. Tanks again