r/unRAID•
mavetech

I think I made a big mistake going with Unraid, am I wrong?

Help

Backstory:

I currently have two NAS/Servers. Both are SuperMicro rack mounts, same processors, memory, hard drives, and running hardware raid 5. Both are running Emby, Radarr, Sonarr, SABnzbd, a database, DNS, Pihole, Syslog, S/FTP, TFTP, HyperV/Docker and DHCP. One is Ubuntu and one is Windows. In the six years they have been running, excluding long power outages, they have never been inaccessible even when a drive went bad and the new one was being rebuilt. We are moving and after thirty years as a network engineer, I no longer need a home lab (no more rack full of servers and networking equipment) work now has everything I need to work with. It’s time to downsize sort of and replace the old server.

My present problems:

I built a new tower server that will be on a shelf next to the media box in the av closet of the new house. After a long debate (with myself) I decided to use Unraid. Four times I had to wipe and start the configure over again (mostly my mistakes, but twice due to adding parts to the server and watching Unraid crap itself), not a good start. The issue I have right now is sort of my own making but has exposed a major issue. I moved the new server to where all the rest of the equipment I have is. During a reconfiguration of some patch cables, I tripped over the temporary power cable I had in place and the Unraid server lost power. That was three days ago. Since the server has been back on it’s has been doing a parity check. It’s currently at 26% saying it has 4 days and 17 hours left to go. I cannot stream anything using Emby, copy files to or from it at any speed faster than 5kbps, and none of the dockers can do anything that requires access to the array. If this was in use right now my family would be raising hell! Never mind the five kids, aunts and uncles, and parents that use the media server. My wife would be the one that would be angriest. No at me but would insist I replace the offending software/hardware with one that works. How do I move forward with Unraid if it’s going to be so unusable for days just because of a power cut? Besides going with an all-SSD setup how do speed things up? It’s not the CPU, it’s never got over 3% usage. All eight main drives are NAS 7200 rpm drives plus three cache SSDs.

Do not get me wrong I am not knocking Unraid, just think it may not be right for me or I missed something.

Posted Sep 17, 2023, 11:31 PM UTC

148
16golfr•

User Error

Get a UPS, doesn't matter what OS

Put it on maintenance mode,and do parity

1
Purple10tacle•

Put it on maintenance mode

There really shouldn't be a reason for this on a normally operating system. Unraid can, and generally does, perform a parity check without the crippling performance impact op is describing.

4
16golfr•

Depends on your use case, maintenance mode would prevent mounting any shares.

Depends how many users access the server, it could have a crippling effect.

As for the performance I agree, something doesn't add up

1
Purple10tacle•

Edit: lol, check out ops edit...

Which one? :-)

Looks like the HBA was the culprit.

1
mavetechOP•

It was on a UPS the cord was pulled out of the back off the server. Yes, user error since it was in a temp location, and I tripped over the power cable. I stopped the check and stop the array. Started it in maintenance mode and started a parity check. Still going to be down for two days, not acceptable to anyone in the family if it was live.

1
TheMerchant613•

Unraid when working will run as normal while doing a parity a check. A parity check is limited by your slowest disk. It sounds like you have a bad disk or SATA cable in your build. A 20TB parity check usually doesn’t take more than 3 days, even when I have users streaming from Plex constantly.

1
UnknownLyrker•

Definitely user error and not an Unraid problem. I running a Ryzen 5 3600 on an AsRock Rack mainboard with 32GB ECC memory and 5 x 16TB WD Gold Drives (one drive is parity). Have always had it connected via USB to a UPS. Have never had issues. When rebuilding parity, content can still be streamed without issue.

You can knock the cable out and tank it like that. No system is gonna be happy when that happens.

1
mavetechOP•

I have done it before on the other two servers, it's been a few years but neither had an issue.

1
debaser_19•

There’s an extension where you can schedule parity checks and have it pause outside of that window. It usually completes in a couple days for me, only running from 3am-7am

1
Grim-D•

Doesn't sound right. I run a parity check once a quarter. While running the systems is slower then usual but still fully functional. Usually takes less then a day for it to complete on my 16TB SATA array (2 x 8TB and 2 x 4TB) .

1
mavetechOP•

I have 6 14tb drives and two 8tb ones.

1
Grim-D•

Then the amount of tine seems more reasonable but still longer then I would think. As all drives are read it should be more about the size of the biggest drive then the nimber od them. With that many drives aounds like your controller/backplane might have bandwith issues simce you say the CPU is low.

