Live data from Hacker News

The Cheapest NAS

sigwait.org

211–220 of 308 posts

Re: The Cheapest NAS

#212

Earlier quoted context omitted.

There's a lot of places the file can get corrupted on its way to your drive. The memory of the NAS itself is only one of those. If you want any certainty you need to verify it after writing, so ECC RAM is not enough. And once you do set up that verification, you don't need the ECC RAM anymore.

Can you tell us HOW to setup a NAS so that it doesn't need ECC RAM?

That differs based on the program you're using to put files onto the NAS.

But I'll note the even with ECC you need to double check things in case there was corruption on the drive wires or in many other places. With the right filesystem you can find some of those locally during a scrub, but double checking end-to-end isn't much harder.

Re: The Cheapest NAS

#213

Earlier quoted context omitted.

Kids today have no idea just how often drives failed back in the day.

IBM deathstar[0] drives in a collection of RS6000's is still too fresh in my memory :-) [0] https://en.wikipedia.org/wiki/Deskstar

Lost the first five years of my source code thanks to a Deathstar. Still miffed about it, would have enjoyed looking back at it from time to time.

Learned a valuable lesson in backups though...

Re: The Cheapest NAS

#214

My secret protip: old Fujitsu desktop/nuc PCs. At least in Germany (Europe?) they are cheap on ebay since a lot of businesses use them and upgrade on a regular schedule. If you care about power consumption like I do, you can Google "$model energy consumption white paper" which contains very accurate data about idle usage, for example https://sp.ts.fujitsu.com/dmsp/Publications/public/wp-energy... In one case I had a…

Correct. I have a 5 node Fujitsu esprimo D756/D757 cluster that has i5-6500 CPU's and 96GB RAM and 5x NVMe + 5x HDD that usually sits around 80W total. Removing HDD and reducing RAM would drop the power usage but in my case it's not important to go after the last Watt.

I bought them them for 50 euro a piece without RAM and disks.

Re: The Cheapest NAS

#215

Earlier quoted context omitted.

Wow! What kind of data are you generating that 2TB ‘just isn’t very much’? (Video editing?) All my personal files take up around 10GB in my Google Drive.

One example: If you take picture with a decent camera in raw format, your storage gets filled ridiculously fast. A short travel with a mere 200 pictures can easily be like 25M*200=5G. Another example: if you're doing any kind of AI training (especially picture based), the training materials can easily amount to many terrabytes.

[deleted]

Re: The Cheapest NAS

#216
post #4

When people set up these NAS's, how are they accessing the files? NFS? SFTP? And how are you accessing it when away from home? A VPN that you're permanently connected to? Is there a good way to do NAT hole-punching? Syncthing kind of does what I want, in that it lets all my computers sync the same files no matter what network they're on, but it insists on always copying all the files ("syncing") whereas I just want t…

I have a (completely overkill) Ubiquiti Dream Wall that lets me VPN in using WireGuard. I do have a Raspberry Pi that runs (among other stuff) a script to ping a service on hosted server that keeps a dns entry updated in case my IP address changes, although that's rare.

I built the service to keep the dns entry updated myself, so I'm sure it's not as secure as it could be, but it only accepts pings via https and it only works if the body of the POST contains a guid that is mapped to the dns entry I want it to update.

Re: The Cheapest NAS

#217
Personally I don't want to put too much stuff on my router/firewall. The reason I run OpenBSD on it is because I want it to be as secure as possible, it has the final word in my network and it's the outer most device of my network.

For storage I've been using Synology for a long time, first ds411+slim and now a ds620slim. I love the slim form factor, only 2.5" drives. It just works™

Re: The Cheapest NAS

#218
post #4

When people set up these NAS's, how are they accessing the files? NFS? SFTP? And how are you accessing it when away from home? A VPN that you're permanently connected to? Is there a good way to do NAT hole-punching? Syncthing kind of does what I want, in that it lets all my computers sync the same files no matter what network they're on, but it insists on always copying all the files ("syncing") whereas I just want t…

I use sshfs. If you can login via ssh then you can mount the remote server through ssh as a local drive. https://github.com/libfuse/sshfs For added security I limit my home ssh access to a handful of trusted IPs including my cloud VM. Then I set up an ssh tunnel from my hotel through the cloud VM to home. The cloud VM never sees my password / key

Its worth keeping this (from their readme) in mind though:

> However, at present SSHFS does not have any active, regular contributors, and there are a number of known issues (see the bugtracker).

Not that it is unusable or anything, it is still in widespread use, but I'd guess many assume it to be part of openssh and maintained with it, when it isn't.

An interesting alternative might be https://rclone.org/, which can speak SFTP and can mount all (of the many) protocols it speaks.

Re: The Cheapest NAS

#219
post #205

My secret protip: old Fujitsu desktop/nuc PCs. At least in Germany (Europe?) they are cheap on ebay since a lot of businesses use them and upgrade on a regular schedule. If you care about power consumption like I do, you can Google "$model energy consumption white paper" which contains very accurate data about idle usage, for example https://sp.ts.fujitsu.com/dmsp/Publications/public/wp-energy... In one case I had a…

Don't share this information too far and wide, you might drive up the price for these in the second hand market, which will hurt us dirt-cheap-pc-gluts. I cannot say no to cheap compute for some reason.

[deleted]

Re: The Cheapest NAS

#220
Cheap, but not necessarily good, expandable, or resilient.

Although, I can tell you what not to do: a 45 drive SAS/2 or /3 4U JBOD case takes way too much power to use all the time and uses screaming 1U fans and PSUs by default.

I do have 45 drives in various XFS on md raid10 arrays. Don't even mention ZoL ZFS because that was a fucking disaster of undocumented, under-tested, and SoL "support" for something that should only be used on a proper Sun box like a Thumper. XFS and md are fairly bulletproof.

Perhaps one can Ceph their way into significant storage with a crap ton of tiny DIY boxes, but it's going to be a pain to deploy and manage, take lots of space, and probably damn expensive to physically install, network, and provide UPS for.

Post reply on HN