This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:unix:omnios [2020/05/21 08:42] gcooper |
computing:unix:omnios [2024/12/17 20:43] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OmniOS ====== | ====== OmniOS ====== | ||
+ | |||
+ | **Howto**: https:// | ||
See also **[[va: | See also **[[va: | ||
Line 75: | Line 77: | ||
</ | </ | ||
- | Running | + | Run the same command |
+ | |||
+ | If you get stuck with updating, try: | ||
+ | |||
+ | < | ||
+ | pkg refresh --full | ||
+ | pkg update -f | ||
+ | reboot -p | ||
+ | </ | ||
===== Upgrading ===== | ===== Upgrading ===== | ||
Line 81: | Line 91: | ||
**Update Napp-IT first**: http:// | **Update Napp-IT first**: http:// | ||
- | **Then OmniOS**: | + | **Then OmniOS**: |
- | https://omnios.omniti.com/wiki.php/ | + | https://napp-it.org/downloads/ |
https:// | https:// | ||
- | |||
- | **r151016**: | ||
- | |||
- | **LTS**: https:// | ||
===== Manage Boot Environments ===== | ===== Manage Boot Environments ===== | ||
Line 213: | Line 219: | ||
PermitRootLogin yes | PermitRootLogin yes | ||
GSSAPIAuthenication no # Fix slow logins | GSSAPIAuthenication no # Fix slow logins | ||
+ | AllowUsers root backupuser | ||
</ | </ | ||
< | < | ||
- | svcadm | + | svcadm |
- | svcadm enable | + | |
</ | </ | ||
Line 238: | Line 244: | ||
==== Install LSI SAS2IRCU ==== | ==== Install LSI SAS2IRCU ==== | ||
+ | |||
+ | :!: Needed for LSI HBAs | ||
Download the SAS2IRCU archive from Broadcom and upload it to the desired server. | Download the SAS2IRCU archive from Broadcom and upload it to the desired server. | ||
Line 264: | Line 272: | ||
</ | </ | ||
- | ==== Mirror the Boot Drive (on x86 System) | + | ==== Mirror the Boot Drive ==== |
+ | |||
+ | FIXME This section is a mix of old and new information. | ||
See also **[[computing: | See also **[[computing: | ||
- | http:// | + | <note tip>Read the help first in **Napp-IT -> Home -> Disks -> Mirror Bootdisk**</ |
- | + | ||
- | http:// | + | |
List all disks and ZFS pools: | List all disks and ZFS pools: | ||
< | < | ||
- | format | + | echo |format |
- | < | + | zpool list |
cfgadm -s " | cfgadm -s " | ||
- | |||
zpool status rpool | zpool status rpool | ||
</ | </ | ||
- | In the following example: | + | |
- | + | * '' | |
- | | + | |
- | * c5t3d0 is the new disk we want to become the mirror | + | |
- | * p0 is entire disk | + | |
Create one large partition: | Create one large partition: | ||
- | <file> | + | <note tip>If there is any preexisting configuration on the disk (many drives come partitioned!), |
- | pfexec fdisk -B c5t3d0p0 | + | |
- | </file> | + | FIXME Is the following necessary? |
Set up SMI label with same partitioning as original boot disk: | Set up SMI label with same partitioning as original boot disk: | ||
Line 306: | Line 309: | ||
pfexec zpool attach -f rpool c5t2d0s0 c5t3d0s0 | pfexec zpool attach -f rpool c5t2d0s0 c5t3d0s0 | ||
</ | </ | ||
+ | |||
+ | If your bootdisk ends with '' | ||
+ | '' | ||
:!: Do not continue until the resilver is finished. | :!: Do not continue until the resilver is finished. | ||
Line 318: | Line 324: | ||
< | < | ||
- | pfexec installgrub / | + | bootadm |
</ | </ | ||