Skip to content

Instantly share code, notes, and snippets.

@siagimir
siagimir / zfs_check.sh
Created April 27, 2024 23:26
Basic ZFS check
#!/bin/bash
# This bash script does a basic information dump about the current ZFS setup.
# The output is also written into a log file in the subfolder ./logs.
# Define color variables
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
# Define the log file directory and file