This shows you the differences between two versions of the page.
zfs [2016/05/09 19:06] k2patel created |
zfs [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ZFS ====== | ||
- | ==== Zpool ==== | ||
- | |||
- | |||
- | To check zpool status | ||
- | <code bash> | ||
- | zpool status [<volume>] | ||
- | </code> | ||
- | To clear error on drive, which you think reported wrongly. | ||
- | <code bash> | ||
- | zpool clear <volume name> | ||
- | </code> | ||
- | To add Zeus Drive | ||
- | <code bash> | ||
- | zpool add performance log <drive> | ||
- | </code> | ||
- | Adding spare to volume | ||
- | <code bash> | ||
- | zpool add performance spare <drive> | ||
- | </code> | ||
- | Remove attached spare drive to volume | ||
- | <code bash> | ||
- | zpool detach <volume> <Drive> | ||
- | </code> | ||
- | Removing drives from volume (require to remove spare drives after raid rebuilt) | ||
- | <code bash> | ||
- | zpool remove <Volume> <Drive> | ||
- | </code> |