1
anhloc•

Sounds like your disks are being accessed at the same time as it’s trying to go full bore doing the parity check.

I have 16 14TB drives in my server with dual parity. Parity check takes about 24.5 hours. If I try and access files while it’s crunching through that, the file access will take quite a while compared to normal.

Do what you can to ease up disk access until the parity check is done.

And mistakes happen. You tripped. Thankfully you didn’t hurt yourself or damage anything physically.

1
mavetechOP•

The only thing accessing the array was me testing, all dockers were shut down after I checked them. I was only trying to copy one file for testing.

1
Purple10tacle•

Yeah, something absolutely isn't right here, and I have my doubts that unRAID is the culprit.

Is there a reason why you're so coy about your specs and config?

A parity check over 9 Disks with a maximum size of 12Tb takes roughly two days to complete for me, and the system remains fully functional with no notable impact on performance while it's happening. It comfortably sustains multiple Plex-streams and parallel file operations to and from the shares. That's on a cheap i5-11400 and 32Gb of RAM.

1
mavetechOP•

AMD Ryzen 5 3600 6-Core @ 3600 MHz

32gb of memory

6 14tb Western Digital Ultrastar DC HC530 WUH721414ALE6L1 7.2K RPM SATA 6Gb/s drives

2 8tg Seagate 7.2k drives

1
Purple10tacle•

Sounds perfectly fine. So somewhere there's a bottleneck. How are the drives connected?

Oh, wait, do you not have a cache-drive?

1
jepal357•

I JUST added a cache drive and didn’t have these problems before

1
worldspawn00•

Cache just allows for faster transfer during parity since that doesn't involve the cache drive/s.

1
Purple10tacle•

Yeah. It's a little ambitious to run what OP is running in purely mechanical drives, but would still not account for the described tanked i/o speeds. The lack of cache drive would also eliminate a rogue mover as a possible culprit - there would be nothing to move.

1
anhloc•

Agreed. From the unraid dashboard what speed are you getting on your parity check per drive (switch from read/writes to speed view on main page.)

My drives start at around 220MB/s and at the end hit 95ish.

1
memorablenuts•

Same. I have 8x16tb with a 10300k, 64gb, and dual nvme 2tb cache. Parity check quarterly. All services stay up and perform adequately for several families.

1
kushdup•

Something is very wrong, mine takes about 1.5 days to parity check 6x 16TB and users don't notice any difference while it's running. media streams and game servers continue to run fine even if it's emulating data while rebuilding a whole drive

Besides going with an all-SSD setup

You can't run all SSD with unRAID, TRIM alters data on the drive which will break your parity

1
docwisdom•

Could always do a ZFS raid pool if you’re really that concerned about it in the future.

1
Jazzysmooth11•

Chiming it to say what you're seeing isn't typical. Parity checks and even full disk rebuilds occur on my server (6x 4TB) without the end users having any idea. All dockers remain up and available, data copy to the cache (and eventually moved to the array) all happen as normal. How are your disks connected? Motherboard ports, HBA in IT mode, combination? The dockers and their metadata should be running from the cache drives and so a parity check should have no bearing on them, other than more I/O traffic for any streams. Many of us have built our media systems around Unraid and would also have extremely pissed off families if the server was down for hours, much less days.

1
WhatAGoodDoggy•

but twice due to adding parts to the server and watching Unraid crap itself)

What do you mean by 'crap itself'?

1
mavetechOP•

The array disappeared one time when I add the last two drives on a new SATA PCI card. The other time I have no idea what happened, I added two SSD for cache and Unraid would not start, it would boot loop.

1
TheMerchant613•

Sounds like your SATA card might be bad… I hope it’s an HBA flashed to IT mode, but doesn’t sound like it.

1
Tenshigure•

I get the feeling they were trying to add drives to the array during a parity check and force stopped the system on more than one occasion.

I’ve only royally screwed up my system once in the years I’ve had it, and that was all due to my own dumb ass not wiring the UPS to the correct ports (surge vs surge/battery) and losing the array during a parity check.

1
hmmmm83•

This is definitely a your setup problem.

I had to hard reboot my server (9x20tb drives, 3x14tb drives, and 2x20TB drives for parity). It did a parity check. 25 hours. If your parity check is extremely long, it’s usually an issue with the HBA card, Sata card, or Sata cables.

