This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
zfs [2016/05/09 19:10] k2patel [Nexenta] |
zfs [2018/02/08 20:39] k2patel [Zpool] |
||
---|---|---|---|
Line 27: | Line 27: | ||
<code bash> | <code bash> | ||
zpool remove <Volume> <Drive> | zpool remove <Volume> <Drive> | ||
+ | </code> | ||
+ | |||
+ | === List all devices / drive === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 DISPLAY | ||
+ | </code> | ||
+ | |||
+ | === ZFS Display drive information by serial number === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 DISPLAY | grep -B 9 -A 4 <Serial Number> | ||
+ | </code> | ||
+ | |||
+ | === Freenas Blink Drives === | ||
+ | |||
+ | <code bash> | ||
+ | sas2ircu 0 locate 3:7 ON | ||
+ | </code> | ||
+ | |||
+ | === Offline Drive === | ||
+ | |||
+ | <code bash> | ||
+ | zpool offline hermes 15935140517898495532 | ||
+ | </code> | ||
+ | |||
+ | === Replace disk in ZFS Pool === | ||
+ | |||
+ | <code bash> | ||
+ | zpool replace hermes 15935140517898495532 /dev/disk/by-id/ata-ST3500320AS_9QM03ATQ | ||
</code> | </code> | ||
Line 35: | Line 65: | ||
show lun c8t5000C5005785138Bd0 blink -y | show lun c8t5000C5005785138Bd0 blink -y | ||
</code> | </code> | ||
+ | === Nexenta Mgmt. === | ||
+ | To create nexenta collector report, Run following command from root prompt | ||
+ | <code bash> | ||
+ | nexenta-collector --no-upload | ||
+ | </code> | ||
+ | Printing Each JBOD Slotmap | ||
+ | <code bash> | ||
+ | nmc -c "show jbod jbod:1 slotmap" | less | ||
+ | </code> | ||
+ | Check HA Status from command line | ||
+ | <code bash> | ||
+ | /opt/HAC/RSF-1/bin/rsfcli status | ||
+ | </code> | ||
+ | Synchronize Disk Location | ||
+ | <code bash> | ||
+ | nmc -c "lunsync -r -y" | ||
+ | </code> | ||
+ | Migrate Pool to another server | ||
+ | <code bash> | ||
+ | /opt/HAC/RSF-1/bin/rsfcli -i0 move <volume> <hostname> | ||
+ | </code> | ||
==== Solaris ==== | ==== Solaris ==== | ||