BenW

Members
  • Posts

    21
  • Joined

  • Last visited

BenW's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Hi, I've had an UNRAID server for a few years and it's served me well. I initially purchased quite a significant amount of storage which I've been slower than I thought I would be to use, so the server is sitting at about 50% capacity currently. I run a small video production company, and there is about 40tb of footage & business files that I want to keep safe. I've been paying for crash plan pro, but have noticed recently that it seems to just continually be re-scanning files or checking - it never seems to actually reliably be uploading and I don't trust that if there were a fire or a theft at my premises that I would actually be able to recover that amount of data from them. In addition to paying $16aud per month. My idea is to remove 40-50tb of drives from the UNRAID and put them into an existing enclosure that I have sitting around, and connect that to an old MacBook Pro that will sit out in the shed, connected by Wifi, and have a docker push backups out to keep that Mac up to date with the latest storage. Unfortunately I don't have anyone that I could convince to run a machine at a remote location on their internet for offsite backup, although hopefully the garage is removed enough to mitigate theft or fire. Yes, I know that it's not the safest, but it'd probably be safer than just relying on the UNRAID? What are your thoughts on this strategy? Do you have a recommendation of a docker that could manage to push the updates out to a remote file-share via SMB? Cheers in advance
  2. Hi, I'm having slow / bursty speeds trying to read from my unraid server on my Mac, and am not sure where to start to diagnose the issue. As you can see from the Mac throughput graph, it bursts between 1-2MB/s to 72ish MB/s continuously. Copying from another Mac or PC over the same network is fast, and the issue is the same wether I'm on a wired gigabit or wireless network. Where would I start? CPU Usage on the server appears OK, what else should I be looking at? Diagnostics are attached.. Thanks for your help! chasm-diagnostics-20230131-1654.zip
  3. Yeah - I checked and it all seems OK. I'm also massively out of my depth but REALLY appreciate the help you've given thus far, it's appreciated. It seems there's a bit of a collective *shrug* when it comes to MacOS around the unraid community, so any help is definitely useful. I *think* it might be this line: Spotlight backend = tracker As I've been following the below article since I couldn't get it working, and it's pointing to a spotlight backend using elasticsearch: and This article: https://wiki.samba.org/index.php/Spotlight_with_Gnome_Tracker_Backend Seems to suggest that you need to compile and install Gnome Tracker backend (hence specifying the backend for spotlight as 'tracker' Was that something you installed separately or does Unraid have it included? As that would match up to my error: mds_init_ctx: Unknown backend 1 Anyway - I'm *hoping* elasticsearch works after it's finished indexing, otherwise I'll revert back to this thread again.
  4. Nice - thanks for this! I tried copying in the entries, but it's still not working (even though Terminal says Indexing is on and doesn't report an error) - Perhaps I'll wait 24 hours and see if spotlight indexes. I am getting some errors in the log though, any idea where to start with this? -- Paste-- Apr 13 11:19:00 CHASM smbd[5906]: [2021/04/13 11:19:00.522119, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:19:00 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:19:00 CHASM smbd[5906]: [2021/04/13 11:19:00.522159, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:19:00 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:19:02 CHASM smbd[5906]: [2021/04/13 11:19:02.670841, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:19:02 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:19:02 CHASM smbd[5906]: [2021/04/13 11:19:02.670877, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:19:02 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Photos Apr 13 11:19:58 CHASM smbd[5906]: [2021/04/13 11:19:58.988604, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:19:58 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:19:58 CHASM smbd[5906]: [2021/04/13 11:19:58.988639, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:19:58 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:20:08 CHASM smbd[5906]: [2021/04/13 11:20:08.789527, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:20:08 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:20:08 CHASM smbd[5906]: [2021/04/13 11:20:08.789583, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:20:08 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:20:32 CHASM smbd[5906]: [2021/04/13 11:20:32.311396, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:20:32 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:20:32 CHASM smbd[5906]: [2021/04/13 11:20:32.311436, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:20:32 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:20:45 CHASM smbd[5906]: [2021/04/13 11:20:45.346181, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:20:45 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:20:45 CHASM smbd[5906]: [2021/04/13 11:20:45.346217, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:20:45 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:22:48 CHASM smbd[5906]: [2021/04/13 11:22:48.626097, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:22:48 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:22:48 CHASM smbd[5906]: [2021/04/13 11:22:48.626131, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:22:48 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Productions Apr 13 11:23:25 CHASM smbd[5906]: [2021/04/13 11:23:25.156402, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:23:25 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:23:25 CHASM smbd[5906]: [2021/04/13 11:23:25.156437, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:23:25 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Photos Apr 13 11:24:06 CHASM smbd[5906]: [2021/04/13 11:24:06.250267, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx) Apr 13 11:24:06 CHASM smbd[5906]: mds_init_ctx: Unknown backend 1 Apr 13 11:24:06 CHASM smbd[5906]: [2021/04/13 11:24:06.250301, 0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open) Apr 13 11:24:06 CHASM smbd[5906]: _mdssvc_open: Couldn't create policy handle for Photos
  5. I'm a definite +1 on this thread, it stopped working quite a while ago, and I've been trying to get to the bottom of it for a long time. Your answer is a glimmer of hope for me, but I don't know where to put that share specific code? There doesn't appear to be anywhere to put it in the share options on my unraid?
  6. Thanks - I'll give the re-writing rules from root to NC domain a go, but is leaving it as is a security risk?
  7. Hi all, Quick (hopefully) question; I've followed SpaceInvaderOne's video about setting up reverse proxy and Nextcloud - using SWAG to make it externally accessible. Everything is working fine - and Nextcloud is the only externally accessible app I've setup. However, when I access my static IP address directly from a browser (not via the Nextcloud.(mydomain.com)) I get a 'Welcome to your SWAG instance' page. Is this a security issue? Is there any way to direct ALL traffic that hits port 80 or 444 at my address to send it directly to my Nextcloud instance? Cheers!
  8. Yeah - sorry for the lack of info. I was at the end of a marathon session trying to get it all to work! In the end I managed to fix the errors showing in Nextcloud by following Spaceinvaders video on fixing nextcloud issues, as well as another tutorial by linuxserver about adding in a line to trust SWAG as a proxy..
  9. Hi all, I've followed Spaceinvader ones YouTube videos on how to setup Nextcloud and SWAG, and I can access everything remotely without an issue. I get two security warnings in the 'overview' section though: " There are some warnings regarding your setup. The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation. The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗." Can anyone point me in the direction as to what I should be looking at? Cheers
  10. Could someone help me diagnose slow write speeds on my server? I'm getting about 15-20MB/S, and when copying over multiple small files it takes an extremely long time. I've checked the write cache as per post two, and all seem to be enabled with the exception of the boot flash drive. Diagnostics attached! TIA! edit: UPDATE So I did some more testing, and it appears that the slow write speeds (and read speeds) were due to MacOS - I have two Macs as my main production machines, and a windows box as a fail-over. I tested the windows box and was consistently getting 105ish MB/s read over the network and ~70-80MB write, compared to ~50MB/s read on both Macs and 15-20MB/s write. After some hunting and troubleshooting, I found that MACos SMB implementation is apparently pretty crap, but turning off delayed ACK seemed to fix the issue. To test it (non permanent) in terminal: sudo sysctl -w net.inet.tcp.delayed_ack=0 All of a sudden, I was getting read and write speeds the same as the windows box. This is a MASSIVE improvement!! For anyone that is on MACos and needs a permanent fix, this is what I did: To make the change permanent (requires reboot): Create/edit the file /etc/sysctl.conf Terminal: sudo vim /etc/sysctl.conf Add this line to the configuration file: net.inet.tcp.delayed_ack=0 Save and close file (type “:wq” without quotes, then hit enter) reboot computer
  11. Hi all, I have a system with only a small cache SSD, which is mainly used for VMs. There is around 50gb free on that SSD, and the array has 90tb with one folder containing a large amount of stock music MP3s that I'm regularly adding to. I'm getting horrifically slow performance adding to this folder, and it essentially locks up the system trying to move the files to it. The main share cannot be cached as I'm adding large raw video files to it, which would fill the cache immediately before the mover can empty the cache SSD, so is there a way to enable caching for a specific folder within a user share only? Cheers
  12. OK - thanks. I think it might have been writing, I guess I'll just cross fingers it wasn't something important! Cheers
  13. Thanks Johnnie.Black - appreciated. As it turns out, the UPS was on its last legs and actually ended up dying yesterday, taking down the server and causing 502 parity errors with it. Eek. Is there any way to find out what files those parity errors have potentially caused corruption to?
  14. Hi all! Just wondering if someone can point me in the right direction - I'm getting roughly five of these emails from the server a day, saying communication has been restored with the UPS -> Event: Unraid Server Alert Subject: UPS Alert Description: Communications restored with UPS CHASM Importance: alert It's a Cyberpower Value 2200 UPS. It's connected with the cable the UPS came with, and shows it's stats in Unraid without any issues. Ive also tried multiple USB ports and still get the same issue. Also, does anyone know how I can get the temp sensors on this motherboard to work in Unraid? they don't show up in Dynamix system temperature. It's a Gigabyte p67a-UD3p. Thanks in advance!! chasm-diagnostics-20200427-1746.zip
  15. Thanks everyone - that's an amazingly swift response. Brilliant community here!! I'm in the process of following instructions to replace the USB key with another (better brand) - I'll use a Sandisk one this time. I'll revert and let you know if that fixes it. Cheers!!