this post was submitted on 05 Feb 2024
39 points (93.3% liked)

Selfhosted

39964 readers
265 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Pretend your only other hardware is a repurposed HP Prodesk and your budget is bottom-barrel

all 47 comments
sorted by: hot top controversial new old
[–] TheInsane42@lemmy.world 48 points 9 months ago (3 children)

Sell them and buy low budget low power consumption disks that would fit my purpose.

Enterprise-grade usually has enterprise-grade power consumption. From the power saving alone you can buy nice stuff.

[–] archomrade@midwest.social 7 points 9 months ago* (last edited 9 months ago) (2 children)

This is a great observation, and it made me do some math:

If my point of comparison is something like a seagate ironwolf 4T vs a WD Ultrastar 4T:

Seagate Ironwolf: 
- 3.7W*24 Hours/day*365 days/year = 32kWh per year * $0.18/kWh = $5.84 per year in power usage * 12 disks in an array = $70.02 per year

*Edit: Looking at this closer, a more reasonable comparison would be an ironwolf PRO disk, since this is a NAS use-case (24-7 run time, large and repeated writes and reads, ect). The power consumption for that is 5.5W, which is a lot closer to the Ultrastar*

WD Ultrastar:
- 7W*24 Hours/day*365 days/year = 61kWh per year * $0.18/kWh = $11.05 per year in power usage * 12 disks in an array = $132.6 per year

Seems like i'd save maybe $70 per year. I feel like that difference might even be justifiable if the enterprise drives are half as likely to fail (seagate ironwolf has an AFR of 0.87%, WD Ultrastar is 0.44%).

Something to think about, at least

[–] acockworkorange@mander.xyz 14 points 9 months ago (3 children)

635 days is a fucking long year.

[–] CazRaX@lemmy.world 5 points 9 months ago

Sometimes a day just FEELS like it's 48 hours long.

[–] archomrade@midwest.social 5 points 9 months ago

Lol, thanks

[–] jkrtn@lemmy.ml 4 points 9 months ago

2020 mood math.

[–] TheInsane42@lemmy.world 1 points 9 months ago (1 children)

In defence, the power prizing here is a tad different, €0.45/KWh was the prize here. Also, when those disks are given away, they are usually smaller then the current standard and less efficient. On the other hand, those enterprise grade disks generate some heat, saving on the heating bill.

[–] archomrade@midwest.social 1 points 9 months ago

that's all true. I'm anxious to get them open and see what they test at; it really seems like some of them are unused, but that could just be because they were refurbished and re-packaged. I'm really curious what the spin times are.

[–] meiti@lemmy.world 2 points 9 months ago

solid advice.

[–] BaldDude@sh.itjust.works 2 points 9 months ago* (last edited 9 months ago) (1 children)

Please do not sell used enterprise hard drives, especially if you got them from your employer. This is how those emberrasing company secrets get leaked and we can't have that can we? :)

[–] TheInsane42@lemmy.world 3 points 9 months ago (1 children)

Then those disks should have been wiped at the company before they were allowed to leave the building.

[–] BaldDude@sh.itjust.works 1 points 8 months ago

Yes!

Yes, they should have been wiped. (and then they should have been fed into a blender if i had my way.) :)

[–] Fudoshin@feddit.uk 29 points 9 months ago (1 children)

Mash into a thick paste and smooth over wholewheat bread with a dash of salt.

[–] TootSweet@lemmy.world -2 points 9 months ago

!lostlemmings@lemmy.world ?

[–] PieMePlenty@lemmy.world 23 points 9 months ago (3 children)

Sell. I don't run a data center and I'm not a cloud provider. I have a meager home server with some stuff plugged in and serve some tv shows. I want this to be as low foot print as possible. If it goes over 10w idle, I'm shutting it down lol.

[–] Blue_Morpho@lemmy.world 5 points 9 months ago (1 children)

If I remember correctly, every watt is around $1 a year. So a 100 watt server costs $100 a year every year to run. 12 SAS drives and the server is going to be expensive to keep running.

[–] AceBonobo@lemmy.world 2 points 9 months ago (1 children)

1W would be 8.769kWh per year. Pricing is regional.

[–] seang96@spgrn.com 1 points 9 months ago

It can also vary by time and day. I got that setup since I use more at night, but in general power companies average that throughout the day.

