Cross Post - Pooling

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

Cross Post - Pooling

Postby kcossabo » Mon Mar 07, 2011 6:26 am

[]

I have a simple install

150G drive that I installed F14 on then Amahi

I seem to have built this way
/ = 50G
/home = 82G

I then added 3 drives, 500G, 1TB and 2TB, and did all the work to get them into a 'pool'

I see them in the Storage TAB, and I can now select 'Storage pool' when creating or editing a share.

When I create a Share it wants to put the path onto /var/hda/files/......

Shares that have pools indicated, show up in OSX as having free space equivalent to the size of the pool, Shares that do not use the pool, show as having size of the /home

QUESTION:
Does this mean that I am limited to the space available on the hda (/home) even though I have a pool? I assumed that the pool would put files where there was room, thus keeping the available space to the size of the pool (minus any file duplication).

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

Re: Cross Post - Pooling

Postby kcossabo » Mon Mar 07, 2011 8:54 am

I have found one of my issues. Putting files onto the share wrong.

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

Re: Cross Post - Pooling

Postby bigfoot65 » Mon Mar 07, 2011 3:43 pm

I would not have created such a large /home partition. I followed the wiki for install without LVM. If you want more room for /var/hda/files, recommend you allot more space to root. Don't need it in the /home part.

Also consider mounting a second drive as /var/hda/files. That's how my box is set up. The wiki has guidance on how to do that 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

Workdawg
Posts: 20
Joined: Sat Feb 12, 2011 9:01 pm

Re: Cross Post - Pooling

Postby Workdawg » Mon Mar 07, 2011 4:17 pm

The "location" of the share is just the landing zone for the files (and the network location for mapping drives). Once you copy files there, they are moved off into your storage pool and a link is left in place.

autumnwalker
Posts: 30
Joined: Sat Jan 08, 2011 10:52 am
Location: Nova Scotia, Canada

Re: Cross Post - Pooling

Postby autumnwalker » Sun Mar 20, 2011 4:23 pm

I would not have created such a large /home partition. I followed the wiki for install without LVM. If you want more room for /var/hda/files, recommend you allot more space to root. Don't need it in the /home part.

Also consider mounting a second drive as /var/hda/files. That's how my box is set up. The wiki has guidance on how to do that as well.
Is it worth doing a fresh install of Amahi without LVM and creating a 250ish GB root partition / "landing zone" for Grayhole? I don't really understand how GH works.

Could someone explain, at a high level, how GH works and the optimal way to set Amahi up to work with it?

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Cross Post - Pooling

Postby gboudreau » Tue Mar 22, 2011 3:28 am

See homepage of http://www.greyhole.net for some info on how Greyhole works.
Also: http://code.google.com/p/greyhole/wiki/HowGreyholeWorks

There is no need for LVM. If you can start over without that, you'll get back some free space.

Myself, I have:
20 GB / partition
(standard /boot and swap partitions)
rest of that drive: /var/hda/files/drives/drive1
All other disks: /var/hda/files/drives/drive2 to drive8

All my shares are located on the biggest of my drives (2TB):
/var/hda/files/drives/drive3/share_name

You should change your shares locations before you start copying data on them, to simplify things.
- Guillaume Boudreau

autumnwalker
Posts: 30
Joined: Sat Jan 08, 2011 10:52 am
Location: Nova Scotia, Canada

Re: Cross Post - Pooling

Postby autumnwalker » Tue Mar 22, 2011 5:00 am

Thanks very much Guillaume.

I have looked at both of those links before, but I am still a bit confused. I think I understand it at a high level, but the one thing I'm not clear about is whether or not GH will allow me to have shares that span drives. So if I have 4TB in my pool (2x2TB) and say I have 3TB of files in the share "Docs" which is on the first of the 2TB drives /var/hda/files/drives/drive1/docs. Will the first 2TB drive fill up and then start to spill over into the other 2TB drive or is the Docs share limited to 2TB and the other drive only used for duplication?

What I gather from your reply though is that you should have GH shares land on the largest drive in your pool - does it make sense to relocate /var/hda/files to your largest drive? Does it make sense to relocate it whenever you add a larger drive? Does it matter if shares land on different drives?

Although I am a bit confused, I am very impressed with this solution, keep up the great work!

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Cross Post - Pooling

Postby gboudreau » Tue Mar 22, 2011 5:09 am

The location of shares doesn't affect the space it has.

So /var/hda/files/drives/drive1/docs can contian 4TB of files. In fact, /var/hda/files/drives/drive1/docs will only contain symlinks to the real files, and thus will be very small. The files themselves will be in both drives you include in the pool.

Shares locations can be on different drives.
I suggest using the biggest drives not because this would define the space available on that share, but because the share location is used as temporary space, until Greyhole can move the files in the pooled drives.

Once you picked the initial location of your shares, you should not move them. It's possible to move them, but unnecessary, and opens the window for problems.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 25 guests