Author Topic: Miniature file/backup server at home?  (Read 3323 times)

0 Members and 1 Guest are viewing this topic.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Miniature file/backup server at home?
« on: May 11, 2014, 10:54:52 am »
I decided to have a simple miniature file server at home and I am looking at RaspPI, which is most likely what I'll get from Lemona.
Simple ARM 700mhz cpu and 512mb of ram seems sufficient for my basic needs for SSH, FTP, SAMBA, maybe HTTP as well... and (according to videos and reviews) it draws ridiculously small amount of energy (around 3w?) and it has a huge community and all that jazz...

However the question to you is what are the alternatives, having the price and the electricity consumption in mind, for a miniature home server?
Thing here is that I couldn't find any for similar price to be used as such a thing.
« Last Edit: May 11, 2014, 10:56:04 am by Kulverstukas »

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Miniature file/backup server at home?
« Reply #1 on: May 11, 2014, 11:11:02 am »
How much data are you looking to have stored. With something small like that, most of your power is going to go to the hard drive(s)
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Miniature file/backup server at home?
« Reply #2 on: May 11, 2014, 12:16:10 pm »
Eventhough I higly encourage having  a home server , just coz its awesome to have one ,I would say in your scenario a NAS would be better suited when its only for backup/storage.
They only good thing about these home NAS systems is the power efficiency.
Building something that comes into close range can be a difficuly thing.
For example  tools used to spin down drives and stuff are a great way to start, however certain HDD's handle spinning down and up very poorly thus dying prematurely.
Since disks comsume by far the most energy this is the main consideration.
That is if you give a shit about power, certain countries this is not something to be worried about too much, you can always tap power somewhere to run a server :)
« Last Edit: May 11, 2014, 12:18:23 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #3 on: May 11, 2014, 12:26:50 pm »
I suppose it would be used for storage to reach my files/photos from anywhere, to store data when I'm away and don't have anywhere to put my shit, or am running out of space on my laptop, and yes, the hdd will consume more than the raspberry itself. I was just thinking to connect a 2.5" external through USB and be done with it... shouldn't be too bad?
A NAS would cost as much and would be limited to just file storage while with raspberry I can make it spin anything I want!

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Miniature file/backup server at home?
« Reply #4 on: May 11, 2014, 12:37:11 pm »
I suppose it would be used for storage to reach my files/photos from anywhere, to store data when I'm away and don't have anywhere to put my shit, or am running out of space on my laptop, and yes, the hdd will consume more than the raspberry itself. I was just thinking to connect a 2.5" external through USB and be done with it... shouldn't be too bad?
A NAS would cost as much and would be limited to just file storage while with raspberry I can make it spin anything I want!
No should indeed not be too bad. And I agree that a NAS is kinda limited, I would not buy one for that reason.
USB drives should support some powersaving features, hell if you want you could setup something like WOL and create/borrow some tool to wake it up remotely.
Then again for those couple watts....
« Last Edit: May 11, 2014, 12:37:35 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #5 on: May 11, 2014, 01:07:32 pm »
Then again for those couple watts....
Wear and tear is more of a concern than the power usage, considering that power usage through usb is as low as the PI itself.
I see no point in keeping the drive spinning 24/7 if you'll use it for few hours a week or something. WOL might work for older drives, but I imagine newer hdd's/cases support stand-by or at least idle modes by themselves.
Another thing is that I don't have a spare external 2.5" hdd to be used with PI, but I do have plenty of 3.5" internal hard drives and I have an enclosure for it... so I'll probably use those for some time.

Should get that power measuring apparatus to see how much energy a 3.5" external hdd eats :P
« Last Edit: May 11, 2014, 02:41:40 pm by Kulverstukas »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Miniature file/backup server at home?
« Reply #6 on: May 11, 2014, 02:38:42 pm »
Wear and tear is more of a concern than the power usage, considering that power usage through usb is as low as the PI itself.
I see no point in keeping the drive spinning 24/7 if you'll use it for few hours a week or something. WOL might work for older drives, but I imagine newer hdd's/cases support stand-by or at least idle modes by themselves.
Another thing is that I don't have a spare external 2.5" hdd to be used with PI, but I do have plenty of 3.5" internal hard drives and I have an enclosure for it... so I'll probably use those for some time.

Should get that power measuring apparatus to see how much energy a 3.5" external hdd eats :P
I mean you could use WOL on the PI , that you actually turn on the device from the network when you need it.
There are also apps that can do that stuff, quite nice to be able to use your phone for turning it on etc.
« Last Edit: May 11, 2014, 02:38:53 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #7 on: May 11, 2014, 02:48:18 pm »
A friend discourages me on doing such a thing saying shit ain't worth the hassle and that I should just buy a virtual server instead or just use GDrive like everyone else.
But it's much more fun to have your own server at no cost at all basically... plus you can connect and share a printer at home from PI, accessing files from home is much easier - unplug the hdd and copy shit, not to mention the joy of learning... :P

Virtual servers have pretty much the same shit as PI could be used for as a server, but as a hacker, I see PI to be more fun than to pay for a server... if this shit would cost me a lot to set up and even more to keep it running, I would have second thoughts, but now when it doesn't really cost that much to set up and doesn't cost at all to keep it running? why the fuck not??

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Miniature file/backup server at home?
« Reply #8 on: May 11, 2014, 03:43:54 pm »
A friend discourages me on doing such a thing saying shit ain't worth the hassle and that I should just buy a virtual server instead or just use GDrive like everyone else.
But it's much more fun to have your own server at no cost at all basically... plus you can connect and share a printer at home from PI, accessing files from home is much easier - unplug the hdd and copy shit, not to mention the joy of learning... :P

