20

Not sure why this doesn't exist. I don't need 12TB of storage. When I had a Google account I never even crossed 15GB. 1TB should be plenty for myself and my family. I want to use NVMe since it is quieter and smaller. 2230 drives would be ideal. But I want 1 boot drive and 2 x storage drives in RAID. I guess I could potentially just have 2xNVMe and have the boot partition in RAID also? Bonus points if I can use it as a wireless router also.

top 50 comments
sorted by: hot top new old
[-] TCB13@lemmy.world 7 points 2 years ago* (last edited 2 years ago)

All of those HP minis have 2 NVMe slots. If you're looking for more bays maybe a QNAP TBS-h574TX (Core i3-1320PE) will bit your needs better. Or the Asustor Flashstor 6 FS6706T.

But I want 1 boot drive and 2 x storage drives in RAID

One other possible approach to this is to go with the 800 G4 or the 800 G6 as they also SATA port you can use for your boot drive.

You can also boot from a fast USB 3 flash drive, since it's your boot drive it won't be as bad as you think. Consider some servers boot from SD Cards and other low performance media with almost static images.

[-] catloaf@lemm.ee 6 points 2 years ago

I work with real servers. SD card boot media is generally a bad idea. VMware officially semi-deprecated it a while back. Unless you tune your install to redirect typical I/O to the durable drives (which is going to be a pain, having to find and reconfigure all those services), typical logging to disk and various temp files are going to wear it out pretty quickly.

I would just use two drives and not separate the OS. That way, you also don't have to worry about the OS drive failing and taking down the server.

Just be careful if you reinstall. I'd suggest deleting the OS partitions first, then reinstalling to the empty space, instead of trusting the installer to do it properly.

load more comments (3 replies)
[-] helenslunch@feddit.nl 1 points 2 years ago

I appreciate the suggestion but these are not N100 PCs. I'm looking for something in the $200-300 range. Those are just complete overkill for my purposes.

I do like the idea of using USB drives for storage, though...

[-] Atemu@lemmy.ml 5 points 2 years ago

I do like the idea of using USB drives for storage, though…

I wholeheartedly don't.

[-] helenslunch@feddit.nl 1 points 2 years ago
[-] realbadat@programming.dev 3 points 2 years ago

Nope.

Just waiting for failure in my experience.

[-] Sethayy@sh.itjust.works 2 points 2 years ago

Though it could be cheaper to have a backup or 2, all identical bits stored on them and swap them out as(/if) they fail

[-] ITGuyLevi@programming.dev 1 points 2 years ago

I have a few servers that have been booting from USB for years. Two of my old freenas boxes (now just hosting backups of data from unraid), have been booting off the same USB sticks for almost 10 years now. In addition to the freenas boxes I use internal USB drives on Unraid, ProxMox, and ESXi hosts (had to try them all).

Its a risk, but having a cloned USB as a backup can mitigate it a bit.

[-] realbadat@programming.dev 1 points 2 years ago

So just... Waiting for failure then? ;)

As for me, give me an HA cluster and I don't care if I need to reinstall. I don't need to worry about an additional point of failure (USB drive) that is almost always going to fail before any of the other hardware.

It's part of why absolutely nothing important ever runs on a raspberry Pi for me though, SD cards are no better.

Now as for my favorite example of why I don't do it in production? Someone doing a bit of minor maintenance in the rack, accidentally pressed against a box running esxi off USB (on a gen 6 HP for rough timeline), broke the drive.

The backup? Well, it had corrupted, and wouldn't boot.

[-] ITGuyLevi@programming.dev 2 points 2 years ago

Oh man, that would suck. I do not ever use an external USB port for that exact reason! Aside from a few desktops and laptops around the house all my equipment has an internal USB port for the purpose of a boot drive (I always assumed that was the reason).

All production stuff needs backups. Personally I try to keep boot device backups saved to another device as an image so if one goes down, I can clone it to a USB real quick and restore the blink to the lights; ideally I should also keep them off site, but I don't like to use cloud providers (tin foil hat and all).

[-] realbadat@programming.dev 2 points 2 years ago

Wasn't my rack, thankfully, so it was someone else's problem.

But anyway even internal you're just leaning on when the thumb drive will fail vs an SSD and the onboard controller. So give me that SSD and HA any day of the week, but that's my comfort level. I even do it at home with my proxmox clusters.

[-] TCB13@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

You can get those machines second hand for the price range you specified.

About the USB storage, just be careful about what OS you're running. It is very important that you to manually configure the system not to write logs and other crap to the flash storage OR... you can pick something like Armbian (yes it does have a x86 version) that is already tweaked to run on SD card and other kinds of flash.

If cheap USB flash isn't performant enough maybe a USB SSD of some kind (there are some that are NVMe) will most likely work you. Anyway don't forget that USB may disconnect when pushed around and it can become a issue.

I frankly wouldn't run anything over USB because it is painful but it is an option. Maybe make a solid case for your mini computer and the hard drive and bolt everything down into place.

[-] Lifebandit666@feddit.uk 1 points 2 years ago

I'm currently running 3.5 inch HDDs via usb3.0 to sata. Working ok so far (time will tell) but I do need a plug socket for every one of them

load more comments (14 replies)
[-] Moonrise2473@feddit.it 2 points 2 years ago

I don't think that you can have 3 pcie lanes on a N100 CPU

but you can have 2 sata in raid 1 as boot drive for truenas and 2 nvme in zfs raid 1

[-] helenslunch@feddit.nl 1 points 2 years ago

SATA SSD would be acceptable also. I just prefer NVMe for compactness.

[-] retro@infosec.pub 1 points 2 years ago

NVMe isn't the compactness. That's just the interface that is used. The form factor is M.2. You can get SATA drives in the M.2 form factor as well. So if you do want an small form factor drive, make sure you look at if it is SATA or NVMe and which one your device supports as they are keyed differently.

[-] thayer@lemmy.ca 1 points 2 years ago* (last edited 2 years ago)

I think you'll be out of luck for 3 slots, but you could always use the native slot for OS and dock the other 2 via USB with RAID capability in something like this.

[-] helenslunch@feddit.nl 1 points 2 years ago

Yeah I've seen these DAS boxes before but from what I've read there are lots of speed and compatibility issues...

[-] Shimitar@feddit.it 1 points 2 years ago

Using USB3 / USBC external storage for years.

Buy a good, non cheap, USB jbod or raid enclosure and put SSDs in it!

I have a 4 bay USB3 jbod plus a 2 bay USB-C box, inside the disks are all RAID.

Indeed internal disks / ssds / nvme are better, but consider that speed wise even USB3 is faster than any WiFi.

Just don't but they cheap and use good cables. And if you use spinning disks, ensure they stay cool.

load more comments
view more: next ›
this post was submitted on 26 Mar 2024
20 points (88.5% liked)

Selfhosted

62903 readers
483 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS