Date: Wed, 18 Aug 2010 21:08:56 -0400 From: jhell <jhell@DataIX.net> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-current@freebsd.org, Marian Hettwer <MH@kernel32.de> Subject: Re: 8.1-release + zfs v15 df(1) hangs Message-ID: <4C6C8428.70508@DataIX.net> In-Reply-To: <4C6C38A3.7080900@icyb.net.ua> References: <4C6B987F.5050703@kernel32.de> <4C6BF9B0.9070900@icyb.net.ua> <4C6C2F7A.5060908@kernel32.de> <4C6C38A3.7080900@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/18/2010 15:46, Andriy Gapon wrote:
> on 18/08/2010 22:07 Marian Hettwer said the following:
>> I'll try and reproduce that tomorrow. I would say, a hanging nfs mount
>> shouldn't lead to a hanging around df(1).
>
> See df -n.
>
Going with this & making an addition.
I usually add this to my periodic.conf:
daily_status_disks_df_flags="-h -i -t ufs,zfs"
Adding '-c' for a system that has ZFS produces results that are not
correct for a total, but stating it more for reference. It might make
sense to patch df(1) so it looks at the begging portion of the
file-system up to the first '/' and get the value for free and used from
that but this is tricky when refreserved, quota and other properties
come into play and is a little beyond what df is meant for. But that
subject is for another thread.
I do wonder if it would make sense to just split the daily_status_disks*
into daily_status_{FILESYSTEM} to look like this
daily_status_ufs_df_flags etc... and keep daily_status_disks_df to be
defined as daily_status_disks_df="ufs zfs xfs"
Ignore random babbling meant to spur thought. ;)
Regards,
- --
jhell,v
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMbIQnAAoJEJBXh4mJ2FR+1lkH/3UbwkUE0L7AbivsIc1bjZA6
R+6lVv80xquXrgxZiMZWAhd40fqaduztM9hWzicL2yEVIsg+lp1WE4IRo2pyUdFs
ZTDsa3RcDpXeTt2NmUdMHefd0RC0aRrrAmf1JGifUs2/UNHpT/5PP1fIl783P71J
z8VFNcGcCmCSUcSdg8I14LDoFAqfbA0DkpTDyYrQVcHmNEp7aBgvJBNF+9/3y4R9
wC6+CbPVy93L3yOmxIfEM88oHtq4zfMRLcNreMAx+bQntzM7bA2xJrXV8Zkt5Jok
RFqE7TScKyE89YulkosSFMs1OK0SwTFDHZdAIO4mM4V9mVcaaZ8iWTiGrlZRxoQ=
=Kf91
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6C8428.70508>
