The issue is the snapraid process is trying to create a lockfile in /var and your user doesn't have permissions to write there. You could chown those files to your user and get past that error message. Some underlying commands like snapraid smart won't work without elevated permissions.
The issue is the snapraid process is trying to create a lockfile in /var and your user doesn't have permissions to write there.
It's a permissions error. Are you trying to run snapraid as a non-root user (your user probably doesn't have permissions to write to /var)?
The one person that tried to help, you crapped on. No one else has documented it so far. Try it yourself, and share your findings.
The one person that tried to help, you crapped on. No one else has documented it so far. Try it yourself, and document your findings.
The one person that tried to help, you crapped on. Try it yourself, and document your findings.
Since this is a new build, have you run a memtest on the RAM to confirm that it's working properly? Faulty memory can cause all sorts of errors like these.
Great news! I am happy to help. Good luck on your journey to learning more about the great combination of SnapRAID and mergerfs!
This is an issue with your create mode in mergerfs, and is not related to SnapRAID. Since you didn't define a create policy in your mergerfs mount line in /etc/fstab, it is defaulting to a path perserving create mode. I would suggest you umount /mnt/storage, then add this to your mergerfs mountpoint in fstab. This is not path perserving and will use the disk with the most free space. category.create=mfs Then, remount. Since you already have moveonenospc enabled, that should be all that it takes to...
This is an issue with your create mode in mergerfs, and is not related to SnapRAID. Since you didn't define a create policy in your mergerfs mount line in /etc/fstab, it is defaulting to a path perserving create mode. I would suggest you umount /mnt/storage, then add this to your mergerfs mountpoint in fstab. This is not path perserving and will use the disk with the most free space. category.create=mfs Then, remount. Since you already have moveonenospc enabled, that should be all that it takes to...
Just wanted to interject into this thread quickly. UhClem, the time and effort you have put in to support Allan is incredible. People don't get paid support as competent and thorough as you have been giving. Well done!
Hmm... Leifi really knows SnapRAID, so I wouldn't want to contradict previous advice that appears to have worked, because Andrea even contributed to the conversation. I've never done a restore like this, so I can't speak to it. I know that replacing the disk works as I've done that a few times over the years.
Hello :) You can't perform a restore to an existing disk in your array (meaning you can't name the same disk twice like /mnt/data/disk18 in this case). You will need to replace disk d05 with a new, formatted, and mounted disk to properly perform this restore. I'm honestly surprised it even let you do this in the first place without throwing an error (I guess it threw 18 files worth of errors). I wish I had a cheaper answer (I hope you have an extra disk or two at home), but put in a new disk, and...
You just need to download the latest tar, unzip and install. This should do it. Please make sure that after you run make check that it says it completed with no errors before you run the make install command. sudo -i wget https://github.com/amadvance/snapraid/releases/download/v11.3/snapraid-11.3.tar.gz tar xzvf snapraid-11.3.tar.gz cd snapraid-11.3/ ./configure make make check make install You can verify that it updated like this. snapraid -V I hope that helps.
You just need to download the latest tar, unzip and install. This should do it. sudo -i wget https://github.com/amadvance/snapraid/releases/download/v11.3/snapraid-11.3.tar.gz tar xzvf snapraid-11.3.tar.gz cd snapraid-11.3/ ./configure make make check make install You can verify that it updated like this. snapraid -V
Can you provide the exact error? That sounds like just a standard SMART error alert. SnapRAID only works on the disks that are mentioned in your snapraid.conf file.
It is impressive, but you can do it pretty easily with enterprise hardware. Either buy a SAS can with external ports and use a JBOD chassis or just buy one server that can hold 45 or 60 drives. There are actually a lot of solutions that accomplish this. Here is one example of many :) https://www.ebay.co.uk/p/HGST-60-Bay-4u-Sas3-JBOD-LSI-HBA-QSFP-to-Mini-SAS-Cable-High-Density-Storage/4007757229?thm=1500
This is correct. All of my HGST He6/8 SAS/SATA drives can each read and write over 200MB/s. That is the disks' limitations, not the controller. With 8 SSDs attached, you could max the controller out.
Power draw would be the main reason to upgrade. That will draw alot of watts just idling, and 24/7 x whatever you pay per kWh, can add up quickly. Also processing power, if you plan on using this for anything other than just a fileserver (Emby, Plex, etc.). The E5410 only has a passmark score of 3272, which is very lame by modern standards. Another issue is PCIe bus speed. That era of CPU and motherboard only supports PCIe 1.0. So, it is servicable, but you will likely want to upgrade in the near...
I use (3) Dell H310 controllers flashed to IT mode. These are all PCIe x8 controllers and support 6Gpbs per disk x 8 disks per controller. What's equally important is the disk that is hooked up to the controller. I use a mix of 6 and 8TB HGST He Ultrastar disks (some SAS, some SATA) that can all read well in excess of 200MB/s each in real world use (not synthetic benchmarks or small dd reads/writes).
It looks like a decent deal. That hardware is very old (CPU, motherboard, RAID controller, RAM), but the case, SAS2 backplane, and two platinum PSUs are all very nice. Since barebones 846's with SAS2 backplanes seem to be around $399 (US eBay) without drive caddies and with less efficient PSU's I think it's a pretty good deal. I'd see if I could negotiate with the seller them knocking off at least $50 and they can keep all the old parts and just sell you the case and PSUs. They almost certainly will...
As Andrea mentioned, I have all my disks connected via SATA controllers. I see typically around 1,900 MB/s when all my disks are involved (21 data disks and 3 parity disks).
I use the Norco 4224 at home and the Supermicro SC846 at the datacenter. The Norco's build quality is not as robust as the Supermicro, but it is WAY easier to make quiet which is a big factor for home use. I picked mine up when they were selling new for $299. If you go the Supermicro route, make sure you buy either a TQ model or one with a SAS2 backplane (BPN-SAS2-846EL1) if you want to support disks larger than 2TB.
Hello, Please try again on the form (Contact Form 7 needed an update. Or, if it's a question about a particular post, please ask the question there. That way others can benefit from your question and any resulting conversation. Thanks!
lol. Curse this old brain of mine.
Thanks! That's how I "assumed" it worked, but I didn't want to assume :)
Hello, I have a array with dual parity using (2) 4TB disks for each parity level. The data disks are all 8TB disks. I have picked up a couple of new 8TB disks, and I would like to use these for my parity disks instead. Can I easily switch back to single parity disks, or do I need to rebuild. I'm doing this, becuase I need to free up the two additional bays in my 24 bay case for some extra disks. Thanks!
Good! I was afraid I was going to come off as a jerk. I totally understand the money component. You already have a case, so why change? I would definitely consider buying some new SATA power splitters as those molded ones have been known to cause some nasty fires.
That's creative, but the two loss disks and the mass of cables is terrifying to me. Hopefully, you aren't using molded SATA power splitters(risk of fire). Those splitters look like they are molded. Here's how to indentify them https://www.youtube.com/watch?v=TataDaUNEFc You've spent lots of money on hardware, so why not spend money on a proper 24 bay, hot swappable case? I picked up my two Norco 4224's for $199/each. You can run three 120mm fans in the fan wall, and everything connects with 8087...
That's creative, but the two loss disks and the mass of cables is terrifying to me. Hopefully, you aren't using molded SATA power splitters(risk of fire). You've spent lots of money on hardware, so why not spend money on a proper 24 bay, hot swappable case? I picked up my two Norco 4224's for $199/each. You can run three 120mm fans in the fan wall, and everything connects with 8087 cables. Supermicro 846/847 used would also be a great solution. I don't want to come across as negative, and I appreciate...
Well, I'm glad those articles were helpful :) Although, I understand your concern for having space for the content file(s), as you mentioned, the minfreespace option is your savior with minimal effort. Just set it to 20GB+ and you will always have space for your ~2GB content files.
I just create one large partition on my data disks. This disks will also contain the content files. I see no reason to use LVM in a SnapRAID + mergerfs scenario. I think it just adds complexity. I have directions on my site to setup SnapRAID and mergerFS if you are interested. https://zackreed.me/setting-up-snapraid-on-ubuntu/ https://zackreed.me/mergerfs-another-good-option-to-pool-your-snapraid-disks/
Or if you use Docker, you can build it and then completely clean up afterwards without installing build tools on thehost https://github.com/IronicBadger/docker-snapraid
Does SnapRAID require "real hardware" access to function, probably not (although, things like drive spindown, SMART, etc. won't work without it). If you are going to virtualize your NAS, I would definitly suggest passing through an HBA(s) to your Ubuntu VM. I have personally used both ESXi and Proxmox in this exact scenario with Ubuntu VMs with SnapRAID and both worked well. I personally love Proxmox for my home hypervisor. It's free, simple to use, and has a nice Web GUI built-in, and provides a...
Your SMART data looks clean, and you have no UDMA errors, so it's not a cable. I didn't understand it was the same file every time causing this issue. That would typically mean that something is accessing it during a sync causing it to appear to be changed. What type of file is it? Have you tried moving it out of the array and syncing (removing it from SnapRAID), then move it back and re-sync?
What does a full smartctl tell you about the disk? This sounds like either a failing disk, bad cable, or backplane (if you have backplanes). smartctl -a /dev/sdl
These drives have SATA WD Red drives in them. They are a steal at this price. Here is one opened up. https://i.imgur.com/YDPKYhM.jpg
Modern versions of rsync maintain nano-second timestamps, so that should work fine...
Have you tried mergerFS? It's faster, provides MANY create modes, is actively maintained...
Have you tried mergerFS? It's faster, provides MANY create modes, is actively maintained...
Ouch. That was an awesome effort though to try to help him out though.I just read...
Thank you for this detailed writeup! I don't use SnapRAID on Windows or use Drivepool,...
That is an amazing offer Leifi! I'd love to see that script at some point. That could...
Thanks Andrea!
Hello Andrea, I have heard a few people that have complianed that the comparision...
Thanks again for the hard work Andrea! The split parity is a killer feature in this...
And, Andrea, thank you for your continued development! SnapRAID is awesome and continues...
Congrats on the new title, king! A very well deserved mention :)
Congrats on the new title king! A very well deserved mention :)
Congrats! A very well deserved mention :)
Perfect! Thanks for the quick reply :)
I have a questionable disk and I would like to scrub all the files on that one disk....
I would agree. This seems to be the issue to me here. I have upgraded two to three...
So, I can run something like this without the risk of it trying to "fix" any of those...
First of all, thanks for all the great ideas and input :) Actually this makes perfect...
Actually this makes perfect sense now that you mention it :) So, I would think I...
I was super excited about this at first, but I suspect it will not work since it...
It looks like it is. I'm assuming it's because of the block alignment movement that...
It looks like it is.
Thanks Andrea! It looks like this latest beta must have addressed this issue (7/25/2016)....
Thanks I just did the test, and it appears you are correct in thinking that it is...
Here's another v11 update. Syncs continue to work well, but I am getting errors on...
rsync is super easy if you'd like to use it. Let's say you would like to move the...
These are what I use now. I just flash them to IT mode like this. These are $55 with...
These are what I use now. I just flash them to IT mode like this.
I did this exact thing a couple days ago. I droppred v10 completely, and I'm running...
dupe...
Sorry, I should have explained myself better above. This is running on Ubuntu 16.04...
Sorry, I should have explained myself better above. This is running on Ubuntu 16.04...
I did find one thing that could use a look. snapraid up triggers errors like this...
I would definitely check the RAM and stress test the rest of the system (CPU temps,...
Update: Still running great. I've added disks, changed parity levels from 1 to 2-parity,...
Awesome! Thanks for the speedy reply :) I'm still testing, but I'm very close to...
Thank Andrea! If I did as Leifi suggested above, and added another file on the now...
That's a great idea. Maybe it is as simple as adding a new file 3.parity file on...
I've got this setup and I'm doing my first sync with v11 beta on my array (I still...
V11 Beta has been working well. I am currently running (2) 4TB disks in split parity...
V11 Beta has been working well. I am currently running (2) 4TB disks in split parity...
I've got this setup and I'm doing my first sync with v11 beta on my array (I still...
I've got this setup and I'm doing my first sync with v11 beta on my array (I still...
I've got this setup and I'm doing my first sync with v11 beta on my array (I still...
I've got this setup and I'm doing my first sync with v11 beta on my array (I still...
Awesome, thank you. I'll likely run both v10 and v11 beta side by side for a while....
Hello Andrea, I wanted to see how version 11 is coming along. I went to see if there...
Steve has made a number of changes just over the last 24 hours and is very quick...
This has definitely peaked my interest, but it would be nice to understand a little...
P19 does not have the issue. It was introduced in the initial releases of the P20...
P19 does not have the issue. It was introduced in the initial releases of the P20...
P19 does not have the issue. It was introduced in the initial releases of the P20...
P19 does not have the issue. It was introduced in the two initial releases of the...
So, you are going to run (4) external USB3 drives with all associated wiring and...
What is your budget and size requirements? Both of those seem like hacky solutions...
Yes there are a TON of reasons to update. Here's the changelog up to current. Look...
That would definitley be nice info to know (I have 45,860 files with sub-second timestamps)....
You need to prevent activity from happening on your array during a sync (for example...
I have three m1015's and they can all spin down disks in Linux. I don't have personal...
First of all, I am not a SnapRAID + Stalebit expert (I have my array setup in Ubuntu)....
Well, that's awesome Andrea! What's the ETA looking like for 10? I'm really looking...
Does that work? I thought the smart section was just to pass through attributes to...
That's not a bad idea, but I still use hdparm to spindown my drives via disk/by-id...