hi,
I have added additional drives to my server, 5.3 today and have followed the wiki to set them up and added them to the pool. i formatted as ext4 primary and followed the add to pool section.
How long does it take for greyhole to start balancing out the drives ?
everything currently seems to be written to the primary drive and the secondary drives are not sharing the load ?
It does appear that the system is under high load from CPU and the HDD light is continuously on (yet i'm not doing anything) but does anyone have an idea about how long it will take greyhole to balance everything ?
Thanks
Chris
Greyhole issues
Re: Adding the second drive
Greyhole will not balance the data on your drives unless you ask it to (there's a command-line option to force that), but I don't think it's relevant at this time. When new files are added to the pool, they will always be added to the hard drive with the most available space. So Greyhole should balance your available space while you add files into your pool, through the shares.How long does it take for greyhole to start balancing out the drives ?
A screenshot of your Shares > Storage Pool page would help.everything currently seems to be written to the primary drive and the secondary drives are not sharing the load ?
Without that, I'll have to guess: you added both .../sda1 and .../sdc1 in your storage pool, but not /
Under that assumption, /var/hda/files/* is now your landing zone (i.e. where files 'land' when you add them via a share). Greyhole will then take them from there, and move them to the storage pool. It will start doing that 10 seconds after the write operations have completed.
So if you add files to your shares using the shares (i.e. not by copying files into /var/hda/files/* on the HDA itself, which you should never do), your storage pool will be used as fast as your hard drives can move the files around.
If you copied the files into /var/hda/files/* on the HDA itself, Greyhole won't be aware of those files until it does it's nightly check. During this check, it will find files in your shares that have not been moved to the storage pool, and will proceed to do that. You can also start this scan manually from a terminal: "greyhole --fsck"
You can check if Greyhole is doing anything in it's log file: /var/log/greyhole.logIt does appear that the system is under high load from CPU and the HDD light is continuously on (yet i'm not doing anything)
- Guillaume Boudreau
Re: Adding the second drive
Thanks for the fast reply.
here is the screenshot which seems to show all are in the pool.
I just added a 300 meg home movie to the movies share and it has again been added into the primary drive /
see the below
the log file shows no activity after adding the 300 meg file
i think I must have done something wrong in my setup......... do I need to add the primary drive to the pool with the fstab entry ? or is it configured by default ?
Thanks for all your help
here is the screenshot which seems to show all are in the pool.
I just added a 300 meg home movie to the movies share and it has again been added into the primary drive /
see the below
the log file shows no activity after adding the 300 meg file
i think I must have done something wrong in my setup......... do I need to add the primary drive to the pool with the fstab entry ? or is it configured by default ?
Thanks for all your help
Last edited by sonofmof on Sun May 02, 2010 7:11 am, edited 1 time in total.
Re: Adding the second drive
You shouldn't include your / partition in the pool, unless you don't have a choice (all other drives are filled to capacity, or close to).here is the screenshot which seems to show all are in the pool.
But that's just best-practice; it shouldn't affect anything in your current situation.
- Guillaume Boudreau
Re: Adding the second drive
so should I untick the / drive ?
Re: Adding the second drive
Yes, but it won't help you with your current issue.so should I untick the / drive ?
Are you shares using the pool? There's a checkbox for that in the Shares page.the log file shows no activity after adding the 300 meg file
See the text at the bottom of the Storage Pool page. Using greyhole is a two steps process.
- Guillaume Boudreau
Re: Adding the second drive
I un-ticked the / drive, as you say, won't help, but its best practice.
I ticked the pool box when I created the shares. Some have replication (photos,) others don't
Thanks again for all you help I guess I screwed it up somewhere.
When does the nightly script start ? I could wait till then and see if it balances by tomorrow
I ticked the pool box when I created the shares. Some have replication (photos,) others don't
Thanks again for all you help I guess I screwed it up somewhere.
When does the nightly script start ? I could wait till then and see if it balances by tomorrow
- Attachments
-
- shares.tiff (105.05 KiB) Viewed 5142 times
Re: Adding the second drive
after unticking the / drive from the pool the log says, Greyhole Daemon Started ?
Re: Adding the second drive
As soon as you copy a file into a share from a remote computer, it should appear in /var/log/messages, then Greyhole should see it and act on it.I ticked the pool box when I created the shares. Some have replication (photos,) others don't
Thanks again for all you help I guess I screwed it up somewhere.
Is your Greyhole service running?
Code: Select all
service greyhole status
You can also verify that Samba is correctly configured to use the Greyhole storage pool:
Code: Select all
cat /etc/samba/smb.conf | fpaste
Midnight. You can start it yourself now from a terminal:When does the nightly script start ? I could wait till then and see if it balances by tomorrow
Code: Select all
greyhole --fsck
Each time you change a Greyhole settings in the Amahi Dashboard, the Greyhole service is restarted. That's expected.after unticking the / drive from the pool the log says, Greyhole Daemon Started ?
- Guillaume Boudreau
Re: Adding the second drive
the service says it is running.
there doesn't appear to be a log every 10 seconds. the greyhole.log file was last modified nearly 1 hour ago
the URL it gave was http://fpaste.org/hGQG/
no mention of VFS modules, but VFS objects are there
hope this helps.
Thanks
Chris
there doesn't appear to be a log every 10 seconds. the greyhole.log file was last modified nearly 1 hour ago
the URL it gave was http://fpaste.org/hGQG/
no mention of VFS modules, but VFS objects are there
hope this helps.
Thanks
Chris
Who is online
Users browsing this forum: No registered users and 54 guests