Amahi 6 reinstall - sda partitioning.

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

Amahi 6 reinstall - sda partitioning.

Postby da9els » Sat Jul 02, 2011 6:20 am

Hey Gents.

I'm about to reinstall Amahi 6 for the third time :-P First time i made a admin password that my danish keyboard couldn't handle once installation was finished.
Now - 2nd time - it is because I have to redo the partitioning and i need a little advise.

I have a 500GB disk I'll use as system disk and landing zone. When I let the Express installer set the partitions it makes most of the disk /home which afaik is used as share / pool area.
Before I let the installer run again I'd like to know if the following setup is the correct way to do it.
1. /boot - 500MB - ext4 primary
2. /swap - 4GB - swap - primary
3. / - restGB - ext4 - primary - (will use /var/hda/files for LZ)

If this is way off please tell me how to do it :-)

/daniel

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

Re: Amahi 6 reinstall - sda partitioning.

Postby da9els » Sat Jul 02, 2011 7:34 am

I think I found the answer in the Wiki here: http://wiki.amahi.org/index.php/Install_without_LVM

So my original suggestion was not entirely off :-)

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Amahi 6 reinstall - sda partitioning.

Postby radioz » Sat Jul 02, 2011 7:40 am

Yes, that looks fine. Allocating most of the space to '/' will give you the most space for /var/hda/files.

There are other alternatives, depending on your goals. If you are planning to add additional drives, you might want to look at greyhole information in the wiki. There may be other layouts that work well for that. I don't use greyhole myself but for my installation, I used a small drive (40G) for the os ('/', swap, '/home') and then mounted a big drive in /var/hda/files. This keeps the os files separate from my hda data.

Good luck!

[oops, I didn't see your post]

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

Re: Amahi 6 reinstall - sda partitioning.

Postby da9els » Sat Jul 02, 2011 8:19 am

I had sorta the same layout before. A small disk for OS and the 500GB for LZ and then the rest for Greyhole pool. I just want to drop the small OS disk since both OS disk and LZ disk are active most of the time.
Mabey it would make more sense to make a root, boot, swap at the first 20GB and mount the remaining 480GB as /var/hda/files.

Can't find much about partition layout in the Wiki. Did you have anything specific in mind?

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Amahi 6 reinstall - sda partitioning.

Postby radioz » Sat Jul 02, 2011 5:26 pm

Hmm, I thought I saw something about partitioning. I looked around the wiki and all I found was the installation instructions: http://www.amahi.org/instructions/install_fedora but that isn't very detailed.

Maybe I'm thinking about a forum thread. I'll look around and if I find anything, I'll let you know.

I have no experience with Greyhole, but I've read that people occasionally have problems if their LZ is somewhat small in relation to the storage pool and then try to copy a huge amount of data to the pool. I gather that the small LZ throttles the disk transfer. I don't know if there is a recommended size for the LZ. You might check around for that.

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

Re: Amahi 6 reinstall - sda partitioning.

Postby da9els » Sun Jul 03, 2011 1:17 am

Experience tells me that around 200GB+ is suitable for LZ - depending on how much data you backup / move around. But for everyday use 400GB is plenty for me, after I've moved my existing files to the shares.

joeatamahi
Posts: 2
Joined: Wed Jul 20, 2011 4:20 am
Location: Germany

Re: Amahi 6 reinstall - sda partitioning.

Postby joeatamahi » Wed Jul 20, 2011 4:22 am


johnrbek
Posts: 5
Joined: Sun Jul 10, 2011 4:35 am

Re: Amahi 6 reinstall - sda partitioning.

Postby johnrbek » Wed Jul 20, 2011 8:31 am

It's not obvious on this thread, though if you follow the links, it's probably detailed there... A couple thoughts from my recent experience with Amahi and Greyhole:

1. Put the LZ on a separate partition. If you don't and you run out of space on your system partition, it's a real hassle.. You don't wanna be there... Depending on your usage, your size may vary... if you're constantly slotting gobs and gobs of 1080p mkv files, then you want something larger... if this is not your bag, then something smaller will do... One of my servers major functions is as a media server, so I wanted a larger LZ... 200-250gb is probably good... I've got mine at 325gb... thats' probably overkill, but I look at it as insurance.. it's a real hassle to run out of space on the LZ.

2. Careful with your system partition size if you're going to be running a large storage pool.. I have 9 total drives and about 8Tbs... Careful if your transferring large volumes of small files... I've run into issues with the greyhole.log going nuts and filling up my 20g partition... I solved that with a cron logrotate every 30 mins.. I've also run out of inodes due to large spool sizes (currently unsolved)... if I had a 40gb or 60gb or even larger partition, this might not be a problem.. not sure where the threshhold is there, but disk is cheap these days... Something think about.. Bottom line, the standard recommended 12g linux system partition doesn't work well in a large storage pooled amahi/greyhole environment.

3. If you're running any type of media server with a TV file directory (e.g., sagetv), I suggested putting that directory (e.g., /media/TV) on a separate partition as well... again, size is dependant on resolution and how many shows you wanna store...

Amahi & Greyhole are a great combo, but it's still a work in progress... consider these points when building your system.. hope this helps someone..

jbmia

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

Re: Amahi 6 reinstall - sda partitioning.

Postby da9els » Thu Jul 21, 2011 10:46 am

Thanks gents :)
I ended up making a /root, /boot and swap at the first 30GB and used the remaining 470GB as LZ and torrent zone. I didn't use any LVM for the OS partitions as described in the wiki. Does it give any advantages / disadvantages?

It has been running pretty smooth so far, but transfer speeds are rather low compared to the performance of Amahi 5.4. There are mabey other factors causing this and I haven't looked further into it. At least it is steady :D

/daniel

Who is online

Users browsing this forum: No registered users and 5 guests