diff --git a/README.md b/README.md index 9a55701..d37fca4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,30 @@ # zfs +```bash +#check status +zpool status +``` + +```bash +#check smart status +smartctl -a /dev/sdX +``` + +```bash +#pool list +zpool list -o name +``` + +```bash +# scrup pool +zpool scrub poolname +``` + +## health degrated + +First check if not smart errors + +```bash +# clear errors on zfs pool +zpool clear poolname +```