31 lines
304 B
Markdown
31 lines
304 B
Markdown
# 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
|
|
```
|