Virtual servers have pretty much the same shit as PI could be used for as a server, but as a hacker, I see PI to be more fun than to pay for a server... if this shit would cost me a lot to set up and even more to keep it running, I would have second thoughts, but now when it doesn't really cost that much to set up and doesn't cost at all to keep it running? why the fuck not??
Well, it's good to have your files backed-up off-site in case your house burns down. And a raspberry pi doesn't have sata support etc.
~Factionwars

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #9 on: December 07, 2014, 09:56:38 pm »
Major bump, but wanted to show my tiny server as it is now.
Box was ordered from here, along with a fan, heatsinks were added before. The holes of that acrylic box wasn't aligned perfectly, had to use some force to get it together and had to file out the hole where you plug the power... over all, the temperature seems to be below 30c all the time now, doesn't make too much noise, but had to oil the fan well, it was dry :P currently the RPI is overclocked to 1ghz using Turbo Mode, it doesn't void your warranty, yay!
Currently using it host Seafile private cloud and as a seedbox using Transmission.


Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Miniature file/backup server at home?
« Reply #10 on: December 07, 2014, 10:17:19 pm »
Major bump, but wanted to show my tiny server as it is now.
Box was ordered from here, along with a fan, heatsinks were added before. The holes of that acrylic box wasn't aligned perfectly, had to use some force to get it together and had to file out the hole where you plug the power... over all, the temperature seems to be below 30c all the time now, doesn't make too much noise, but had to oil the fan well, it was dry :P currently the RPI is overclocked to 1ghz using Turbo Mode, it doesn't void your warranty, yay!
Currently using it host Seafile private cloud and as a seedbox using Transmission.



Cool stuff bro :D
I can recommend owncloud and caching dns server for the hosts on your LAN, you would be suprised about the speed increase :)

Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #11 on: December 08, 2014, 07:41:01 am »
Cool stuff bro :D
I can recommend owncloud and caching dns server for the hosts on your LAN, you would be suprised about the speed increase :)
Dunno about caching DNS, but I had ownCloud before and it sucked massive dick. It was slow as fuck, runs on apache which itself is a resource hog for RPI, uploading a lot of files would hang it, doesn't have a reliable android app to synch stuff, desktop program lacks too many basic things to be useful.
ownCloud might be good on a proper server, but Seafile is much much much better and faster on RPI. Plus it's less hassle to get it up and running.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Miniature file/backup server at home?
« Reply #12 on: December 08, 2014, 03:52:59 pm »
Dunno about caching DNS, but I had ownCloud before and it sucked massive dick. It was slow as fuck, runs on apache which itself is a resource hog for RPI, uploading a lot of files would hang it, doesn't have a reliable android app to synch stuff, desktop program lacks too many basic things to be useful.
ownCloud might be good on a proper server, but Seafile is much much much better and faster on RPI. Plus it's less hassle to get it up and running.
Iam running it on a production server and it works like a charm but I can imagine it being too much of a hogg on such a device :)
Will check out seafile, never heard of it.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #13 on: April 05, 2015, 03:55:13 pm »
Bump again, little update about how this goes.
So I've been running it for quite a while, just recently a new model RPI2 came out, which is theoretically 6x faster - I decided to buy it in the summer :D

Meanwhile, during a maintenance check I saw that some dust accumulated on the rpi, since it now has a fan. After opening it up for cleaning I saw that there was a great deal of dust on it, also some hair lol - it's located in a dusty attic corner, go figure. So after cleaning it up I remembered about a post I read a while back, that you can make fan dust filters out of pantyhose. I didn't know which ones, so I used whatever I was given :P
I cut it up and put it on the fan. After few days you can already see the result - it has blocked a visible layer of dust while letting air through. However I probably used the pantyhose with too small holes, since the fan now draws a bit less air and as as result, the rpi heats up to around 30-32C on normal operation, compared to the below 30C without a dust filter, but whatever, I can sacrifice those few degrees (without a fan it would be above 50C, so...) to keep the RPI dust-free.
With a filter on - all you have to do is brush the dust off and that's it!

Here are pics of how it looks - yeah not so pretty, but whatever, it works!



Also I installed MiniDLNA on the rpi as well, so that TV and Blueray player can stream media properly - shame that some things don't support Samba instead, but many say that DLNA is faster than Samba. Didn't use it extensively as I just installed it, but seems to work really well and is light on the resources, so why not eh :P

Will check out seafile, never heard of it.
Did you already? :P
« Last Edit: April 05, 2015, 03:56:59 pm by Kulverstukas »

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Miniature file/backup server at home?
« Reply #14 on: April 15, 2015, 08:24:58 pm »
Bump. So after some weeks of usage, it was doing pretty good, however it was limiting the airflow a lot, it wasn't stretched well enough and it looked ugly on the rpi lol. So I was given another pair of this material, but it's less dense so I stretched it over a big PSU fan, made a cardboard frame and glued it together. Result it pretty awesome, it's stretched good, lets air through completely but catches the dust - rpi temperature is now as it was without the filter!