another greyhole question

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

another greyhole question

Postby kcgr » Fri Jun 21, 2013 2:40 pm

I was wondering how the system decides when to rebalance.

setup:
(Pooled) (Location) (Total space) (Free space) (%)
not pooled: / 18.3 GB 15.6 GB 85%
pooled (then depooled) /var/hda/files 437.2 GB 129.1 GB 30%
pool /var/hda/files/drives/drive1 1.8 TB 1.8 TB 99%
pool /var/hda/files/drives/drive2 1.8 TB 1.8 TB 99%
pool /var/hda/files/drives/drive3 458.5 GB 458.3 GB 100%

I have 4 drives: the root and the LZ are on one 500gb drive in separate partitions. The other three drives are a 2tb, 2tb and 500gb (drive 1,2,3). Initially the LZ was pooled. As I add files it just keeps filling up, but not moving files out to rebalance across the drives. I tried "greyhole -l" but that didn't work. I then took the LZ out of the pool and let it run friday and saturday and sunday after a greyhole -l command, but nothing changed. When should I expect files to move out of the LZ? I'm sure as a linux newbie I messed something up. I'm about to start moving some videos over and they are 30GB each, so when I see space is starting to get limited in the LZ, I wonder when the files get moved out.

other info: I normally keep this server powered off and use it as a backup for files on my main server.

any thoughts?
thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: another greyhole question

Postby bigfoot65 » Fri Jun 21, 2013 5:04 pm

What version of Greyhole? Also did you run greyhole -f as well?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

Re: another greyhole question

Postby kcgr » Fri Jun 21, 2013 8:03 pm

I am on version 0.9.22

I went ahead and ran greyhole -f .... I'll also let it sit running overnight. I just moved another large folder over so now the LZ is

/var/hda/files 437.2 GB 75.5 GB 17%

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: another greyhole question

Postby bigfoot65 » Fri Jun 21, 2013 8:06 pm

You might consider upgrading Greyhole to the latest version. It fixes some issues that might be part of the cause for your troubles.
https://wiki.amahi.org/index.php/Greyhole_updating
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

Re: another greyhole question

Postby kcgr » Fri Jun 21, 2013 8:31 pm

I did the update then realized I'm apparently on the latest version. I'm on Ubuntu not Fedora (prolly should have mentioned that).

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

Re: another greyhole question

Postby kcgr » Sat Jun 22, 2013 5:42 am

overnight .. no change. The LZ is even more full after my large folder move yesterday in the evening.

LZ is now looking like: /var/hda/files 437.2 GB total 75.5 GB free 17% free

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: another greyhole question

Postby bigfoot65 » Sat Jun 22, 2013 6:48 am

So you are on 0.9.31? The LZ is not part of the storage pool is it? Might check the Greyhole log file too at /var/log directory.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

Re: another greyhole question

Postby kcgr » Sat Jun 22, 2013 9:48 am

I'm glad you asked about the version, since option 1, using the repository just kept me at 0.9.22. So, I thought that was the latest. I've manually updated to 0.9.31.

Then I ran -l anf -f, but nothing. I verified the shares were allocated to the pool and then ran greyhole -S. I got this:
Jun 22 11:25:54 2 stats: Config file parsing failed. Exiting.
Jun 22 11:26:19 4 view-queue: You have no storage_pool_drive defined. Greyhole can't run.
Jun 22 11:26:19 2 view-queue: Config file parsing failed. Exiting.
Jun 22 11:27:39 4 daemon: You have no storage_pool_drive defined. Greyhole can't run.
Jun 22 11:28:35 4 fsck: You have no storage_pool_drive defined. Greyhole can't run.
Jun 22 11:28:35 2 fsck: Config file parsing failed. Exiting.
Jun 22 11:28:43 4 balance: You have no storage_pool_drive defined. Greyhole can't run.
Jun 22 11:28:43 2 balance: Config file parsing failed. Exiting.
Jun 22 11:30:07 4 logs: You have no storage_pool_drive defined. Greyhole can't run.
Jun 22 11:30:07 2 logs: Config file parsing failed. Exiting.

So then I toggled the box allocating each drive to the pool went to each share, clicked the path, then resaved. I believe this updates the greyhole.conf file. Then I reran with -f and -l. Then the occasional -S. It is now moving some large files. When it finishes up, I'll post an update.

Last question while I let this thing run. Is there any plus or minus to having the LZ in the pool. I recall a fellow doing what I did (have to lookup the post, since it had been awhile) and he had no issues. Basically I'm just seeking your opinion of putting the LZ in the pool or not. As you see above, the LZ and root are on separate partitions. I do know not to put the root in the pool.

thank you for the help. I think you have me moving in the right track.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: another greyhole question

Postby bigfoot65 » Sat Jun 22, 2013 12:45 pm

Glad that helped. As for the LZ in the pool, I would say it's a bad idea in most cases. Depends on how big the LZ is and how many files you are storing and moving.

I do not include the LZ in my pool. Most of the time the LZ and root are the same drive.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

kcgr
Posts: 38
Joined: Fri Jun 21, 2013 2:26 pm

Re: another greyhole question

Postby kcgr » Sat Jun 22, 2013 12:47 pm

Looks like the pool is working (well, at least when I force it to balance). Since it thought the pool didn't exist, perhaps it'll handle the movement automatically for now on. The latest readings (I've been backing up so the space used doesn't match up):

/ 18.3 GB 15.6 GB 85%
/var/hda/files 437.2 GB 432 GB 99% (and shrinking as I type this)
/var/hda/files/drives/drive1 1.8 TB 1.6 TB 89%
/var/hda/files/drives/drive2 1.8 TB 1.6 TB 89%
/var/hda/files/drives/drive3 458.5 GB 458.3 GB 100%

thanks again

have a good weekend.

(edit reason: didn't refresh to see admin post)

Who is online

Users browsing this forum: No registered users and 21 guests