Install partitioning with Greyhole in mind.

dalben
Posts: 10
Joined: Thu Jul 21, 2011 7:03 pm

Install partitioning with Greyhole in mind.

Postby dalben » Tue Aug 23, 2011 3:58 am

I've posted this on the beginners forum but thought I might get a quicker response here. I have my new kit here screaming to be installed and used...

**********************
I am installing Amahi for the first time (for real, as opposed to some test installs).

I have 5 Hard Disks in my system.

A 500Gb disk which I want to be the OS/Boot/Swap/Root/Home - I think that's right. Basically everything that won't by my Data files. I want this disk to run the apps I have installed (i.e. SickBeard, SABNZBD, Couch Potato, Transmission) and be the one disk spinning most of the time. It needs to hold some storage as well, i.e. NZBs that are downloaded which will be moved to the data drives when the scripts finish.

I then have 4 x 2Tb drives that I want to be my Data storage and I think Greyhole running over them. I am assuming this is where /var/hda/files will be mounted.

The question I have is that I am getting confused at the storage area with physical LVMs, LVM groups, Standard Partions etc.

I can follow the instructions and get what I want on the 500Gb OS drive, but I can't seem to work out how to make the rest of the drives one logical volume that will work nicely with Amahi. I could go trial and error but any pointers that will have me a few reinstalls would be dead handy.
***********************

So basically, how do I do the initial partitions so that /var/hda/files ends up only on the 4 x 2TB drives, with Greyhole on them, and everything else (swap, root, homes etc) end up on the single 500gb drive.

sandstroem
Posts: 29
Joined: Sat Dec 11, 2010 7:04 am
Location: Sweden

Re: Install partitioning with Greyhole in mind.

Postby sandstroem » Sun Aug 28, 2011 3:03 am

Hi dalben,

When installing Fedora with Amahi you need to consider how the disks should be used.

Ok, you have 1x 500gb drive. 4x2tb drives. Now, the 4x2tb drives will be used as greyhole storage pool.
Additionally you need a "Landing Zone", this is where your files initially "lands" before greyhole starts distributing them to the storage drives.

The Landing Zone, by default, is mounted in /var/hda/files.

The storage drives are mounted like this:

/var/hda/files/drives/drive1
/var/hda/files/drives/drive2
/var/hda/files/drives/drive3
/var/hda/files/drives/drive4

After greyhole moved the files from the Landing Zone to the Storage Pool, the space in the Landing Zone will be free'd up again. You should not have to small Landing Zone.

About partitioning and installing, please read up on these instructions:

http://wiki.amahi.org/index.php/Fedora_14_install_guide

Good Luck!

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Install partitioning with Greyhole in mind.

Postby da9els » Wed Sep 28, 2011 12:53 am

I have an almost identical setup and after a couple of tries I've ended up with this config:

HDD1 contains 50GB for boot, root, swap and home. The remainder 450GB is mounted as /var/hda/files for LZ and /torrents. HDD2-5 contains all greyhole shares except.
It seems to be an OK solution. But since the disk is active all the time - more or less, I've had to replace it with a server grade disk because the old WD Blue simply gave up :?

I hope that sheds som lights and good luck with the build :D

/daniel

DragonQ
Posts: 44
Joined: Wed Sep 21, 2011 1:28 am

Re: Install partitioning with Greyhole in mind.

Postby DragonQ » Thu Sep 29, 2011 11:16 am

I don't know if there's a downside but I do something that I don't see mentioned often here: I have the landing zone in my storage pool. This way, I never have to wait for copies to be made and balancing to occur; it's done instantly.

I also don't have to worry about whether to have a small landing zone to free up space for the storage pool or a large one to allow larger file copies; I get to use 100% of my disk space for greyhole (minus the small system partitions like root, home and boot).

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Install partitioning with Greyhole in mind.

Postby da9els » Thu Sep 29, 2011 11:38 am

I don't know if there's a downside but I do something that I don't see mentioned often here: I have the landing zone in my storage pool. This way, I never have to wait for copies to be made and balancing to occur; it's done instantly.
The problem is that when running torrents or ftp most of the disks will be active almost all the time. I use one disk for system, torrents and LZ and the remainder spin down when idle. That lets me buy cheaper disks and saves the planet :D

DragonQ
Posts: 44
Joined: Wed Sep 21, 2011 1:28 am

Re: Install partitioning with Greyhole in mind.

Postby DragonQ » Thu Sep 29, 2011 1:46 pm

My "torrents" and "downloads" shares aren't in the storage pool so the non-landing-zone disks should be off most of the time for me too.

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Install partitioning with Greyhole in mind.

Postby da9els » Thu Sep 29, 2011 11:56 pm

Clever 8-)

ludvikah
Posts: 12
Joined: Mon Aug 31, 2009 2:22 pm

Re: Install partitioning with Greyhole in mind.

Postby ludvikah » Thu Jan 05, 2012 10:36 am

I don't know if there's a downside but I do something that I don't see mentioned often here: I have the landing zone in my storage pool. This way, I never have to wait for copies to be made and balancing to occur; it's done instantly.

I also don't have to worry about whether to have a small landing zone to free up space for the storage pool or a large one to allow larger file copies; I get to use 100% of my disk space for greyhole (minus the small system partitions like root, home and boot).
pardon me for asking, but
how do you set up the greyhole like this?
This is exactly how I would like to have it as well.

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: Install partitioning with Greyhole in mind.

Postby sgtfoo » Thu Jan 05, 2012 12:22 pm

To have your LZ inside the greyhole pool, just add all the partitions to the greyhole in the HDA dashboard.
.... Except of course for the system drive.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

ludvikah
Posts: 12
Joined: Mon Aug 31, 2009 2:22 pm

Re: Install partitioning with Greyhole in mind.

Postby ludvikah » Thu Jan 05, 2012 12:28 pm

To have your LZ inside the greyhole pool, just add all the partitions to the greyhole in the HDA dashboard.
.... Except of course for the system drive.
As easy as that, :D
thank you.

Who is online

Users browsing this forum: No registered users and 19 guests