Greyhole Maths?

doogie
Posts: 9
Joined: Thu Mar 03, 2011 9:13 am

Greyhole Maths?

Postby doogie » Thu Mar 03, 2011 10:01 am

Not sure if it's something strange going on with my system, but:-

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

Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/gh: 888G - 819G = 24G + 1G = 24G
/var/hda/files/drives/drive9/gh: 917G - 837G = 34G + 0G = 34G
/var/hda/files/drives/drive1/gh: 917G - 842G = 28G + 1G = 29G
/var/hda/files/drives/drive2/gh: 1375G - 1260G = 45G + 13G = 58G
/var/hda/files/drives/drive3/gh: 1834G - 1696G = 45G + 5G = 50G
/var/hda/files/drives/drive4/gh: 1834G - 1703G = 37G + 7G = 44G
==========================================
Total: 7765G - 7157G = 213G + 27G = 240G

Now 7765-7157 =608 which is a fair way away from 240 - is the rest overhead, or does that look suspicious?

(oh yeah,
2.6.31.5-127.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.9.0-1.x86_64

http://fpaste.org/4HAH/
http://fpaste.org/4RF2/
http://fpaste.org/hSGE/

+----+------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files | 10 | 2011-02-05 23:45:12 | 2011-02-05 23:45:12 |
| 4 | /var/hda/files/drives/drive9 | 10 | 2011-02-08 14:49:10 | 2011-02-08 14:49:10 |
| 5 | /var/hda/files/drives/drive1 | 10 | 2011-02-08 19:14:14 | 2011-02-08 19:14:14 |
| 6 | /var/hda/files/drives/drive2 | 10 | 2011-02-09 14:34:56 | 2011-02-09 14:34:56 |
| 7 | /var/hda/files/drives/drive3 | 10 | 2011-02-10 18:06:13 | 2011-02-10 18:06:13 |
| 8 | /var/hda/files/drives/drive4 | 10 | 2011-02-11 15:02:00 | 2011-02-11 15:02:00 |
+----+------------------------------+--------------+---------------------+---------------------+
http://fpaste.org/rvuU/

Queue is flushed.
)

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

Re: Greyhole Maths?

Postby lrevxl » Fri Mar 04, 2011 7:29 pm

By default 5% of each volume is reserved upon creating the FS. 7765*.05 = 388.25 + 240 = 620 -- or something to that effect, fairly close to the number you were looking for. You can reclaim some of this space if you wish (without reformatting). It is most important to keep reserved space on your system volume, and less important on storage volumes, but as with anything, you do so at your own risk. (This has nothing to do with Greyhole -- it is a default OS behavior.)

I have no connection with the below URL but it does provide a brief explanation of how to change the amount of space reserved on a volume.

http://duopetalflower.blogspot.com/2010 ... m-big.html

doogie
Posts: 9
Joined: Thu Mar 03, 2011 9:13 am

Re: Greyhole Maths?

Postby doogie » Sat Mar 05, 2011 7:47 am

Ah, excellent, thanks. I'll have a read into this and make a decision on whether to tweak that or not.

I'm out of sata connectors at the moment, so am tossing up the whole start replacing smaller drives with 2TB ones, or look to add either more sata or an esata and an external enclosure, but yeah, 5% from all drives seems like a ridiculous overhead, especially when you're talking about 2TB drives!

Who is online

Users browsing this forum: No registered users and 25 guests