zfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zfs [2016/05/09 19:12] – [Nexenta] k2patel | zfs [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | To check zpool status | + | === To check zpool status |
<code bash> | <code bash> | ||
zpool status [< | zpool status [< | ||
</ | </ | ||
- | 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> | ||
</ | </ | ||
- | To add Zeus Drive | + | === To add Zeus Drive === |
<code bash> | <code bash> | ||
zpool add performance log < | zpool add performance log < | ||
</ | </ | ||
- | Adding spare to volume | + | === Adding spare to volume |
<code bash> | <code bash> | ||
zpool add performance spare < | zpool add performance spare < | ||
</ | </ | ||
- | Remove attached spare drive to volume | + | === Remove attached spare drive to volume |
<code bash> | <code bash> | ||
zpool detach < | zpool detach < | ||
</ | </ | ||
- | 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 < | zpool remove < | ||
+ | </ | ||
+ | |||
+ | === List all devices / drive === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 DISPLAY | ||
+ | </ | ||
+ | |||
+ | === ZFS Display drive information by serial number === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 DISPLAY | grep -B 9 -A 4 <Serial Number> | ||
+ | </ | ||
+ | |||
+ | === Freenas Blink Drives === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 locate 3:7 ON | ||
+ | </ | ||
+ | |||
+ | === Offline Drive === | ||
+ | |||
+ | <code bash> | ||
+ | zpool offline hermes 15935140517898495532 | ||
+ | </ | ||
+ | |||
+ | === Replace disk in ZFS Pool === | ||
+ | |||
+ | <code bash> | ||
+ | zpool replace hermes 15935140517898495532 / | ||
</ | </ | ||
Line 83: | Line 113: | ||
devfsadm -Cv | devfsadm -Cv | ||
</ | </ | ||
+ | |||
+ | ==== Check status of ARC and L2 ==== | ||
+ | <code bash> | ||
+ | kstat -p zfs: | ||
+ | </ | ||
+ | |||
+ |
zfs.1462821155.txt.gz · Last modified: 2020/08/10 02:29 (external edit)