My Oracle Support Banner

zfs(1M) Shows Space Used On Root Filesystem But Unable To Find It With du(1) (Doc ID 1405883.1)

Last updated on MAY 28, 2018

Applies to:

Solaris Operating System - Version 10 8/07 U4 and later
Information in this document applies to any platform.

Symptoms


ZFS is showing that the root pool is almost full but du(1) is unable to find where all of the space is being used.

$ zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
rpool                       268G  5.65G    97K  /rpool
rpool/ROOT                  227G  5.65G    21K  legacy
rpool/ROOT/s10s_u9wos_14a 227G 5.65G 227G /
rpool/dump                 2.00G  5.65G  2.00G  -
rpool/export               4.22G  5.65G  4.22G  /export
rpool/export/home          24.5K  5.65G  24.5K  /export/home
rpool/swap                 2.06G  5.69G  2.02G  -
rpool/testswap             33.0G  6.30G  32.3G  -


So the space is being taken up under the filesystem currently mounted as root, but running a du -shd /.[a-zA-Z]* /* does not find the space.

Cause

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

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


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