Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Merge main into ai-features: incorporate latest bugfixes

rcourtman3a2a73f9d6e7
diff --cc pkg/fsfilters/filters.go
index 213f5772e3,2dd8792931..26656324d4
--- a/pkg/fsfilters/filters.go
+++ b/pkg/fsfilters/filters.go
@@@ -161,14 -155,16 +161,25 @@@ func ShouldSkipFilesystem(fsType, mount
}
}
+ // Check for container paths that don't follow the /containers/ pattern
+ // (e.g., TrueNAS SCALE uses /mnt/.ix-apps/docker/overlay2/...). Related to #718.
+ for _, prefix := range containerPathPrefixes {
+ if strings.HasPrefix(mountpoint, prefix) {
+ reasons = append(reasons, "container-overlay")
+ break
+ }
+ }
+
+ // EnhanceCP uses /var/container_tmp/{uuid}/merged for container overlays.
+ // Filter these as they're ephemeral container layers, not user storage. Related to #790.
+ if strings.Contains(mountpoint, "/container_tmp/") {
+ for _, pattern := range containerOverlayPatterns {
+ if strings.Contains(mountpoint, pattern) {
+ reasons = append(reasons, "container-overlay")
+ break
+ }
+ }
+ }
+
return len(reasons) > 0, reasons
}
diff --cc pkg/fsfilters/filters_test.go
index 67b7e1bc0f,bb04749477..12989077fd
--- a/pkg/fsfilters/filters_test.go
+++ b/pkg/fsfilters/filters_test.go
@@@ -179,11 -179,10 +179,14 @@@ func TestShouldSkipFilesystem(t *testin
{"enhance containers overlay", "ext4", "/var/local/enhance/containers/abc123/overlay/merged", 1000000, 500000, true},
{"custom containers diff", "ext4", "/opt/containers/myapp/diff/layer", 1000000, 500000, true},
{"custom containers overlay2", "ext4", "/data/containers/xyz/overlay2/layer1", 1000000, 500000, true},
+ // EnhanceCP container_tmp paths (issue #790)
+ {"enhancecp container_tmp merged", "overlay", "/var/container_tmp/0d6eaae4-1aa0-4aad-a9d9-d430329c2e38/merged", 1000000, 500000, true},
+ {"enhancecp container_tmp overlay", "overlay", "/var/container_tmp/abc123/overlay/layer", 1000000, 500000, true},
+ // TrueNAS SCALE Docker overlay paths (issue #718)
+ {"truenas ix-apps docker overlay2", "zfs", "/mnt/.ix-apps/docker/overlay2/6c9aad59ec9b0bc33d5e374/merged", 173 * 1024 * 1024 * 1024 * 1024, 399 * 1024 * 1024, true},
+ {"truenas ix-apps docker overlay2 diff", "zfs", "/mnt/.ix-apps/docker/overlay2/c5e317c7340f9273d394dc0/diff", 173 * 1024 * 1024 * 1024 * 1024, 399 * 1024 * 1024, true},
+
// Windows paths
{"Windows System Reserved", "NTFS", "System Reserved", 500 * 1024 * 1024, 100 * 1024 * 1024, true},
{"Windows C drive - should NOT skip", "NTFS", "C:\\", 500 * 1024 * 1024 * 1024, 200 * 1024 * 1024 * 1024, false},