Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to johnstevens77,Bhoddhisatva,scotia,Anonymous,Cornytiv34, for Donating to support the site

Looking for a mini PC for use as a home server

Seek assistance with all types of tech. - computer, phone, TV, heating controls etc.
Redmires
Lemon Slice
Posts: 786
Joined: November 4th, 2016, 6:49 pm
Has thanked: 831 times
Been thanked: 436 times

Re: Looking for a mini PC for use as a home server

#337595

Postby Redmires » September 2nd, 2020, 11:10 am

didds wrote:If its effectively a NAS you need then I'd consider a Raspberry Pi - there are plenty of turtorials/howtos online to make a NAS from one. Its as small as you'll likely ever find currently, and has a fully controllable OS (raspbian - version of linux). On top of the Pi itself you'll need some external hard drive provision which could be as simple as a usb drive(s).

Depending on how sexy you want to get you could incorporate RAID into that etc etc for data intergrity purposes

didds


That's my next project. Here's an excellent, no nonsense guide (none of the usual youtube whooping and hollering)

https://www.youtube.com/watch?v=bpvlEbdA6qI

PrincessB
Lemon Slice
Posts: 440
Joined: November 10th, 2016, 3:26 pm
Has thanked: 99 times
Been thanked: 175 times

Re: Looking for a mini PC for use as a home server

#337730

Postby PrincessB » September 2nd, 2020, 6:26 pm

The problem that I see using a Pi is electrical power. Most USB hard disks are powered from the USB. Not so much a problem for SSD (unless you go daft with LED sparkles), but that gets quite expensive if you want a very big disk. Rotating hard disks take a lot more power.


Western Digial did sell some portable units under the brand name Elements that used a full size 3.5" drive and came with a power adaptor which should negate the need for anything more than a Pi.

