From 0f8384436ba6ff31148ea3c8a294facec0ed14d2 Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 8 Dec 2021 09:59:46 +0100 Subject: [PATCH 1/3] Add root dir sizes to dump on health checker disable --- setup-scripts/disk-usage-dump.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-scripts/disk-usage-dump.sh b/setup-scripts/disk-usage-dump.sh index 9326d459..5cd3f1d0 100755 --- a/setup-scripts/disk-usage-dump.sh +++ b/setup-scripts/disk-usage-dump.sh @@ -23,6 +23,11 @@ dump () { echo df -h /home/user + # Root dirs + echo + echo "Root dirs:" + docker run -v /:/host-root alpine:3.15.0 sh -c 'du -hs /host-root/*' + # Home dirs echo echo "Home dirs:" From 0b1ea2b598bad0d4493b9a559b4e498402f2128d Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 8 Dec 2021 11:29:31 +0100 Subject: [PATCH 2/3] Add skynet-webportal dir sizes to dump on health checker disable --- setup-scripts/disk-usage-dump.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-scripts/disk-usage-dump.sh b/setup-scripts/disk-usage-dump.sh index 5cd3f1d0..673852aa 100755 --- a/setup-scripts/disk-usage-dump.sh +++ b/setup-scripts/disk-usage-dump.sh @@ -33,6 +33,11 @@ dump () { echo "Home dirs:" docker run -v /home/user:/home/user alpine:3.15.0 du -hs /home/user/* + # Skynet webportal dirs + echo + echo "skynet-webportal dirs:" + docker run -v /home/user:/home/user alpine:3.15.0 du -hs /home/user/skynet-webportal/* + # Docker data dirs echo echo "Docker data dirs:" From 66e914e6496017927f85a8688df3aef254e844a1 Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 8 Dec 2021 12:20:57 +0100 Subject: [PATCH 3/3] Update root dir output --- setup-scripts/disk-usage-dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/disk-usage-dump.sh b/setup-scripts/disk-usage-dump.sh index 673852aa..f56af47c 100755 --- a/setup-scripts/disk-usage-dump.sh +++ b/setup-scripts/disk-usage-dump.sh @@ -26,7 +26,7 @@ dump () { # Root dirs echo echo "Root dirs:" - docker run -v /:/host-root alpine:3.15.0 sh -c 'du -hs /host-root/*' + docker run -v /:/host-root alpine:3.15.0 sh -c 'du -hs /host-root/*' | sed 's#/host-root##' # Home dirs echo