GNU bug report logs -
#53037
df/total-verify fail with cephfs
Previous Next
Full log
View this message in rfc822 format
From Paul Eggert <eggert <at> cs.ucla.edu>, Wed, Jan 05, 2022 at 01:05:03PM -0800:
> On 1/5/22 11:27, Dylan Simon wrote:
> > Only adding rows with all known values
> > might make sense but would still break the test (wrong total total instead):
> >
> > if (known_value (iv->total) && known_value (iv->available)) {
> > grand_fsu.fsu_files += iv->total;
> > grand_fsu.fsu_ffree += iv->available;
> > }
>
> Sorry, I'm not quite following. If you make the above change, what will the
> output look like instead? And how will that break the test?
Then it will look like this (I'm inferring, haven't actually tried it):
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 20971520 529832 20441688 3% /
ceph 901006598 - - - /mnt/ceph
total 20971520 529832 20441688 3% -
That is, the ceph line will just be excluded completely from the total. Now
the used and free lines add up correctly, but total Inodes does not.
This bug report was last modified 3 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.