added a toggle to check disk for pool only shares

This commit is contained in:
2026-04-12 00:10:04 -04:00
parent 8bd2426337
commit 1dd11894ce
3 changed files with 491 additions and 103 deletions
+30 -34
View File
@@ -24,10 +24,13 @@
# v1.2 — Docker Essentials, Media, Transcodes, System Watchdog added
# Directory tree updated to reflect full ecosystem
# v1.3 — Failover script added, directory tree updated with Failover folder
# v1.4 — WebGUI watchdog added
# ZFS memory snapshot added
# Docker network connect added
# Directory tree updated to reflect full ecosystem
# v1.4 — WebGUI watchdog, ZFS memory snapshot, Docker network connect added
# Recommended schedules section added
# v1.5 — media_management.sh orchestrator added to Orchestrators folder
# Corrected filenames: media_shares_permissions.sh, user_scripts_stop.sh
# Git repo section added
# Individual media cleaner entries replaced by media_management.sh
# Directory tree updated
# ==============================================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -45,7 +48,8 @@
# │ └── failover.sh # Mutual container failover — runs continuously
# │
# ├── Orchestrators/
# │ ── daily_sync.sh # Runs all daily media share syncs sequentially
# │ ── daily_sync.sh # Runs all daily media share syncs sequentially
# │ └── media_management.sh # Runs permissions + anime + media cleaner sequentially
# │
# ├── Rsync/
# │ ├── rsync.sh # Core rsync script — called per share or profile
@@ -58,7 +62,7 @@
# │ └── docker_network_connect.sh # Connects containers to extra networks on boot
# │
# ├── Media/
# │ ├── media_permissions.sh # Applies permissions to all media shares
# │ ├── media_shares_permissions.sh # Applies permissions to all media shares
# │ └── media_cleaner.sh # Removes junk files — profiles: anime, media
# │
# ├── Transcodes/
@@ -77,7 +81,7 @@
# ├── rsync_stop.sh # Stops all rsync processes on both servers
# ├── server_reboot.sh # Graceful server reboot with user warning
# ├── system_watchdog.sh # System health monitor — last line of defense
# ├── user_script_stop.sh # Stops running User Scripts plugin jobs
# ├── user_scripts_stop.sh # Stops running User Scripts plugin jobs
# ├── webgui_restart.sh # WebGUI watchdog — nginx + emhttp escalating restart
# └── zfs_memory_snapshot.sh # Weekly ZFS health and memory diagnostic report
#
@@ -96,6 +100,7 @@
#
# ━━━ Orchestrators ━━━
#/mnt/user/appdata/unraid_scripts/Orchestrators/daily_sync.sh
#/mnt/user/appdata/unraid_scripts/Orchestrators/media_management.sh
#
# ━━━ Rsync — Appdata Profiles (scheduled individually) ━━━
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-Failover/Arrs_Stack
@@ -125,11 +130,6 @@
#/mnt/user/appdata/unraid_scripts/Docker_Essentials/docker_weekly_restart.sh
#/mnt/user/appdata/unraid_scripts/Docker_Essentials/docker_network_connect.sh
#
# ━━━ Media ━━━
#/mnt/user/appdata/unraid_scripts/Media/media_shares_permissions.sh
#/mnt/user/appdata/unraid_scripts/Media/media_cleaner.sh anime
#/mnt/user/appdata/unraid_scripts/Media/media_cleaner.sh media
#
# ━━━ Transcodes ━━━
#/mnt/user/appdata/unraid_scripts/Transcodes/ramdisk_setup.sh
#/mnt/user/appdata/unraid_scripts/Transcodes/transcode_manager.sh
@@ -153,6 +153,7 @@
# ━━━ Git repo (Gitea) ━━━
#/mnt/user/appdata/unraid_scripts/git_pull_execute.sh
#
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# ━━━ ⚙️ Arguments — Add after the script path ━━━
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -164,10 +165,6 @@
# --help Show usage information
# KEY=VALUE Override any Master.conf variable for this run only
#
# ━━━ Media Cleaner profile (required first argument) ━━━
# media_cleaner.sh anime --dry-run
# media_cleaner.sh media --dry-run
#
# ━━━ Failover specific ━━━
# failover.sh --status — check current state
# failover.sh --dry-run --log — test logic without touching containers
@@ -176,27 +173,26 @@
# ━━━ 📋 Recommended Schedules ━━━
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#
# failover.sh — At Startup of Array (background task)
# ramdisk_setup.sh — At Startup of Array
# failover.sh — At Startup of Array (background task)
# ramdisk_setup.sh — At Startup of Array
# docker_network_connect.sh — At Startup of Array
# docker_syslog_filter.sh — At Startup of Array
# php_fpm_max_children.sh — At Startup of Array
# docker_syslog_filter.sh — At Startup of Array
# php_fpm_max_children.sh — At Startup of Array
#
# transcode_manager.sh — */3 * * * * (every 3 minutes)
# transcode_cleanup.sh — */5 * * * * (every 5 minutes)
# docker_watchdog.sh — */15 * * * * (every 15 minutes)
# webgui_restart.sh — */10 * * * * (every 10 minutes)
# system_watchdog.sh — */15 * * * * (every 15 minutes)
# transcode_manager.sh — */3 * * * * (every 3 minutes)
# transcode_cleanup.sh — */5 * * * * (every 5 minutes)
# docker_watchdog.sh — */15 * * * * (every 15 minutes)
# webgui_restart.sh — */10 * * * * (every 10 minutes)
# system_watchdog.sh — */15 * * * * (every 15 minutes)
#
# daily_sync.sh — 0 1 * * * (daily at 1am)
# docker_daily_restart.sh — 0 3 * * * (daily at 3am)
# media_cleaner.sh anime — 0 2 * * * (daily at 2am)
# media_cleaner.sh media — 0 2 * * * (daily at 2am)
# media_permissions.sh — 0 4 * * 0 (weekly Sunday 4am)
# clear_logs.sh — 0 5 * * 0 (weekly Sunday 5am)
# zfs_memory_snapshot.sh — 0 6 * * 0 (weekly Sunday 6am)
# docker_weekly_restart.sh — 0 3 * * 0 (weekly Sunday 3am)
# daily_sync.sh — 0 1 * * * (daily at 1am)
# docker_daily_restart.sh — 0 3 * * * (daily at 3am)
# media_management.sh — 0 2 * * * (daily at 2am)
#
# rsync.sh profiles — schedule individually as needed
# clear_logs.sh — 0 5 * * 0 (weekly Sunday 5am)
# zfs_memory_snapshot.sh — 0 6 * * 0 (weekly Sunday 6am)
# docker_weekly_restart.sh — 0 3 * * 0 (weekly Sunday 3am)
#
# rsync.sh profiles — schedule individually as needed
#
# ==============================================================================================