Amahi Home Server – Setting Up File Duplications & Exploring the App Store

amahi app store   Amahi Home Server   Setting Up File Duplications & Exploring the App StoreIn my third and final article about Amahi Home Server, I’m going to show you how to create new network shares to store files in, set up file-duplication for critical files using the Greyhole storage pool, and have a quick look at the other applications in the app store, such as Transmission for downloading torrents. I also test the file redundancy by powering off a drive while the server is running!

If you haven’t already and wish to follow along with setting up your own home server with Amahi, you should begin by setting up a basic installation, then adding a hard drive to your system.

Turn on advanced settings

The storage pooling technology we’ll be looking at today falls firmly under the category of advanced, so you’ll need to enable advanced settings. Log into your HDA and click on Setup -> Settings -> tick Advanced Settings.

2 0 advanced settinges1   Amahi Home Server   Setting Up File Duplications & Exploring the App Store

Shares

Shares are the most fundamental part of your server. A Share is basically just a folder that you access on your network to store files on, and Amahi is set up by default with Shares such as Books, Movies, Pictures. To create a new Share, go to Setup -> Shares, and click the New Share button. The default options are fine, just type in the name of your new share and click Create.

2 1 create new share   Amahi Home Server   Setting Up File Duplications & Exploring the App Store

File Duplication

With advanced settings enabled, you’ll notice that on the Setup -> Shares screen, a new menu option for Storage Pool has appeared. From here, we can select drives to add them to the “pool”. Once in the pool, we can duplicate files across them and ensure redundancy.

Note: the first drive listed is the drive that Amahi is installed on. It is strongly suggested that you don’t add this one to the pool, as filling it up would break your server.

For this, I’ve added two drives into the pool, so I’ll be able to create a maximum of 1 copy. Tick the boxes next to the drive to add them into the pool:

2 2 add to pool   Amahi Home Server   Setting Up File Duplications & Exploring the App Store

Now we need to tell the system to make copies of anything in a particular share. To do this, click back to the Shares screen and select the Share you wish to add the duplication feature to. In this case, I’ve chosen Movies. Scroll down to the Storage Pool option, tick Uses Pool, and select the number of additional copies.

2 3 uses pool with 1 extra copy   Amahi Home Server   Setting Up File Duplications & Exploring the App Store

To test it, I copied 20 GB of my favourite movies in and waited about half hour for Greyhole to balance everything. To simulate a hard drive failure, I pulled the power off one of the drives while the system was running. The results? Good and bad.

Firstly, I tried to access the movies again, and they were fine – the duplicates obviously worked. On the bad side, Amahi gives no indication by default that a drive has actually failed, so if this were a real-life drive failure, I simply wouldn’t know about it. I approached the creator of Greyhole (Guillaume Boudreau) in the official chatroom to ask about this, and it appears the fault is with Amahi. Though Greyhole will send emails when errors occur, by default Amahi doesn’t enable outgoing emails. He suggested following this Amahi wiki tutorial on enabling outgoing emails, and then to edit the greyhole.yml and greyhole.conf with the email address you want alerts sent to.

Hopefully, future versions of Amahi will sort this out. I must say I’m impressed with the fact that I was able to get a comprehensive answer, from the creator no less, in under 5 minutes. The same could not be said of most software packages, and this one episode has given me somewhat more faith in the power of Linux and the open source community in general.

There’s also a useful page here on recovering from a hard drive failure with Amahi in case your system is restarted and cannot boot.

App Store and Transmission

One of the things I like to offload to my server is downloading torrents. Ideally, I’d like to just drop my torrent files in a network share, and let the server handle everything from there. In fact, this is the default behaviour for the Transmission app, which you can install from the Apps -> Available tab. Once installed, you’ll be able to access the torrent management page directly from the Transmission Web Interface, and a new share called Torrents is automatically created.

3 1 torrent added automatically   Amahi Home Server   Setting Up File Duplications & Exploring the App Store

Of course, Transmission isn’t only app available, so here’s a few that caught my eye.

