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/31 19:30] 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 209: | Line 219: | ||
PermitRootLogin yes | PermitRootLogin yes | ||
GSSAPIAuthenication no # Fix slow logins | GSSAPIAuthenication no # Fix slow logins | ||
+ | AllowUsers root backupuser | ||
</ | </ | ||
< | < | ||
- | svcadm | + | svcadm |
- | svcadm enable | + | |
</ | </ | ||
Line 262: | 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: | ||
Line 274: | Line 284: | ||
< | < | ||
echo |format | echo |format | ||
- | |||
zpool list | 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 305: | 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 317: | Line 324: | ||
< | < | ||
- | pfexec installgrub / | + | bootadm |
</ | </ | ||