Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Renegade605

Members
  • Joined

  • Last visited

Everything posted by Renegade605

  1. Reading the help file that Iker linked you will be a good move. But, in a nutshell, snaps use ~0 space to create, and only increase in size when you edit or delete data that is snapshotted. If you use it on a dataset that contains constantly changing contents (like an NVR) it will very quickly balloon out of control. If you want to keep more NVR footage, you should tell frigate and let it handle that its own way. Reserve snapshots for data that doesn't change a lot and/or that would be extremely important to roll back with one click. For example, I snapshot most of my appdata so that if I or an update borks everything, I can downgrade the container and roll its appdata folder back to how it was before and get everything back the way it was in a few minutes. My appdata has snaps every hour for 3 days and every 4 hours for 7 days after that, uses 13.5G for current data and 40G for snaps.
  2. This is pretty far outside of the scope of what the mover (and the cache itself) is intended for. If there is specific data that you want on the cache at all times, I suggest making a cache-only share for that data and keeping it separate from the other files that should be moved.
  3. @Iker Just an additional note, not sure if you're aware, but reporting of zvol properties is a bit wonky:
  4. Preferences probably depend a lot on how people are using their snapshots. Manual only, you might want to see them all. I have automatic snapshots and as you guessed, many of my datasets are carrying over 100 snapshots at any given time. I definitely don't want (or need) to see all of those all the time or even in the context menu. Context menu isn't a bad idea, maybe for just the last one? Last two? Should cover being able to see one you've taken manually without cluttering. In fact, for settings I preferred a pop-up over the new context menu. Fine for changing one thing, but if you want to change a bunch of settings at once it's a pain, so now I just do that from the terminal. I've also noticed that a lot of settings aren't there or not all the options are available. I assume you tried to pick the most commonly used to avoid clutter which makes total sense. But, for example, Quota is there but not Reservation. I pretty much never use one without the other. Recordsize only provides a few options, but any power of 2 from 512 to 1M is valid.
  5. O.o ... Datasets have settings... Just because I want the data moved to the array doesn't mean I want my settings erased every time that happens? I'd want to snapshot the empty dataset to prevent the dataset from being destroyed. I thought that reasoning was clear. It's empty in the snapshot; it won't be empty forever.
  6. Today I needed to replace a disk in a zfs pool. I could not have the new and old disks in the system at the same time and this server does not properly hot swap disks so I: Stopped the array Unassigned the old disk Shut down the server Physically swapped disks Restarted the server Assigned the new disk to the pool Started the array The zpool did not automatically begin resilvering; I manually ran a `zpool replace` command. edi-diagnostics-20240306-2114.zip
  7. Also, this has been around as long as I can remember, but it doesn't affect anything so I never mentioned it: Quotes in the Tray ID cause some weirdness. My trays are labeled '3.5" Bays' and '2.5" bays', but in the dropdown menus on tray allocations they appear as 'Bays 3.5"' and 'Bays 2.5"'
  8. Maybe something to do with the last update, but the configuration disappeared from my plugin. Based on this, looks like yesterday at 12:50ish. Strange timing, as I run plugin updates nightly at 23:00, so not sure why that would have happened at that time. But maybe something to be aware of. Restoring to the 20240303-124703 plugin brought everything back.
  9. Today I accidentally removed a drive from it's bay while my server was running (turns out that bay's power light doesn't work, oops). Wouldn't have been a big deal, except when I reinserted it, it was detected as a separate device (/dev/sdq instead of /dev/sdj). I went to stop the array to fix this, but the stop array button in the GUI is broken now. This is logged when I click "proceed" to stop the array: Mar 4 16:33:51 Global-Dynamics nginx: 2024/03/04 16:33:51 [error] 24668#24668: *4649493 connect() to unix:/var/run/emhttpd.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: 192.168.xxx.xxx, server: , request: "POST /update.htm HTTP/1.1", upstream: "http://unix:/var/run/emhttpd.socket:/update.htm", host: "192.168.xxx.xxx:5001", referrer: "http://192.168.xxx.xxx:5001/Main" I had to reboot the server instead. After reboot I got a notification about an unclean shutdown, which normally does not happen. The drive was still marked as offline (contents emulated), even though it was reconnected (temperature was available; wasn't before). The stop array button did work post-reboot, and I got the drive to be recognized again with the procedure from the docs, but of course that required rebuilding the drive when I would have preferred to just run a parity check instead. Pre-reboot: global-dynamics-diagnostics-20240304-1634.zip Post-reboot + fixing disk assignment: global-dynamics-diagnostics-20240304-1701.zip
  10. Both have issues. zpool commands use the raw capacity of the pool (including parity drives, etc.) and ignore the properties of the underlying filesystem. df is too aware of the filesystem and ignores everything in the datasets. After a little playing around... How about zfs get instead? 318 / (318 + 580) = 35.41% More than close enough to 342GB / 965GB = 35.44% (Looks like just imprecision with GB vs GiB) Get precise with the -p flag. Plus some bash magic: (there was definitely an easier way to do this if it doesn't have to be a one line command lol) expr `zfs get -Hp -o value used cache` * 100 / `zfs get -Hp -o value used,available cache | awk '{s+=$1} END {print s}'` Tested again while letting the pool fill up: I just realized this was for a "Move All" so that's got to be why. Grrr Unraid Awesome! Thanks a lot. For now, the snapshot of datasets while empty is working, other than cluttering up the logs with errors.
  11. I'm really not sure either way. It seemed like nothing bad happened until I mounted unassigned disks that were formally array disks. Since all the data was still on the actual array disks, I thought maybe the mounting masked their contents temporarily. I've seen similar behaviour when mounting a ZFS dataset to the same location as an existing directory (although in that case, unmounting the dataset always reveals the contents, while it didn't in this case). If you don't think it could be related, no worries. If you do, I'm willing to help troubleshoot. Whichever, just thought I'd mention it.
  12. Hey @dlandon, I made a bug report for this but it occurs to me it might be an unassigned devices plugin issue. I was a bit panicked as I wrote the bug report and troubleshooted in real time, but the fact that it was the mounting step that seems to have caused the problem makes me think that, now that I have a clear head. All the details here:
  13. You're correct! That's not super intuitive, perhaps it should show a message about that when this is the case. But, I had also expected it to work like Scatter, and just grab as much of those folders as possible to move even if it couldn't do all of them. I'm trying to balance out the free space on my disks, and I assumed Gather would take whatever it could from disks 2 - 8 to move to disk 1 until they all have 1.5 TB free space (I set that as the limit in the settings), instead of picking and choosing which parts to move.
  14. Fellow ZFS enthusiasts, I made this to notify me if (when lol) I accidentally create a folder somewhere that should have been a dataset instead. Please use and enjoy if you like. https://gist.github.com/Renegade605/8eba0af1e7fa1b16cb74af0e79f3be98 Also note, I discovered recently that the mover (with CA Mover Tuning installed, not sure if it's part of the default mover) as part of it's operation destroys empty datasets when it's finished. If this isn't desirable to you for the obvious reasons, my current workaround is to snapshot datasets when they're empty and the destroy operation will fail. There are a few other quirks with that plugin on ZFS pools, see here for more info:
  15. Sorry I should have mentioned I did that right away. No errors when connected local ip:port. When connected via reverse proxy there's an error loading site.manifest. Not related though as the problem is present either way.
  16. I get that, but "disable custom configuration and let the OS run wild on your data" is a pretty nuclear option that I wouldn't take as a first step.
  17. That wouldn't actually solve the problem though, and I found the cause without doing that. Maybe a good step for novice users, but not for experienced ones.
  18. Today I had my cache drive fill but the mover not move any files. I've determined the cause to be the method of reading used disk space on ZFS. Move All threshold is set to 80%, and the cache pool's used space is 97%. But, there are datasets on the cache pool with reservations and quotas, so the actual used space is 74% even though there is no space remaining for some shares. Can the mover tuning plugin evaluate used space on a per-dataset basis instead of a whole pool basis? Or is there some other solution that would solve this problem? EDIT TO ADD: I also notice now that the mover does not seem to be respecting the Ignore hidden files and directories option. Feb 27 09:41:55 Global-Dynamics move: file: /mnt/cache/movies/.radarr/Arrivl.2016.MULTi.2160p.UHD.BluRay.x265-OohLaLa/t82hgxa6svubn8lh42nkbjs4vjd5bfn50b/Arrival.2016.MULTi.2160p.UHD.BluRay.x265-OohLaLa/Proof/arrival.2016.multi.2160p.uhd.bluray.x265-oohlala.proof.jpg Also Important This error brought my attention that the mover destroys empty datasets when finished. Please remove this step or at least make it an option to be decided by the user! Datasets have settings that should be maintained and they should never be destroyed without explicit instruction from the sysadmin. For now I've taken a snapshot of the empty datasets to force this step to fail.
  19. I have isolated the cause and will address it in the mover tuning plugin thread.
  20. It absolutely should not be doing that, and it never has before. Datasets have settings that need to be maintained, not just data. I'd rather not unless absolutely necessary; there are filtered files that shouldn't be moved. Enabling mover logging doesn't provide any additional information. Feb 27 08:06:02 Global-Dynamics root: Starting Mover Feb 27 08:06:02 Global-Dynamics root: ionice -c 2 -n 7 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 3 0 0 '' '' '' '' no 80 '' 'yes' 50 Feb 27 08:06:02 Global-Dynamics move: Log Level: 1 Feb 27 08:06:02 Global-Dynamics move: mover: started [Same Lines As Before] Feb 27 08:06:03 Global-Dynamics move: mover: finished
  21. Overnight my cache drive filled up and the mover is failing to run. Each hour the below log entries appear, attempting to run the mover manually produces the same logs. CA Mover Tuning is installed, not sure if that's relevant. Not sure why mover would be attempting to destroy datasets, as that clearly isn't desirable, so it's good that it fails. This is also only 3 out of 11 datasets on the cache, 10 of which are mounted, 6 of which should be acted on by the mover. Feb 27 03:48:49 Global-Dynamics shfs: share cache full Feb 27 03:52:58 Global-Dynamics shfs: share cache full Feb 27 04:00:02 Global-Dynamics root: Starting Mover Feb 27 04:00:02 Global-Dynamics root: ionice -c 2 -n 0 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 3 0 0 '' '' '' '' no 80 '' 'yes' 50 Feb 27 04:00:02 Global-Dynamics shfs: /usr/sbin/zfs unmount 'cache/software' Feb 27 04:00:02 Global-Dynamics shfs: /usr/sbin/zfs destroy 'cache/software' Feb 27 04:00:02 Global-Dynamics root: cannot destroy 'cache/software': dataset is busy Feb 27 04:00:02 Global-Dynamics shfs: retval: 1 attempting 'destroy' Feb 27 04:00:02 Global-Dynamics shfs: /usr/sbin/zfs mount 'cache/software' Feb 27 04:00:02 Global-Dynamics shfs: /usr/sbin/zfs unmount 'cache/isos' Feb 27 04:00:02 Global-Dynamics shfs: /usr/sbin/zfs destroy 'cache/isos' Feb 27 04:00:03 Global-Dynamics root: cannot destroy 'cache/isos': dataset is busy Feb 27 04:00:03 Global-Dynamics shfs: retval: 1 attempting 'destroy' Feb 27 04:00:03 Global-Dynamics shfs: /usr/sbin/zfs mount 'cache/isos' Feb 27 04:00:03 Global-Dynamics shfs: /usr/sbin/zfs unmount 'cache/devon' Feb 27 04:00:03 Global-Dynamics shfs: /usr/sbin/zfs destroy 'cache/devon' Feb 27 04:00:03 Global-Dynamics root: cannot destroy 'cache/devon': filesystem has children Feb 27 04:00:03 Global-Dynamics root: use '-r' to destroy the following datasets: Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-01-18-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-22-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-15-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-18-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-20-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-17-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-01-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-26-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-01-11-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-24-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-13-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-08-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-27-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-01-25-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-01-04-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-25-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-19-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-14-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-23-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-16-000000 Feb 27 04:00:03 Global-Dynamics root: cache/devon@2024-02-21-000000 Feb 27 04:00:03 Global-Dynamics shfs: retval: 1 attempting 'destroy' Feb 27 04:00:03 Global-Dynamics shfs: /usr/sbin/zfs mount 'cache/devon'
  22. I don't have any non-chromium browsers to test in. Doesn't work on Chrome desktop or mobile, or Edge desktop.
  23. When trying to use the Gather function, the menu is failing to load correctly. Scatter works fine, but this step of Gather is impassable as I can't select a disk to transfer to.
  24. Today at 16:23, a scheduled disk scan in Sonarr reported that over 850 episodes of TV shows had disappeared from my system without warning. There are no log entries at that time that would indicate anything had gone wrong. Feb 25 16:05:50 Global-Dynamics sshd[24685]: Accepted publickey for root from 192.168.0.2 port 51256 ssh2: ED25519 SHA256:5b6Ebu2l2lANTclMchJAJk4XviWfjlgDJt7ngCuXszc Feb 25 16:05:50 Global-Dynamics sshd[24685]: Received disconnect from 192.168.0.2 port 51256:11: disconnected by user Feb 25 16:05:50 Global-Dynamics sshd[24685]: Disconnected from user root 192.168.0.2 port 51256 Feb 25 17:00:01 Global-Dynamics root: Parity Check / rebuild in progress. Not running mover Feb 25 17:00:09 Global-Dynamics sshd[21305]: Accepted publickey for root from 192.168.0.2 port 59744 ssh2: ED25519 SHA256:5b6Ebu2l2lANTclMchJAJk4XviWfjlgDJt7ngCuXszc Feb 25 17:00:09 Global-Dynamics sshd[21305]: Received disconnect from 192.168.0.2 port 59744:11: disconnected by user Feb 25 17:00:09 Global-Dynamics sshd[21305]: Disconnected from user root 192.168.0.2 port 59744 One of the missing files is an episode that I watched just last night, and the overall used space on my array has not changed at all. That would seem to indicate to me that nothing was actually deleted. I paused the parity check and rebooted the system to see if there was a software glitch that would bring them all back. When it came back up, the array would not autostart due to "changed configuration". The only thing I did was disconnect two drives that were not assigned to the array for reasons detailed below. I manually started the array, but the docker service was also disabled and all of its settings were reverted to defaults. I reset those to where they should be and all appears well now. The good news is that the missing files did reappear. I obviously can't confirm all of them but enough have that it's likely they all did. It seems that all of the missing files were on disks 6 & 7 which mysteriously dropped out but without reporting any errors to the OS. From this, I'm able to deduce that the files all went missing before 14:50, because the Windows 10 ISO was missing at that time while I was trying to spin up a new VM (at that time, I just thought I had never redownloaded Win10 after a user error led to wiping the isos share last year). What seems to be the reason: Earlier this week I obtained a new drive to replace the parity drive and make the old parity drive a data drive. As part of this process I also removed the drives formerly disk 6 & 7 from the array. The approximate timeline of my steps is as follows: Sat Feb 17 - Installed the new drive and started preclear on it as a stress test. Mon Feb 19 - Stopped the preclear and moved the new drive into the parity slot of the array, moved the old parity drive to disk10 slot. Tue Feb 20 - Parity Sync finished, began transferring data from disks 6 & 7 to disk 10 Wed Feb 21 - Noticed anomalies in the logs related to the new parity disk, see Sat Feb 24 - Realized I had erred in how I was transferring data and deleted most of disk10 data - Used the new config option to remove the parity disk from the array and restart it - Copied the data from disks 6 & 7 to disk 10 using the proper method - After finishing this transfer, used the new config option again to - Add the parity disk back to the array - Change disk10 to disk1 - Remove disk6 & disk7 - Reorder other disks in descending order of capacity Sun Feb 25 - Physically removed former disk7 from the machine and replaced it with a failing NTFS disk belonging to my brother to attempt data recovery for him - Wiped former disk6 and reformatted it as NTFS - Mounted both disks - Discovered the disk failure was extensive and began spinning up a Windows VM to use Windows only tools to attempt further steps I took a break from working at this point, and it was later today that I noticed the missing files. While the system was rebooting I removed the former disk6 and the new failed disk, as I suspected they might be somehow connected to the issue. Based on the missing files all being on the new disks 6 & 7, this does seem to be the case although it's unclear if removing them was necessary. It seems clear that the step during which I mounted the old disk6 and a new disk in the place of the old disk7 caused something very bad to happen. Luckily, it doesn't appear that I've suffered any permanent data loss. However, the root cause of this problem needs to be isolated and corrected. global-dynamics-diagnostics-20240225-1915.zip
  25. Thanks! I'm currently running some file transfers as I moved the old parity disk into the array after the parity sync finished. Is it safe to leave as is until I'm finished with that? ie. Is my parity information actually accurate and safe?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.