Page 1 of 1

Greyhole Statistics Math Looks Incorrect

Posted: Fri May 06, 2011 4:08 pm
by ListerD
I've been running some balancing and checking status. It looked to me that there was a discrepancy between the amount of free space shown by the greyhole status and the Amahi storage pool info. Checking the greyhole stats, I saw the following:

Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/gh: 1814G - 1427G = 295G + 0G = 296G
/var/hda/files/drives/drive2/gh: 917G - 480G = 391G + 4G = 395G
/var/hda/files/drives/drive4/gh: 1834G - 1350G = 391G + 4G = 395G
/var/hda/files/drives/drive8/gh: 1834G - 1350G = 391G + 0G = 391G
/var/hda/files/drives/drive11/gh: 1375G - 915G = 391G + 0G = 391G
==========================================
Total: 7774G - 5521G = 1858G + 9G = 1867G


If you do the math, the Total - Used = Free don't add up. Greyhole is showing consistently less free space available. For example, the first line the total free space should be 1814 - 1427 = 387, not 295. Checking space available in GParted matches the 387 rather than the 295, as does Amahi. However, when getting near the end of space in the landing area, the lower Greyhole number is either correct or is blocking file transfers as when I was copying files over last night, it looked like I still had about 90+ GB remaining per Amahi, but I was unable to copy over additional files until running a balance. Can anyone shed some light on why the free space is being reported lower in Greyhole than in either Amahi or other system tools such as GParted, and why greyhole is apparently using this lower number to block file transfers (total supposition on my part, but that is what looks like is happening)?

Thanks!

Re: Greyhole Statistics Math Looks Incorrect

Posted: Fri May 06, 2011 4:24 pm
by lrevxl

Re: Greyhole Statistics Math Looks Incorrect

Posted: Fri May 06, 2011 5:16 pm
by ListerD
I did, but missed the post. Guess I should have searched on math instead of stats. Thanks for the link.