I think if you get your config right, you’ll love unraid.

1
mavetechOP•

See edit

1
SchmeepyDooDoo•

This. Something is wrong with your hardware. It doesnt take that long and other stuff runs fine during parity check.

1
[deleted]•

[removed]

1
triplerinse18•

I saw this happen earlier. Is your parity set to incremental? Only goes for x amount of hours and pauses, then does it again?

1
mavetechOP•

Not that I can find. Where do I check that?

1
danimal1986•

I believe its in settings/scheduler. Incremental parity check.

On a "unclean shutdown" like yours it will automatically start a parity check. I don't believe you can bypass it.

17hrs for a 14tb drive is actually decently fast. I think when I ran 14tb parity it was over 18-19 hrs. Now with 18tb parity drives it's over 24hrs.

1
triplerinse18•

Thanks for responding

1
parc•

I’m just going to chime in that it’s very suspicious that your cpu is at 3% usage. When I run a parity check, my cpu runs between 30 and 75%, depending on other loads. And I can run 4 HD streams, a couple transcodes, a Windows VM and pretty much all the arrs as dockers.

Now before I had an HBA in IT mode, that definitely would have sputtered because of io. Something is wrong someplace in your hardware.

1
TheRealSeeThruHead•

i generally turn off docker when doing parity. my plex server is on mini pc not on my unraid machine. My parity take 2.5 days usually. But the server is still operational during that time.

1
InstanceNoodle•

Check your sata connections. My check run 9x12tb 2x 14tb in about 30 hours.

Check your hba card. A bad hba card is hell.

I recommend intel cpu for your nas. At least 11th gen. Perfer 12500 to be lowest.

Recommend capacitors nvme for cache.

Do not run ssd in the array. Zfs pool in unraid is awesome for ssd.

1
korbels•

This seems like a case of making uninformed decisions. I have two unraid supermicro servers with a total of 470tb between the two. Mine have two dozen apps running with up to 9 concurrent users. Zero issues...

1
enkrypt3d•

I'd recommend the LSI 9500 16i as it's just an HBA and does not need any funky firmware changes.

1
mavetechOP•

I may get one of those instead. The LSI 9300-8i I have ordered I am getting from a trusted supplier at work, so I will try it first.

1
alawadhi3000•

I would guess that your HBA card is slowing the drives down, I had a 9205? that did that when I connect more than 3-4 drives to it, the issue only happened when doing a parity check since all drives were in sue, upgrading to a 9207 solved the problem.

1
Purple10tacle•

After talking to my wife, I am ordering a replacement LSI 9300-8i in IT mode the one that is in there now is a LSI 9201-8i in IT mode.

I don't think I will ever understand this obsession with (ancient) HBAs. Unraid isn't TruNAS Core, it's not limited when it comes to the SATA controllers you can use without issue.

That LSI 9300-8i is literally decade-old-hardware and going to add 10-13W to your server's power budget, very likely going to break your CPU's power management and still perform worse than native SATA or cheap, modern, consumer SATA controllers. For what benefit? Better cable management? You're not even using SAS drives.

Meanwhile, a cheap, modern, e.g. ASM1166-based SATA expander will use under 2W, offer near native performance, and, with reasonably current firmware (they can generally easily be cross-flashed with Silverstore's), will work absolutely flawless and play nice with modern power management.

Yet, I'm already bracing for downvotes, because doubting the magical powers of the "server grade reliability" of a 10 year-old, used, HBA is still considered blasphemy even on r/unraid.

1
mavetechOP•

I have had very bad luck with ASM1166 controllers in the past, they are usually very cheaply made. Do you know of a good one I can use for the backup server I am going to be building once this one is working right?

1
Purple10tacle•

The SilverStone ECS06 is supposedly one of the better ones (and one of the few to actually receive after-market support).

I personally got lucky with an MZHOU controller at half the price. Reviews were positive with no complaints about built-quality, it looked surprisingly well-made when it arrived, and there's not really too much to screw up with that simple and straightforward design. The firmware was rather old and had a known bug affecting Intel systems, but that was quickly resolved by flashing the SilverStone firmware. It has performed absolutely flawlessly ever since, even when enabling all related power-saving features with powertop, and it sips power at under 2W.

I'm at 6x native SATA, 6x SATA via ASM1166 extender and 2xNVME. So far, that's enough for me.

1

Easy stop the Parity check. Every time you do an unclean power down it assumes something is wrong.

1