[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-bugs
Subject:    [osol-bugs] df oddity after large delete
From:       p.tribble () herts ! ac ! uk (Peter Tribble)
Date:       2005-12-11 13:24:58
Message-ID: 26649349.1134336295046.JavaMail.suncom () oss1
[Download RAW message or body]

An interesting oddity reported by df -kl after installing nv_27.

The process was as follows: after installing the system, creating a zfs pool,
and some zfs filesystems, I copied across a 12G file onto /var/tmp and
untarred it into /export/people. After this df reports (uninteresting
lines skipped):

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s0    30254974 20818448 9133977    70%    /
export/people        34332672 12245209 22087298    36%    /export/people

I then delete the 12G file, and get output that makes no sense:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s0    30254974 18446744073708696984 30807057 61586813333841% /
export/people        34332672 12245209 22087298    36%    /export/people

Wait a few seconds and try again, this time it's wrong but in the opposite
direction:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s0    30254974 2076984 27875441     7%    /
export/people        34332672 12245209 22087298    36%    /export/people

After a few seconds it settles down to the right answer:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s0    30254974 8610776 21341649    29%    /
export/people        34332672 12245209 22087298    36%    /export/people

But why did it go all pear-shaped in the middle?

(Presumably it's not df, I'm expecting that it's just presenting statvfs
information.)

-Peter Tribble
This message posted from opensolaris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic