Skip to content

Commit

Permalink
Add disk SMART data to collect-info tarball
Browse files Browse the repository at this point in the history
SMART_details.json and SMART_details_previous.json

Signed-off-by: Andrew Durbin <andrewd@zededa.com>
  • Loading branch information
andrewd-zededa committed Apr 4, 2024
1 parent 7859da6 commit 9657de3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/debug/scripts/collect-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Script version, don't forget to bump up once something is changed

VERSION=17
VERSION=18
# Add required packages here, it will be passed to "apk add".
# Once something added here don't forget to add the same package
# to the Dockerfile ('ENV PKGS' line) of the debug container,
Expand Down Expand Up @@ -373,6 +373,7 @@ ln -s /persist/netdump "$DIR/persist-netdump"
ln -s /persist/kcrashes "$DIR/persist-kcrashes"
ln -s /run "$DIR/root-run"
cp -r /sys/fs/cgroup/memory "$DIR/sys-fs-cgroup-memory" >/dev/null 2>&1
[ -f /persist/SMART_details.json ] && ln -s /persist/SMART_details* "$DIR/"

# Network part
collect_network_info
Expand Down

0 comments on commit 9657de3

Please sign in to comment.