WordPress: If you’d like to run own blog on the world’s most popular and actively supported blogging system, WordPress is it. This app makes setting it up to run on your home server easy, and when you start getting a few thousand visitors a day, you can easily offload your site to a real web host. (Bear in mind that some ISPs eplicitly forbid you from running a webserver on your home internet connection)

WebVNC: To make your server truly headless, you can install WebVNC, which lets you log in and view the desktop from any web browser, not just the standard HDA dashboard.

DLNA: Enables your shared movies and media files to be viewed on DLNA/UPnP-AV clients easily, such as the Xbox360 or Playstation 3. DLNA is essential if you’re planning on streaming movies rather than simply running a backup storage server.

CrashPlan: Though I haven’t a had a chance to try this one and can’t vouch for it, CrashPlan promises to be your ultimate back-up solution; with encryption, compression and automated backups on all of your Windows, Mac OSX, and Linux clients.

That’s it for this series. Thanks to all those who have contributed in the comments of previous articles and suggested alternatives that we can explore in the future, and do please let us know if you found this useful in setting up your Amahi server, or your experiences with it so far. Would you trust your files to it?

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

12 Comments -

MattG

Good article. Awesome testing of Greyhole here. Is it out of beta yet?

Give CrashPlan a shot; they (we) have a simple terminal install.sh script that you can install with on Linux. Just suck down the Linux installer from http://www.CrashPlan.com. Up and running in about 3 mins.

-matt
@CrashPlanMatt on twitter.

James Bruce

Thanks Matt, I was planning on covering crashplan but the series got rather long. Perhaps we can include in when the next major release of Amahi + Greyhole comes out?

MattG

Good article. Awesome testing of Greyhole here. Is it out of beta yet?

Give CrashPlan a shot; they (we) have a simple terminal install.sh script that you can install with on Linux. Just suck down the Linux installer from http://www.CrashPlan.com. Up and running in about 3 mins.

-matt
@CrashPlanMatt on twitter.

Marcus Schmidt

thanks for the article, very useful

Guillaume Boudreau

@CrashPlanMatt: Amahi includes a one-click install of CrashPlan through it’s web UI (Dashboard). So no need for that for Amahi users; the one-click install does exactly that behind the scene.
But what is less cool, is that it’s complicated to administer remotely. I tried to give walkthrough instructions here, but still, it’s not really a walk in the park for end users: http://wiki.amahi.org/index.ph

@James: The name would be “Guillaume Boudreau”, and not “Guillaume Bordreu”.

James Bruce

Apologies! I’ve corrected that now. French names are not my forte..

Thanks for the info on crashplan, I’d love to give that a try.

Guillaume Boudreau

@CrashPlanMatt: Amahi includes a one-click install of CrashPlan through it’s web UI (Dashboard). So no need for that for Amahi users; the one-click install does exactly that behind the scene.
But what is less cool, is that it’s complicated to administer remotely. I tried to give walkthrough instructions here, but still, it’s not really a walk in the park for end users: http://wiki.amahi.org/index.php/Crashplan

@James: The name would be “Guillaume Boudreau”, and not “Guillaume Bordreu”.

James Bruce

Apologies! I’ve corrected that now. French names are not my forte..

Thanks for the info on crashplan, I’d love to give that a try.

Pool Installation

This is the great blog, I’m reading them for a while, thanks for the new posts!

Rolf Coucke

Thank you James,

I really liked your series, in the future i`m planning to build myself a home server, the only thing i`m a bit worried about with Amahi is the media streaming. Did anybody test that out? Does it work with HD movies in full quality video and sound?

If that`s the case i think i`ll go Amahi for my server.

Rolf Coucke

Thank you James,

I really liked your series, in the future i`m planning to build myself a home server, the only thing i`m a bit worried about with Amahi is the media streaming. Did anybody test that out? Does it work with HD movies in full quality video and sound?

If that`s the case i think i`ll go Amahi for my server.

James Bruce

Hi Rolf. I’m afraid I dont have an xbox or ps3 anymore to test the uPnP video streaming, but simply playing an HD video on my Mac over the network share played just fine for me (server connected to hub on gigabit ethernet, mac on wireless to same hub)