[–] jkrtn@lemmy.ml 1 points 9 months ago (1 children)

What's your hardware? 10w sounds great to me. I just started a new build and have to play around to see if I can get better C-states while idle.

[–] PieMePlenty@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

11th gen NUC. Much faster than a RPI4, more power if needed (for things like Zigbee USB adapters, external drives..) while still maintaining low power draw on idle. It will jump to 20-30W when transcoding but I dont mind higher power draws when im actually using the thing.

Neofetch Temps

[–] Dumbkid@lemmy.dbzer0.com 1 points 9 months ago (1 children)

Damn 10watts? My server has a 5800x in it(my old cpu) and I have never seen the system pull less than 130watts

[–] PieMePlenty@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

Yeah a lot of people will say to just use your old PC thats lying around and it is a great way to start and learn but if you want something with a lower footprint (low power, quiet, cool) you're better off buying something more suited to that task. Laptops or mini PCs are much more suited to that.

Id love to have a server rack one day but I just cant justify it drawing so much power when I can live with the drawbacks of a smaller server.

[–] solrize@lemmy.world 13 points 9 months ago

You don't say what the capacity is or how old they are. They might not be worth using.

[–] phanto@lemmy.ca 9 points 9 months ago (3 children)

I would haunt eBay for an old file bay, such as an HP Proliant or a NetApp, then get an HBA card, and hope there is a spot in my house that isn't going to be bothered by the noise. There's a seller called theartofserver on eBay that repurposes old enterprise grade stuff for self hosting use, and I got a card that connected a NetApp file bay to my old 4th gen gaming rig, and that's where all my files live now. I've lost a few drives over the years, but no files.

[–] phanto@lemmy.ca 15 points 9 months ago (1 children)

Wait... New answer! I'd give them to the first guy who replied to me on Lemmy! He would be very appreciative.

[–] AtariDump@lemmy.world 1 points 9 months ago (1 children)
[–] phanto@lemmy.ca 2 points 9 months ago (1 children)
[–] AtariDump@lemmy.world 1 points 9 months ago

Wait, am I that guy?

[–] didnt_readit@lemmy.world 1 points 9 months ago (1 children)

Haha crazy to randomly come across that name on Lemmy. I bought a bunch of the parts for my NAS/Proxmox server from that seller a couple years ago.

[–] phanto@lemmy.ca 2 points 9 months ago

Me too! Are you me? Oh no, I've finally lost it... I'm talking to myself.

[–] bhamlin@lemmy.world 8 points 9 months ago

By selling them and buying something more useful.

[–] Shdwdrgn@mander.xyz 7 points 9 months ago (1 children)

No matter how you go about it, getting these drives set up to be reliable isn't going to be cheap. If you want to run without an enclosure, at the very least (and assuming you are running Linux) you are going to want something like LSI SAS cards with external ports, preferably a 4-port card (around $50-$100, each port will run four drives) that you can flash into IT mode. You will need matching splitter cables (3x $25 each). And most importantly you need a VERY solid power supply, preferably something with redundancy (probably $100 or more). These prices are based on used hardware from ebay, except for the cables, and you'll have to do some considerable research to learn how to flash the SAS cards, and which ones can be flashed.

Of course this is very bare-bones, you won't have a case to mount the drives in, and splitter cables from the power supply can be finicky, but with time and experience it can be made to work very well. My current NAS is capable of handling up to 32 external and 8 internal drives and I'm using 3D-printed drive cages with some cheap SATA2 backplanes to finally get a rock-solid setup. It takes a lot of work and experience to do things cheaply.

[–] computergeek125@lemmy.world 1 points 9 months ago (1 children)

Why immediate jump to IT mode? Sure ZFS is great but running ZFS takes a decent chunk of RAM for cache.

[–] Shdwdrgn@mander.xyz 1 points 9 months ago

What do you consider a fair amount? My current server has 64GB of ram but arc_summary says ZFS is only using 6.35GB on a system with three ZFS pools totaling over 105TB of storage under pretty much constant usage.

[–] CalicoJack@lemmy.dbzer0.com 6 points 9 months ago (1 children)

I would sell a few of them to shore up the budget, then use those funds to build a NAS box. You can buy everything other than drives for a few hundred, less if you have spare parts sitting around.

