This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
zfs [2018/02/08 20:39] k2patel [Zpool] |
zfs [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
- | To check zpool status | + | === To check zpool status === |
<code bash> | <code bash> | ||
zpool status [<volume>] | zpool status [<volume>] | ||
</code> | </code> | ||
- | To clear error on drive, which you think reported wrongly. | + | === To clear error on drive, which you think reported wrongly. === |
<code bash> | <code bash> | ||
zpool clear <volume name> | zpool clear <volume name> | ||
</code> | </code> | ||
- | To add Zeus Drive | + | === To add Zeus Drive === |
<code bash> | <code bash> | ||
zpool add performance log <drive> | zpool add performance log <drive> | ||
</code> | </code> | ||
- | Adding spare to volume | + | === Adding spare to volume === |
<code bash> | <code bash> | ||
zpool add performance spare <drive> | zpool add performance spare <drive> | ||
</code> | </code> | ||
- | Remove attached spare drive to volume | + | === Remove attached spare drive to volume === |
<code bash> | <code bash> | ||
zpool detach <volume> <Drive> | zpool detach <volume> <Drive> | ||
</code> | </code> | ||
- | Removing drives from volume (require to remove spare drives after raid rebuilt) | + | === Removing drives from volume (require to remove spare drives after raid rebuilt) === |
<code bash> | <code bash> | ||
zpool remove <Volume> <Drive> | zpool remove <Volume> <Drive> | ||
Line 113: | Line 113: | ||
devfsadm -Cv | devfsadm -Cv | ||
</code> | </code> | ||
+ | |||
+ | ==== Check status of ARC and L2 ==== | ||
+ | <code bash> | ||
+ | kstat -p zfs:0:arcstats | ||
+ | </code> | ||
+ | |||
+ |