Jonathan Adams
2005-Dec-12 20:01 UTC
[zfs-discuss] Fwd: [osol-bugs] df oddity after large delete
forwarding to zfs-discuss, since it is a better forum. ----- Forwarded message from Peter Tribble <p.tribble at herts.ac.uk> ----- Date: Sun, 11 Dec 2005 13:23:14 PST From: Peter Tribble <p.tribble at herts.ac.uk> Subject: [osol-bugs] df oddity after large delete To: opensolaris-bugs at opensolaris.org Cc: X-Original-To: opensolaris-bugs at opensolaris.org 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 _______________________________________________ opensolaris-bugs mailing list opensolaris-bugs at www.opensolaris.org ----- End forwarded message ----- -- Jonathan Adams, Solaris Kernel Development