diff --git a/cmd/fs-v1.go b/cmd/fs-v1.go index adcdb7542..224bb9bf2 100644 --- a/cmd/fs-v1.go +++ b/cmd/fs-v1.go @@ -199,7 +199,7 @@ func (fs fsObjects) checkDiskFree() (err error) { // are allocated based on available disk space. For example CephFS, StoreNext CVFS, AzureFile driver. // Allow for the available disk to be separately validate and we will validate inodes only if // total inodes are provided by the underlying filesystem. - if di.Files != 0 { + if di.Files != 0 && di.FSType != "NFS" { availableFiles := int64(di.Ffree) if availableFiles <= fs.minFreeInodes { return errDiskFull diff --git a/cmd/posix.go b/cmd/posix.go index cc4ff340f..0a1969fda 100644 --- a/cmd/posix.go +++ b/cmd/posix.go @@ -177,7 +177,7 @@ func (s *posix) checkDiskFree() (err error) { // are allocated based on available disk space. For example CephFS, StoreNext CVFS, AzureFile driver. // Allow for the available disk to be separately validate and we will validate inodes only if // total inodes are provided by the underlying filesystem. - if di.Files != 0 { + if di.Files != 0 && di.FSType != "NFS" { availableFiles := int64(di.Ffree) if availableFiles <= s.minFreeInodes { return errDiskFull