Oracle Solaris File Systems and Disk Management (MOSC)

MOSC Banner

df: Output inconsistent between global and non-global zone for zfs/lofs filesystem with snapshot

edited Feb 24, 2010 12:48AM in Oracle Solaris File Systems and Disk Management (MOSC) 4 commentsAnswered ✓
 Hi,
please could you explain that:

A ZFS filesystem with a snapshot that is visible both to the global and a non-gloabl zone (through the lofs mechanism) will give different outputs for the "size" column of the df output. For example:

Before snapshot:
global# df -h -F zfs
Filesystem             size   used  avail capacity  Mounted on
zp                      33G    19K    32G     1%    /zp
zp/data                 33G   967M    32G     3%    /zp/data

After snapshot:
global# zfs list
NAME            USED  AVAIL  REFER  MOUNTPOINT
zp             3.00G  30.2G    19K  /zp
zp/data        3.00G  30.2G  3.00G  /zp/data
zp/data@snap1      0      -  3.00G  -

global# df -h /zp/data

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center