Greyhole Statistics Math Looks Incorrect

User avatar
ListerD
Posts: 11
Joined: Thu May 05, 2011 9:58 pm

Greyhole Statistics Math Looks Incorrect

Postby ListerD » Fri May 06, 2011 4:08 pm

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!
Amahi-HDA: Intel Q6600, 6 GB RAM, Radeon HD3870 512 MB video 12 TB storage (SansDigital TowerRaid TR5M+B attached). Fedora14
HTPC: Intel 2700K, 16 GB RAM, Radeon HD6870 1 GB video. Win7 Home Premium x64
Other Systems: 13" Macbook OSX Leopard, IBM t42 Ubuntu 10.10

User avatar
lrevxl
Posts: 82
Joined: Fri Mar 04, 2011 7:23 pm
Location: Chicago, IL, USA
Contact:

Re: Greyhole Statistics Math Looks Incorrect

Postby lrevxl » Fri May 06, 2011 4:24 pm


User avatar
ListerD
Posts: 11
Joined: Thu May 05, 2011 9:58 pm

Re: Greyhole Statistics Math Looks Incorrect

Postby ListerD » Fri May 06, 2011 5:16 pm

I did, but missed the post. Guess I should have searched on math instead of stats. Thanks for the link.
Amahi-HDA: Intel Q6600, 6 GB RAM, Radeon HD3870 512 MB video 12 TB storage (SansDigital TowerRaid TR5M+B attached). Fedora14
HTPC: Intel 2700K, 16 GB RAM, Radeon HD6870 1 GB video. Win7 Home Premium x64
Other Systems: 13" Macbook OSX Leopard, IBM t42 Ubuntu 10.10

Who is online

Users browsing this forum: No registered users and 12 guests