Tesco were dumping stock a short time ago and were selling the 2TB units for about £45. I bought one and it is still in the box (I'm not trying to sell it to you) I decided that a NAS would be more useful and in the end got one of each.

As usual, you'll have to do some hunting as the Elements name is used both for the larger (external power) model that I have (about the size of a mid sized holiday reading paperback) and the small laptop sized drives in enclosures which only have a USB connector.

If you fancy the Pi route, I would expect the Pi to be able to handle an SSD and if you can whack on a big old hard drive with its own power block, you should be fine.

I know this is drifting off topic, but there has been a scandal recently on a hard drive technology called SMR or Shingled Magnetic Recording. It is unlikely to appear in a drive of under 2TB but for those with a bit of time this is an interesting place to start reading.

https://arstechnica.com/gadgets/2020/04 ... -channels/

Regards,

B.

GeoffF100
Lemon Quarter
Posts: 4720
Joined: November 14th, 2016, 7:33 pm
Has thanked: 178 times
Been thanked: 1363 times

Re: Looking for a mini PC for use as a home server

#337740

Postby GeoffF100 » September 2nd, 2020, 7:52 pm

Here is a big collection of mains powered external USB drives:

https://www.cclonline.com/category/702/ ... t/1064001/

moorfield
Lemon Quarter
Posts: 3523
Joined: November 7th, 2016, 1:56 pm
Has thanked: 1546 times
Been thanked: 1402 times

Re: Looking for a mini PC for use as a home server

#337752

Postby moorfield » September 2nd, 2020, 9:12 pm

dave559 wrote:I'm thinking of buying a mini PC for use as a Linux-powered home server (eg, for backup drives and additional storage, etc).

There seem to be quite a few of these on Amazon, does anyone have any experience with any of these, or others, or any general advice?




A left field suggestion - why not build and rent a Linux server on Amazon's EC2 cloud service? - see https://aws.amazon.com/

I mention this because I have spent a lot of the summer playing around with AWS, mostly out of curiosity as moving stuff (both hardware and software) onto cloud services is becoming a rapidly increasing trend in my industry which I've been needing to bone up on.

I've had a Windows 2016 server running on AWS for a few months to try out running backups of various applications I use at home and like you for additional storage. The first year's usage is free and subsequent running costs look to be very low.

You would of course need a good broadband connection and browser to access it from another PC which I assume you would have anyway. And of course you'll learn some great new skills if you work in IT!

didds
Lemon Half
Posts: 5244
Joined: November 4th, 2016, 12:04 pm
Has thanked: 3244 times
Been thanked: 1018 times

Re: Looking for a mini PC for use as a home server

#337767

Postby didds » September 2nd, 2020, 10:25 pm

wrt external drives... £4 gets you a 2 Tb usb stick from china.... (obvious caveats)

get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

didds

GeoffF100
Lemon Quarter
Posts: 4720
Joined: November 14th, 2016, 7:33 pm
Has thanked: 178 times
Been thanked: 1363 times

Re: Looking for a mini PC for use as a home server

#337805

Postby GeoffF100 » September 3rd, 2020, 8:26 am

didds wrote:wrt external drives... £4 gets you a 2 Tb usb stick from china.... (obvious caveats)

That looks like a scam.

didds wrote:get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

I do not understand your arithmetic.

didds
Lemon Half
Posts: 5244
Joined: November 4th, 2016, 12:04 pm
Has thanked: 3244 times
Been thanked: 1018 times

Re: Looking for a mini PC for use as a home server

#337812

Postby didds » September 3rd, 2020, 8:44 am

GeoffF100 wrote:
didds wrote:get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

I do not understand your arithmetic.


to be fair I may have cocked up...
isn't it

2 x 4TB = 8 Tb stripe.
do that twice and mirror one stripe to the other.
qed - 8TB mirrored drive

4 x 4TB = 16Tb stripe.
qed - 16Tb drive

happy to be wrong - its a long time since I did any of this in anger

didds

swill453
Lemon Half
Posts: 7962
Joined: November 4th, 2016, 6:11 pm
Has thanked: 984 times
Been thanked: 3643 times

Re: Looking for a mini PC for use as a home server

#337815

Postby swill453 » September 3rd, 2020, 9:00 am

didds wrote:
GeoffF100 wrote:
didds wrote:get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

I do not understand your arithmetic.


to be fair I may have cocked up...
isn't it

2 x 4TB = 8 Tb stripe.
do that twice and mirror one stripe to the other.
qed - 8TB mirrored drive

4 x 4TB = 16Tb stripe.
qed - 16Tb drive

happy to be wrong - its a long time since I did any of this in anger

didds

That sounds ok, but your original drive was 2TB, not 4TB.

Scott.

Urbandreamer
Lemon Quarter
Posts: 3121
Joined: December 7th, 2016, 9:09 pm
Has thanked: 347 times
Been thanked: 1025 times

Re: Looking for a mini PC for use as a home server

#337824

Postby Urbandreamer » September 3rd, 2020, 9:12 am

didds wrote:wrt external drives... £4 gets you a 2 Tb usb stick from china.... (obvious caveats)

get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

didds


I wonder what the lifespan would be, given that you are talking cheap disposable flash memory versus SSD, something designed with wear leveling, self checking and use of redundant storage*.

There are of course many trade offs. In principle your idea fits well with the concept of RAID (redundant array of inexpensive "disks").
Indeed a search shows that it has been done many times.
Personally I not only suspect that the offer you quote is a scam, but that doing the same with more trustworthy suppliers would simply lead to significant maintenence. I.E. having to replace one or more sticks every year. Not to mention the maintenence of the SD card containing the OS in this case.
Strangely search does not reveal any comments upon the lifespan achieved of such a USB stick RAID array..

It might also be quite slow when writing.

*Actually there are some cheap SSD's on the market that gain their cost advantage by reducing the amount of redundant storage.

didds
Lemon Half
Posts: 5244
Joined: November 4th, 2016, 12:04 pm
Has thanked: 3244 times
Been thanked: 1018 times

Re: Looking for a mini PC for use as a home server

#337842

Postby didds » September 3rd, 2020, 9:57 am

swill453 wrote:That sounds ok, but your original drive was 2TB, not 4TB.

Scott.



Ah! Yes. Bugger! LOL.

Make that a 8Tb stripe or a 4TB mirror then! DOH!

didds

didds
Lemon Half
Posts: 5244
Joined: November 4th, 2016, 12:04 pm
Has thanked: 3244 times
Been thanked: 1018 times

Re: Looking for a mini PC for use as a home server

#337844

Postby didds » September 3rd, 2020, 9:58 am

Urbandreamer wrote:
I wonder what the lifespan would be,

etc..



Yes. hence my inclusion of " (obvious caveats)". So I didnt have to repeat everything that people here in this group already seem to know.

didds

GrahamPlatt
Lemon Quarter
Posts: 2059
Joined: November 4th, 2016, 9:40 am
Has thanked: 1032 times
Been thanked: 823 times

Re: Looking for a mini PC for use as a home server

#337880

Postby GrahamPlatt » September 3rd, 2020, 11:20 am

This thread reminded me of another backup option I was considering a while ago, Wasabi. Referred to in the video posted here by Infrasonic viewtopic.php?f=39&t=23189&p=304480#p304480

https://wasabi.com/

Haven’t taken the plunge yet.

GeoffF100
Lemon Quarter
Posts: 4720
Joined: November 14th, 2016, 7:33 pm
Has thanked: 178 times
Been thanked: 1363 times

Re: Looking for a mini PC for use as a home server

#337901

Postby GeoffF100 » September 3rd, 2020, 12:23 pm

Urbandreamer wrote:
didds wrote:wrt external drives... £4 gets you a 2 Tb usb stick from china.... (obvious caveats)

get 4 of those and you've a 8Gb mirrored RAID drive.. or 16Gb of striped disk. that's a lot of space domestically!

didds

I wonder what the lifespan would be, given that you are talking cheap disposable flash memory versus SSD, something designed with wear leveling, self checking and use of redundant storage*.

There are of course many trade offs. In principle your idea fits well with the concept of RAID (redundant array of inexpensive "disks").
Indeed a search shows that it has been done many times.
Personally I not only suspect that the offer you quote is a scam, but that doing the same with more trustworthy suppliers would simply lead to significant maintenence. I.E. having to replace one or more sticks every year. Not to mention the maintenence of the SD card containing the OS in this case.
Strangely search does not reveal any comments upon the lifespan achieved of such a USB stick RAID array..

It might also be quite slow when writing.

*Actually there are some cheap SSD's on the market that gain their cost advantage by reducing the amount of redundant storage.

Flash drives from good manufacturers do have wear levelling and redundant storage, but still are not as good as a good SSD. Poor write speed is not necessarily an issue with a Raspberry Pi NAS. The write speed in the Explaining Computers video was about 50 MB / sec. Gigabit Ethernet limits the speed to about 100 MB / sec anyway. That will easily be beaten by a good flash drive.

GeoffF100
Lemon Quarter
Posts: 4720
Joined: November 14th, 2016, 7:33 pm
Has thanked: 178 times
Been thanked: 1363 times

Re: Looking for a mini PC for use as a home server

#337914

Postby GeoffF100 » September 3rd, 2020, 12:58 pm

What we do not know here are the data volumes (total data to be stored and volume stored per day). We also do not know the number and nature of the computers will be accessing the shared storage. We have been told that there is no space for an additional small form factor PC. That may rule out multiple mains powered disk drives too. Perhaps the simplest solution is to put the shared storage on one of the existing computers, after adding another disk drive, perhaps. That solution is easy and might cost nothing:

https://www.howtogeek.com/176471/how-to ... and-linux/

mc2fool
Lemon Half
Posts: 7812
Joined: November 4th, 2016, 11:24 am
Has thanked: 7 times
Been thanked: 3017 times

Re: Looking for a mini PC for use as a home server

#337920

Postby mc2fool » September 3rd, 2020, 1:34 pm

Urbandreamer wrote:
didds wrote:wrt external drives... £4 gets you a 2 Tb usb stick from china.... (obvious caveats)

I wonder what the lifespan would be...

The main issue with these unbelievably cheap large capacity USB flash drives isn't lifespan but simply that they're a scam. The drive reports it is 2Tb and appears to be so but the actual storage is much lower and it just overwrites/throws away data when it's reached its actual storage capacity.

https://www.google.com/search?q=2tb+usb+flash+drives+scam

Infrasonic
Lemon Quarter
Posts: 4479
Joined: November 4th, 2016, 2:25 pm
Has thanked: 644 times
Been thanked: 1260 times

Re: Looking for a mini PC for use as a home server

#337964

Postby Infrasonic » September 3rd, 2020, 5:51 pm

Just as a FYI as the thread has meandered around many of the server/NAS/VPS options available today...https://www.qnap.com/solution/qutscloud/en-us/

QuTScloud is a cloud-optimized version of the QNAP NAS operating system. Install QuTScloud on your preferred public clouds, start your cloud NAS, and benefit from flexible file management and collaboration that is unavailable from most cloud platforms. With QuTScloud you can immediately experience all the benefits of a QNAP NAS without any hardware requirements or complex maintenance of the cloud environment.
Cont.

hiriskpaul
Lemon Quarter
Posts: 3852
Joined: November 4th, 2016, 1:04 pm
Has thanked: 682 times
Been thanked: 1489 times

Re: Looking for a mini PC for use as a home server

#338049

Postby hiriskpaul » September 4th, 2020, 10:28 am

Redmires wrote:
didds wrote:If its effectively a NAS you need then I'd consider a Raspberry Pi - there are plenty of turtorials/howtos online to make a NAS from one. Its as small as you'll likely ever find currently, and has a fully controllable OS (raspbian - version of linux). On top of the Pi itself you'll need some external hard drive provision which could be as simple as a usb drive(s).

Depending on how sexy you want to get you could incorporate RAID into that etc etc for data intergrity purposes

didds


That's my next project. Here's an excellent, no nonsense guide (none of the usual youtube whooping and hollering)

https://www.youtube.com/watch?v=bpvlEbdA6qI

I watched this yesterday and was surprised at the poor write performance of 49MB/s. I have a Synology NAS of much lower spec than a Pi4 and that manages about 70MB/s on large files. The hard disk I am using is old as well - a temporary replacement for the one that was in there that developed a fault. I might try it with an SSD later. I have a Pi4 I might test with an SSD as well.

If you have a large number of files to backup and/or what a quick backup, nothing beats a locally attached SSD, even through USB3. 1 Gbit Network performance will limit backups to around 100MB/s. You can at least double that with a USB3 attached SSD.

Redmires
Lemon Slice
Posts: 786
Joined: November 4th, 2016, 6:49 pm
Has thanked: 831 times
Been thanked: 436 times

Re: Looking for a mini PC for use as a home server

#338216

Postby Redmires » September 4th, 2020, 10:16 pm

hiriskpaul wrote:I watched this yesterday and was surprised at the poor write performance of 49MB/s. I have a Synology NAS of much lower spec than a Pi4 and that manages about 70MB/s on large files. The hard disk I am using is old as well - a temporary replacement for the one that was in there that developed a fault. I might try it with an SSD later. I have a Pi4 I might test with an SSD as well.

If you have a large number of files to backup and/or what a quick backup, nothing beats a locally attached SSD, even through USB3. 1 Gbit Network performance will limit backups to around 100MB/s. You can at least double that with a USB3 attached SSD.


In the comments below the video it's pointed out that the HDD was NTFS formatted. If it was reformatted with EXT4 it would improve transfer speeds substantially.

hiriskpaul
Lemon Quarter
Posts: 3852
Joined: November 4th, 2016, 1:04 pm
Has thanked: 682 times
Been thanked: 1489 times

Re: Looking for a mini PC for use as a home server

#338341

Postby hiriskpaul » September 5th, 2020, 1:09 pm

Redmires wrote:
hiriskpaul wrote:I watched this yesterday and was surprised at the poor write performance of 49MB/s. I have a Synology NAS of much lower spec than a Pi4 and that manages about 70MB/s on large files. The hard disk I am using is old as well - a temporary replacement for the one that was in there that developed a fault. I might try it with an SSD later. I have a Pi4 I might test with an SSD as well.

If you have a large number of files to backup and/or what a quick backup, nothing beats a locally attached SSD, even through USB3. 1 Gbit Network performance will limit backups to around 100MB/s. You can at least double that with a USB3 attached SSD.


In the comments below the video it's pointed out that the HDD was NTFS formatted. If it was reformatted with EXT4 it would improve transfer speeds substantially.

Yes, I can definitely confirm that ext4 gives much better performance than ntfs. Backing up 3 large files, about 21Gb in total, to an 8 year old USB3 attached mechanical drive gave 32MB/s using ntfs and 85MB/s using ext4. CrystalDiskInfo gives 108MB sequential read, 98Mb write to the network share. So using a Pi4 as a NAS seems reasonable.

However, there are a few oddities. I cannot get my SSDs to work reliably with either ntfs or ext4.

Curiously as well, real world read testing seems much worse than writing. Reading back my 3 large files and writing to my local SSD gives only 35MB/s. Anyone know why that might be?

Infrasonic
Lemon Quarter
Posts: 4479
Joined: November 4th, 2016, 2:25 pm
Has thanked: 644 times
Been thanked: 1260 times

Re: Looking for a mini PC for use as a home server

#338354

Postby Infrasonic » September 5th, 2020, 1:54 pm

hiriskpaul wrote:However, there are a few oddities. I cannot get my SSDs to work reliably with either ntfs or ext4.

Curiously as well, real world read testing seems much worse than writing. Reading back my 3 large files and writing to my local SSD gives only 35MB/s. Anyone know why that might be?


SSD's rely on cache, the better (more expensive) the SSD the more cache it will have (generally SLC).
When you do large file transfers the cache gets saturated and the performance drops off a cliff, sometimes below that of a HDD!
No way out of it other than stumping up for decent branded high performance SSD's (Samsung et al).

In general it's best to have a good DRAM/SLC cache SSD as a boot drive, cheaper DRAMless/small cache as data drives are fine (unless you routinely handle large files).
Long life NAS specific SSD's are now available (WD red £,Seagate Ironwolf ££ and Synology £££ --very expensive with power failure caps et al like enterprise drives).

I think modern Synology NAS' are BTRFS by default these days rather then EXT*.


Return to “Technology - Computers, TV, Phones etc.”

Who is online

Users browsing this forum: No registered users and 14 guests