My Oracle Support Banner

Disk Space for NFS on ZFS explained (Doc ID 2223897.1)

Last updated on MARCH 12, 2021

Applies to:

Solaris Operating System
Oracle ZFS Storage
Information in this document applies to any platform.


The commands "du" and "df" as well as "ls" all have output concerned with the amount of storage a file occupies.  In combination with ZFS or the ZFS Storage Array as the underlying storage architecture, and particularly when NFS is involved, this output is often the source for confusion.  This document describes the output of these commands and shows some simple examples to address this confusion.


This document addresses these questions:

This document does not go into the details of ZFS space management or space calculations.  Please see the list of referenced documents for more information on this topic.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Command Overview
 Simple Example
 Complex Examples
 Example with Compression
 Example with Quotas
 Example with Snapshots
 Example with Clones

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.