Balance Disks

othey
Posts: 28
Joined: Fri Oct 22, 2010 2:57 am

Balance Disks

Postby othey » Thu Jul 05, 2012 2:40 am

Hi I have just installed ubuntu Amahi :), I am in the process of transferring a few TB of files into the storage pool.

I have added 2 hard drives a 2tb and a 1tb so far,Image

But for some reason I cant get greyhole to balance the storage load I have tried sudo greyhole -l to balance but that doesn't seem to transfer files to drive2 also ran --fsck

Anyone know how to make it balance? I still have another 7TB of hard drives/Data to add.

othey
Posts: 28
Joined: Fri Oct 22, 2010 2:57 am

Re: Balance Disks

Postby othey » Thu Jul 05, 2012 3:43 am

Ok I fixed it I had to remove the drive from the storage pool and then re -add it for it to balance not sure why it wasn't working before drive 2 had gh files in its dir.

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

Re: Balance Disks

Postby bigfoot65 » Thu Jul 05, 2012 4:52 am

There is a command line option for balance.

http://wiki.amahi.org/index.php/Linux-hda_commands

You can also see the Greyhole command options by executing the following as root user:

Code: Select all

greyhole --help
ßîgƒσστ65
Applications Manager

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

othey
Posts: 28
Joined: Fri Oct 22, 2010 2:57 am

Re: Balance Disks

Postby othey » Thu Jul 05, 2012 5:41 am

I did try and do a manual balance by using the -l trigger but it was not working, I was getting errors saying all the drives were full in greyhole when i did the -L trigger.
when I added the 2nd drive to the pool for some reason it wasn't recognised by greyhole even know greyhole made the gh folder inside the 2nd drives directory.

Once I removed it from the storage and added it back again it worked fine when i initiated the -l cmd

Anyway its working now :)

Happy ubuntu Amahi user :)

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

Re: Balance Disks

Postby bigfoot65 » Thu Jul 05, 2012 5:42 am

That is odd. Glad it worked out for you.
ßîgƒσστ65
Applications Manager

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

othey
Posts: 28
Joined: Fri Oct 22, 2010 2:57 am

Re: Balance Disks

Postby othey » Thu Jul 05, 2012 6:31 pm

Just a follow up it seems greyhole wont recognise new hard drives I add to the storage pool via the hda dashboard until I restart greyhole.

Not a big deal just saying if someone else has similar issues :)

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

Re: Balance Disks

Postby bigfoot65 » Thu Jul 05, 2012 7:26 pm

Can you give more details? Is the drive properly mounted? Is this Ubuntu? We prefer all Ubuntu related problems be posted in that topic area.

I have been using Greyhole for years, both Fedora and Ubuntu, with no issues.
ßîgƒσστ65
Applications Manager

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

othey
Posts: 28
Joined: Fri Oct 22, 2010 2:57 am

Re: Balance Disks

Postby othey » Thu Jul 05, 2012 8:49 pm

yes it's ubuntu I am mounting it via hda-diskmount then I am adding it to /etc/fstab and then adding it to the storage pool.

When I add it to the storage pool greyhole makes a gh and a lost+found folder on the drive if I do a greyhole -s
it does show the drive is in the storage pool then I do a greyhole -l to balance the drives and it only lists the earlier drives when it does a balance, not the one I just added.

If I restart the greyhole service it detects the new hard drive and does a balance , after that it seems to work perfect

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

Re: Balance Disks

Postby bigfoot65 » Fri Jul 06, 2012 3:32 am

Ok, that makes sense. Seems it must be restarted to pick up the new settings. Typically that was done automatically, but might be a bug that it is not doing it now.

That would be an Amahi bug by the way as the platform should cause the restart when you selected to add it to the pool I would think.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 17 guests