LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2017, 07:38 PM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Recommendation? 24x7 external USB storage


I have a family cloud server that I would like to add 24x7 permanent external storage to. It is based on a Raspberry Pi3, so this storage will have to be USB, since that's the only interface to a HDD available on the Pi. The Pi is running a Linux OS. This setup works great, plenty of speed for this "family cloud" task using the Pi (running Rasbian, Nginx, PHP7, MariaDB, NextCloud, Redis, SSH server, VNC server). I'm currently using it with the flash memory card that holds the OS being the cloud storage. I've tried it with a very old external Seagate drive as storage too, and it works, but I want a newer drive (that's what I'm searching for now!)

The possible options I've come up with are:
  1. External desktop drive with it's own power supply, e.g., "WD My Book"
  2. External portable drive powered by the US connection (probably with an added powered USB hub), e.g., "WD Passport"
  3. Internal HDD in a drive enclosure with it's own power supply, e.g., "WD Red HDD + enclosure"
  4. Drive specifically for the PI with its Y-cable power connection, e.g., "WD Pi Drive"

The Pi Drive would seem the best choice at first, since it's tuned for use with the Raspberry Pi (low power usage). But the max size is 1Tb and I am worried about heat issues in the small matching Pi case you can get for it.

I'm not sure I trust the readily available external drives for 24x7 use, due to potential heat issues. Also, I've always assumed the manufacturers put the cheapest bare drives they could find inside these things.

A good quality internal HDD plus a good quality enclosure (with cooling) sounds the best, but is also the most expensive. If I go this route, I would think a WD Red drive would be the best. As far as enclosures, I'd need suggestions for well-built one with a reliable USB controller and decent cooling. Doesn't have to be fan-based, if it keeps the drive cool with only air slots, that's fine. I do not expect heavy or sustained HDD usage, so there probably won't be a lot of heat generated anyway. But I do want it available 24x7.

The cheapest route would be to buy a WD Passport. The Pi *should* be able to power it, but it not, buy a powered USB hub. I believe the Passport goes to sleep after a while if unused, and that's fine, as long as it wakes up with activity and does not unmount itself. I would probably get one of the older "Elements" versions of the Passport, since the new ones use hardware encryption that you can't turn off, so if the drive enclosure fails, you've lost all access to the HDD inside, even if you remove the drive and install it in your computer (a very stupid design decision on WD's part if you ask me).

Any thoughts, ideas, or recommendations?

Last edited by haertig; 04-12-2017 at 09:14 PM.
 
Old 04-12-2017, 08:42 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
I have been mulling similar. Currently my pi (gateway/router) has two "button" USB configured as RAID1. Works fine, but if/when I go home cloud as well, it would be SSD methinks. I certainly don't need terrabyte-plus, and it would be aggressively managed in need.
Not the cheapest, but would probably meet my needs.
 
Old 04-12-2017, 09:27 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Might consider spending more for a soho nas?? Replace the PI with a dedicated Arm based nas product. I think they tend to use about 5-15 watts and have sleep features.

I have a Seagate usb drive that seems to go to sleep a lot. Not that I care much but it can't be easily used 24/7 just a backup.
 
Old 04-12-2017, 10:13 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Original Poster
Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Might consider spending more for a soho nas??
Thanks. I did consider that, but quickly ruled it out.

The Pi is more powerful than the processor in the typical NAS. And you can install whatever software you want on it, not necessarily so with a NAS. For example, "NextCloud" is probably way more powerful and feature-rich than any cloud software you can find on a pre-built NAS. Many of the NAS systems like to require you to go through the manufacturers website to access your NAS at home as a cloud. I don't want that third party cramming themselves into the chain when they are totally unneeded (and very much unwanted, in my case). I imagine the typical NAS uses an ethernet connection (which would be best usually). But the Pi has built-in ethernet, WiFi and Bluetooth. And it has four USB jacks also (unfortunately, these are only USB2.0, but that's still fast enough for my purposes). Ongoing maintenance is another point where the Pi blows away a NAS. For example, say there is another huge SSL vulnerability identified. You can patch that quickly on a Pi, but for a NAS you'd have to wait for the manufacturer to push out a software upgrade. Assuming they're still in business and doing updates when the vulnerability is discovered.

The only good things I can think about for a pre-built NAS is that they are simple, ready to go out of the box (mostly). Also, the interface to the hard disk is probably faster than on a Pi. But you lose out in computing power, flexibility, potential for future re-purposing for a different use, etc. You don't have complete control of your NAS either. The only thing you can do to it is what the manufacturer allowed you to via whatever interface they give you for configuration. You're not 'root' on your NAS, with ultimate control of the OS and what it's running. Plus, a NAS costs a LOT more money than a do-it-yourself Pi solution. The big downside for a Pi-based solution is that you have to be a computer geek to implement it. Compiling stuff, command line configuration, tuning databases and PHP ... the general public - forget about it! But the typical experienced user on these forums would have no problem. It's time consuming and complex to set it up from scratch, but then you know in-depth how it all works and fits together.
 
Old 04-12-2017, 10:39 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122


