LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-01-2013, 07:58 PM   #1
Frakk
Member
 
Registered: Oct 2007
Posts: 33

Rep: Reputation: 2
Question DIY NAS + database: boot off USB and spin down hdd?


Hi,

I am about to build a little NAS, not really for streaming media but for sharing files, recieving backups and running a couple of database engines (Postgre and eventually MySql).

It will be very common that the NAS spends 2 or 3 days without being accessed so I was wondering if I could do someting to avoid having the hdd spinning at all time.

First I thought about system hibernation but I guess it can be troublesome having the DB engines there, so I am thinking about booting the OS off a USB pendrive (*) and storing my user data and DBs in a separate hard drive.

Then I remebered that in the past I had tried to make my hard drive spind down when idle and the OS just kept spining it on, eventually after some googling it was apparent that spining down the root fs was not possible or at least not realistic.

Has anyone tried and succeded at such configuration? (USB, Databases, spindown)

anyone has some insights to share?

(*) As I am not in the USA reasonable CF cards are rather expensive for the space they provide and SSD are almost prohibitively expensive, so a decent USB pendrive would be a better option.

Thanks in advance!
Frakk
 
Old 02-05-2013, 08:35 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I came in this topic to suggest you use a CF card in a SATA/IDE adapter...but then you said you don't want to do that.

I'm sure the USB flash drive would work, but it's hardly ideal. Most are very slow, and they are certainly not intended for long-term usage. There is a very good reason that CF is more expensive.
 
Old 02-06-2013, 09:53 AM   #3
Frakk
Member
 
Registered: Oct 2007
Posts: 33

Original Poster
Rep: Reputation: 2
hi MS3FGX,

thanks for your reply.

I recongnise that i am trying to keep the cost as low as possible, but if it really makes a big difference I might bite te bullet and go for a CF card. Then again, from time to time I use full blown distros from USB pendrives and I can tolerate their performance.

I guess I should look into theirs current prices...

I vaguely remember that there were some recommended types for this and others that were too slow or to fragile?

Can you give me a hint?


Thanks in advance.
 
Old 02-06-2013, 11:15 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Depending on the amount of data you wish to store this could be an ideal project for a Raspberry PI with a suitable sized SSD card. Would be totally silent in operation and low power consumption.

Just something to think about.
 
Old 02-11-2013, 08:46 AM   #5
Frakk
Member
 
Registered: Oct 2007
Posts: 33

Original Poster
Rep: Reputation: 2
I just looked into the current costs of SSDs and CFs... CF is kinda expensive for the amount of space they offer I could stretch to a 8 GB but runing at X266, which doesn't look like a great performer really, but then I need the adapter and the combo raises the total cost about %50

SSD are simply too expensive here for their capacity. In my case that money would *way* better spent in a 1 TB hdd.


@TenTenths

I had considered that kind of hardware but decided that I need something more mainstream so I won´t have to dedicate so much time to set up the functions I want.
 
  


Reply

Tags
fileserver, nas



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nas running 13.37, allow drive spin down? gobo7 Slackware 1 12-18-2012 03:47 PM
DIY NAS Functionality or FreeNAS? Vinter Linux - Server 16 07-18-2012 03:48 AM
DIY nas++ , VIA C7 or Intel Atom 330 ? crispyleif General 2 03-05-2009 04:39 PM
NAS or DIY File Server. Your thoughts Ginja_Ninja Linux - Networking 6 07-31-2006 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration