Choose style:

Author Topic: Building a file server / NAS  (Read 4063 times)

0 Members and 1 Guest are viewing this topic.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Building a file server / NAS
« on: October 04, 2014, 02:51:49 pm »
Hi everyone,



I am looking for a file server, at the moment I want something that is cheap on electricity (cheap to run) - and not expensive to set up. Would be nice if i could use my HP laserjet 1010 printer with this as a print server too.

I am considering getting a Raspberry Pi and a 2 TB external HDD.

Does anyone have any other suggestions?
« Last Edit: October 04, 2014, 05:03:44 pm by 10i »
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Building a file server / NAS
« Reply #1 on: October 04, 2014, 07:20:45 pm »
Personally I wouldn't use a Pi as a NAS .. USB is not ideal for connecting the storage drive, there's no reliable method for RAID configuration (particularly RAID 1 mirroring) .. and IIRC ethernet is only 100TX.
And pretty weak as a media streaming server too

Nothing stopping you .. just about as far from ideal as it's possible to get.

Not to mention, by the time you have all the cabling power supply, drives,  SDcard, etc .. not that much (if at all) cheaper than an OEM NAS box.
« Last Edit: October 04, 2014, 07:27:44 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Building a file server / NAS
« Reply #2 on: October 05, 2014, 12:32:11 am »
OK, I will look at other options first.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Building a file server / NAS
« Reply #3 on: October 05, 2014, 04:07:31 am »
Hi 10i

You can re-purpose an old PC into a NAS  (as I have done) running Openmediavault or Freenas, both offer Raid and many other services such as samba NFS sharing etc, I'm not sure about Freenas but I know Openmediavault has a CUPS plugin for printer sharing and both can be controlled through a web interface, it may not be the most power efficient way but if offers all the functionality you would need


Just a thought

Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Building a file server / NAS
« Reply #4 on: October 05, 2014, 05:16:14 am »
Hi G,  not a bad idea with the old PC. My only problem is the electricity usage. Our electricity prices are set to increase 2 more times within the next year.

I am looking at something that will not use much power.

I might end up doing that for now with my Pentium 4 desktop. All I need to get it is an extra HDD for storage. It currently has a 120 GB IDE hard drive installed.

I wonder if I can print to a shared printer from Android? Might just try out HP's ePrint service.
« Last Edit: October 05, 2014, 05:43:31 am by 10i »
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5262
  • Karma: 942
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Building a file server / NAS
« Reply #5 on: October 05, 2014, 12:22:03 pm »
Hi G,  not a bad idea with the old PC. My only problem is the electricity usage. Our electricity prices are set to increase 2 more times within the next year.

I am looking at something that will not use much power.[...]

In that regard...

I have a machine dedicated to serving songs 24/7 on a DJ site.  It's a Dell Latitude D620 laptop.

Why do I use an old laptop for this?!?!?

  • It doesn't "use much power"
  • Built-in WXGA+ wide-screen display, keyboard, trackpad and pointer
  • Integrated Bluetooth, WiFi, hardwire, and 56k connections
  • Li-ion battery acts as a pseudo UPS backup
  • Optional Docking and Port Replicator available on Fleabay <= $20 USD
  • And, more.  You get the idea...
I only have around $100 invested in this machine, plus $8 for the USB powered 'lap cooler'.    ;D

Really, I don't know why you couldn't use something like this for a file server/NAS.

It would have its limitations, depending on the planned usage, but I think it would work fine for file-data level storage.

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5262
  • Karma: 942
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Building a file server / NAS
« Reply #6 on: October 05, 2014, 12:34:19 pm »
Now you did it...   :D

I was checking laptop HDD prices on 'Eggy Weg' and found this (2TB).

Using my lappy as an example, Dell makes an optional HDD caddy which replaces the DVD burner.

Thus, 4TB minus overheard would be internally available.

Okay, I'll stop now.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Building a file server / NAS
« Reply #7 on: October 05, 2014, 01:10:43 pm »
Hi guys, thanks for all the advice. I am enjoying this thread. The main idea behind this (apart from power saving) was that I would finally have a useful use for a Raspberry Pi. My netbook is my main PC at the moment, so I don't want to use it as a server.
 
Now I have set up my desktop PC with a few Samba shares (tested and I can copy to / from them).
This project just became a lot more boring than I was hoping it would be  :D
All I need to add now is a 1 TB hard drive and I should be all set.

I don't need to run the server all the time, it will be a print server using Google Cloud Print and a file server for my laptop / tablet / phone to get media to and from. I am not home much, as I (sadly) work long hours.

>> How do I make Google Chrome run at startup so that I don't have to do it manually every time?

My next step will be to find a way to shut down the PC from my cell phone / tablet.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline MNFrozenfish

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 16
  • Smile! - It makes people wonder what you're up to.
    • View Profile
  • Peppermint version(s): Peppermint 9 Respin-64 bit / P10
Re: Building a file server / NAS
« Reply #8 on: October 05, 2014, 05:08:22 pm »
You should be able to use TeamViewer to shutdown or restart your server from anywhere you have internet access. And it's free.  :)

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Building a file server / NAS
« Reply #9 on: October 06, 2014, 02:46:07 am »
You should be able to use TeamViewer to shutdown or restart your server from anywhere you have internet access. And it's free.  :)
I do like Teamviewer

So far I am enjoying Google Cloud Print.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com