Just about covers it for me as well. As it happens I have an old GoFlex Home backup unit unloved in the office. Piece of junk, and hasn't been turned on in ages. At one time I had plans to root it and install Arch on it so I would have a decent system to talk to.
Might just work as an offload disk - cheers jefro, I might have to resurrect that idea after all ....
 
Old 04-12-2017, 10:48 PM   #6
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
I've been using a couple seagate 2tb 3.5" drives in Rosewill usb3 docking stations, running 24x7 for months, without problems. The drives sit vertically in the dock, with no case around them, plenty of ventilation.

This wouldn't be ideal in a high-traffic work area though, with no case around the drive you could cause damage if you're moving other metal items near the drive and accidentally hit it.
 
1 members found this post helpful.
Old 04-12-2017, 11:52 PM   #7
rhamel
Member
 
Registered: Sep 2009
Location: Caribbean
Distribution: Slackware 15.0, Proxmox 7.4-17, FreeBSD 13.2
Posts: 70

Rep: Reputation: Disabled
I've been thinking about this myself, the whole NAS thing. I'm getting to the point where I think the best thing is to build a white box with some low power CPU with good cooling, drop some trusted OS on the thing and run rsync or duplicity on it.

It needs cooling, a good NIC, some SATA ports.

I'm almost tempted to rip up my old desktop for the job. Maybe over the weekend. I'm tired of being without a good backup system.
 
Old 04-12-2017, 11:55 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Too much (fan) noise, and too much power - hence why I went with the pi. I have a room full of old kit, but the pi is the go for me.
I'll do the goflex over Easter.
 
Old 04-13-2017, 05:58 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,977
Blog Entries: 33

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
For others who may be interested in building their own NAS, the OpenMediaVault forums have lots of useful advice and information:

http://forum.openmediavault.org/inde...-My-NAS-Build/

Debian-based OMV:

http://www.openmediavault.org/
 
Old 04-14-2017, 01:25 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by me
I'll do the goflex over Easter.
Gotta hate that.
Scraping the data off took ages - oh well. Rooted the thing and installed Arch, but the disk was (still) as noisy as all hell. Figured I'd need to setup spin-down, but checked with smart first.
Ugly - millions (yep, millions) of read errors - I can even see the seek error rate go up with consecutive calls to smart.

Bin that idea.
 
Old 04-14-2017, 05:08 AM   #11
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
External HDD with its own power supply.

(The Pi3 doesn't have enough power to supply a hard drive consistently, from what I've read on the forums.)
 
Old 04-14-2017, 12:09 PM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Main reason as to why I use Scosche 4-port 5 VDC @ 2A USB plugin chargers to support my Rpi and peripherals. No problems and cheap to use.

Hope this helps.
Have fun & enjoy!
 
Old 04-14-2017, 02:00 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Normally I go with the cheapest and the highest capacity drive, then find a way to attach it. So $50 for a docking station and $100 for several terabytes of storage. Times two or three. Throw in a powered usb hub and you should be good. Although at that point you could have just gone with non-pi pre-built option. And a pi for less $$$.
 
1 members found this post helpful.
Old 04-14-2017, 06:23 PM   #14
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Original Poster
Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I think I'm mostly decided on what I'll do now (not 100% yet, but in the 90%'s).

I'm going to get a Western Digital Red 3.5" drive, probably 4Tb for $139. Why that drive? Because it is designed for 24x7 use in a NAS. It's 5400rpm, so it should generate less heat. I believe it may have some vibration damping too, but I'm not sure about that. 3 year warranty. Over the decades I've had many different WD and Seagate drives. WD has had a slightly better reliability for me. But I'm not saying that Seagate has treated me wrong.

I'll put the drive into an external enclosure, that is separately powered (obviously!) I'm researching which enclosure now. Trying to decide if I need one with active cooling (a fan), or just vent holes. Many have momentary pushbutton power switches, but I don't want that because in the event of a power failure, the drive will not come back up automatically, which would nuke it for a server application. It seems like many of the enclosures available were not designed with any though of heat mitigation. And they all think you want an LED power/activity light bright enough to illuminate your entire neighborhood. If you read the user reviews, they all suck, will kill your hard drive, and burn down your house while doing it. So it's a tough decision.

I have gone back and forth and forth and back on which enclosure would be best. And I'm right back at the beginning now, with no idea of which one I should buy. I think I'm settled on the hard drive though. The Red's cost more, but I think they would be better for my application.
 
Old 04-14-2017, 07:03 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Isn't there header board for pi's to add in sata? Think I saw it on Amazon.
 
  


Reply



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
Unreadable external USB data storage(hdd) dogears7 Linux - Newbie 1 04-14-2015 09:42 AM
Blocking external usb storage access on centos 5 pradeep.oops Linux - Security 2 05-23-2008 05:47 AM
Permanently labeling an external USB storage drive apachenew Linux - Hardware 3 10-10-2007 10:53 AM
external usb storage device not detected tokehs Linux - Hardware 4 10-27-2006 12:08 PM
External USB Mass Storage (ALI Chipset) Jimbo99 Linux - Hardware 3 05-12-2004 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:39 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