mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Agtivated btrfs health check for all hosts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
exit_code=0
|
||||
for path in $(btrfs filesystem show | awk '/ path /{print $NF}')
|
||||
do
|
||||
echo "Checking healt for $path..."
|
||||
echo "Checking health for $path..."
|
||||
result=$(btrfs device stats $path)
|
||||
echo "$result"
|
||||
regex='\.(.*)_errs(\s*)[1-9]'
|
||||
|
Reference in New Issue
Block a user