How can I get subdir's available and total space with df ?

itfanr 发布于 2016/05/28 11:57
阅读 439
收藏 0
For example , there are 10 subdirectories in my root file system,each given 10T.
Then I mountted one to local file system:


mount -t nfs  host11:/dir1  /mnt/nfs -o vers=3 
But, I got 100T total space using df.


My question is if the NFSv3 protocol can only support root filehandle during the nfs3_fsstat?
If so,what about NFSv4?


How can I make it without modifying the nfs-utils code in kernel?

I also asked here : https://github.com/nfs-ganesha/nfs-ganesha/issues/101

Thanks.

返回顶部
顶部