[–] archomrade@midwest.social 1 points 9 months ago

I think this might strike the right balance.

I kinda get where everyone else is coming from, about enterprise grade drives being more performance than needed, but with the reliability of these drives it just doesn't make sense to me to get rid of them all. The power use difference between these and other NAS drives is pretty negligible, and the parts needed to utilize a SAS array aren't all that expensive in comparison to buying new drives (even if I sold all of these, I don't think i could get as much for them as what even a used consumer drive would be).

These are 4TB drives, so an array of 4 in a raid 5 configuration would get me 12 TB. I could go up to a more redundant raid with more disks, so maybe I'll get a shelf/case that can hold 6 or 8 or even 12, and plan for adding more later. I have a high-efficiency micro-atx sitting on my desk with a couple empty PCIE slots, all i'm missing I think is a SAS controller and a case/PSU.

I'm always hurting for more space, so to me it's smart even just to have them sitting on a shelf for when I need another.

[–] fl42v@lemmy.ml 3 points 9 months ago

Remember the dude who managed to trade a paperclip for a home with a few transactions in between? Basically that depending on the exact monetary value of said bottom-barelness :)

[–] AbidanYre@lemmy.world 3 points 9 months ago

How bottom-barrel? Old-ass Dell servers are pretty cheap from various sources.

[–] TseseJuer@lemmy.world 3 points 9 months ago

I would send 4 of them free of charge to @TseseJuer@lemmy.world

[–] ShortN0te@lemmy.ml 2 points 9 months ago

Buy a cheap Disk shelf the Netapp ds4246 (do not remember the smaller models name) and a cheap used hba (host bus adapter) to plug it into.

[–] IrishMASMS@lemmy.world 2 points 4 months ago* (last edited 4 months ago) (1 children)

Looking past the folks recommending to sell them, it seems you have a handful of useful responses here (welcome to the internet & endless September). /snark Look past the naysayers, it will be fun and a learning experience just getting these drives up and running - a worthwhile experience IMHO.

I am down a similar path now, with a bunch of SAS drives. What I have learned/experienced so far:

  • Forget any USB docking stations or enclosures, they may advertise working for all SAS drives but are hit & miss expensive but cheaply made plastic crap.
  • There are a plethora of adapters available online that say you can convert SAS to SATA. Do not believe them - you need a SATA controller that also supports SAS. You may luck out and have a motherboard that has the right SATA chipset that supports SAS, you may not.

As others have mentioned in this thread, the easiest & optimal approach seems to be:

  • Get a low end workstation or server that supports SAS in the chipset and the drive bays
  • Get a low end workstation or server that supports SAS in the chipset and that you can add the drive bays you need
  • Get a low end workstation or server that you can install a controller card that supports SAS

I scored a free workstation from craigslist and one from freecycle, for another project on the workbench.

HTH, and good luck!

(Edited for formatting)

[–] archomrade@midwest.social 1 points 4 months ago

Yup, I ended up frankensteining a nas from various craigslist parts (i actually found a low-power business-class server motherboard that has worked out well for the purpose). Had to get a SAS HBA card and a couple SFF-8087 cables to do the job right, and I grabbed an old gaming case from the 2010's to hold it all, but it was relatively seamless. I had one of the drives go out already, but luckily I had it in a raid configuration with parity so it was just a matter of swapping out the drives and rebuilding.

It's been fun and rewarding, for sure! I'm glad I didn't sell them like these other dweebs told me to lol

[–] lemmy@lemmy.stonansh.org 1 points 9 months ago

Find yourself a enterprise grade server. An older one that cost almost nothing.

[–] Decronym@lemmy.decronym.xyz 1 points 9 months ago* (last edited 4 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
PSU Power Supply Unit
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage
ZFS Solaris/Linux filesystem focusing on data integrity
Zigbee Wireless mesh network for low-power devices

[Thread #492 for this sub, first seen 6th Feb 2024, 12:55] [FAQ] [Full list] [Contact] [Source code]

[–] Menteros@lemm.ee 1 points 9 months ago

Sell them on eBay, buy an SSD based device.

[–] BlueEther@no.lastname.nz 1 points 9 months ago

As others have said… HBA and a disk shelf

I went this route when I had too many 3.5 drives. The dsxxx that I got even came fully loaded with drives, only 1.2tb though