modified: README.md
This commit is contained in:
28
README.md
28
README.md
@@ -1,2 +1,30 @@
|
|||||||
# zfs
|
# 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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user