LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 04-06-2020, 03:28 PM   #1
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
Pi as a file/media server, pros and cons....


So I just recently got the parts in my for Debian file server upgrade. 1 x 120GB SSD for Debian, and 2 x 4TB HDs for storage. One of the 4TB drives will primarily be used for backup copies of the main drive. I've got most of the main files copied over and am about ready to start firing up Plex, and install other services that I use. I am doing all this on old dual core PC. I'm sorta old school and just grew up with desktop PCs. And I'm all about repurposing old hardware if possible.

I've been curious about these Raspberry Pi devices and if I could use one of these to replace my server. Much smaller device, probably uses less electricity, and they seem pretty inexpensive. BUT, could they do all the things I do? Plex/miniDLNA, filestorage/NAS, SSH, FTP, Samba, and just whatever else I want to dabble with.

If I do take this venture, I don't want to have to buy much anything additional and try to use some of my existing new hardware.
 
Old 04-06-2020, 09:33 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
For pros the PI 4 would use less power and there are lots of guides on how to configure it as a file/media server. It has 4G RAM and with the model 4, USB and Ethernet are on separate buses.

For cons the Pi only has USB for data storage and therefore any of the recently purchased parts not USB are wasted for this particular project. You would need a suitable power supply to provide power and separate USB drive power supply for multiple drives would be recommended which may or may not be a con.
 
Old 04-06-2020, 10:16 PM   #3
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
As far as a server. No cons for me. However storage might be since it'd need a powered hub to run a regular harddrive via usb. One thing, they're cheap and if you find it doesn't work for you it'll make a great project
 
Old 04-07-2020, 10:31 AM   #4
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
Thanks michaelk and Mill J...that's kinda what I was afraid of. I don't think I could even get the data transfer rates I am getting with my current setup. I may pick up one down the road to tinker with.
 
Old 04-07-2020, 10:38 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
I think yes, RPi4 is ok for that. I would probably buy a second HDD to make an offline or remote backup, so RPi4 can work with a single device.
 
Old 04-07-2020, 11:23 AM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Basslord1124 View Post
So I just recently got the parts in my for Debian file server upgrade. 1 x 120GB SSD for Debian, and 2 x 4TB HDs for storage. One of the 4TB drives will primarily be used for backup copies of the main drive.

...

I've been curious about these Raspberry Pi devices and if I could use one of these to replace my server. Much smaller device, probably uses less electricity, and they seem pretty inexpensive. BUT, could they do all the things I do? Plex/miniDLNA, filestorage/NAS, SSH, FTP, Samba, and just whatever else I want to dabble with.

If I do take this venture, I don't want to have to buy much anything additional and try to use some of my existing new hardware.
Well, if you're willing to buy a little extra hardware, there are kits that allow you to hang a SATA drive (or four) off a Pi now. (Up to five drives if you're not using a Pi4.) See this page for information. Pricing seems reasonable for a a homegrown NAS server (scroll down for details): ~$150 for the four-drive enclosure and a Pi4. Plus whatever disks you decide to use in it. My music service will have a new home in the (hopefully) not too distant future.

I can't speak to Samba but SSH, NFS, are all certainly available on Raspbian and other Pi-compatible distributions.

HTH...
 
Old 04-07-2020, 11:28 AM   #7
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,332
Blog Entries: 3

Rep: Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727
Quote:
Originally Posted by michaelk View Post
For cons the Pi only has USB for data storage ...
The model 4 B has PCIe support built in.
 
Old 04-07-2020, 11:47 AM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Turbocapitalist View Post
Wow. Interesting but, IMHO, not for the faint-hearted. :^D
 
Old 04-07-2020, 12:03 PM   #9
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,332
Blog Entries: 3

Rep: Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727Reputation: 3727
Quote:
Originally Posted by rnturn View Post
Wow. Interesting but, IMHO, not for the faint-hearted. :^D
Indeed. :O

For most of us, it will be a USB to SATA adapter instead.
 
Old 04-07-2020, 12:06 PM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
Quote:
Originally Posted by Turbocapitalist View Post
looks like a joke for me. Probably the RPi5...
 
Old 04-07-2020, 12:34 PM   #11
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
How cool...thanks for the links.

The PCIe thing is...well...interesting. Probably nothing I'd ever venture into.

Thinking I will keep my current set up for a while, then maybe down the road get the parts I need for this. I'll at least get the Pi first to see what all it can do.
 
Old 04-07-2020, 02:55 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I agree, surface mount soldering is probably not in the skill set of most members... there are other SBCs that do have sata ports like the odroid.
 
Old 05-15-2020, 03:17 PM   #13
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Original Poster
Rep: Reputation: 51
Well ended up getting one a little earlier than expected. Wife got me a Pi 4 2GB as an anniversary gift (anniversary today actually).

Thinking of using it as a media device for our upstairs TV...kinda like a Roku. Maybe put some old school games on it too. Been kinda looking at the projects people use these things for.
 
Old 05-16-2020, 04:35 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Happy anniversary!

May I ask how you connect storage to it, what kind of storage, and how storage is powered?
 
Old 05-16-2020, 08:48 AM   #15
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by Basslord1124 View Post
Well ended up getting one a little earlier than expected. Wife got me a Pi 4 2GB as an anniversary gift (anniversary today actually).

Thinking of using it as a media device for our upstairs TV...kinda like a Roku. Maybe put some old school games on it too. Been kinda looking at the projects people use these things for.
Congrats! there's so many projects for the pi, it's almost endless. There are several distros to turn a pi into a media center or gaming console. There's quite a few tutorials online.

Personally I run raspbian headless with apache/php running some of my own php scripts for music, videos, pictures, etc. But the main usage is running Gogs. Gogs allows me to develop on different PC's and OS's seamlessly, with no internet connection.

Keep us posted on what distro/application you end up using.
 
3 members found this post helpful.
  


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
Pros and Cons of programmatically modifying configuration file ravindrah Linux - Security 1 03-09-2016 12:14 PM
pros and cons -- small "linux box server" versus dedicated "NAS box" SaintDanBert Linux - Server 1 11-30-2013 03:29 PM
linux for a server. your experience.pros and cons fachamix Linux - Server 3 12-14-2009 09:12 PM
What are the well-known server-side languages today? what are the pros and cons? beckettisdogg Linux - Newbie 6 09-07-2009 02:09 AM
Could somebody explain the pros and cons of some of the most used file systems? baldurpet Linux - General 20 12-11-2008 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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