Category Archives: omnios - Page 3

omnios showmount: RPC: Program not registered

On a vanilla install of omnios, shutdown command fails due to the system being unable to execute showmount.

To resolve this issue you must enable NFS which also requires that you share a directory, below are the steps involved:

echo 'share -F nfs -o ro=test -d "test directory" /export/home' >> /etc/dfs/dfstab


svcadm enable network/nfs/server

to ensure this has worked correctly execute

showmount

this should not return any errors.. simply execute shutdown and you should be back on your way!

Shutdown omnios

sudo shutdown -y -i5 -g0

Restart SSH Omnios

svcadm restart ssh

Create ZFS RAID 10 with mirror ZIL

zpool create tank mirror c13t0d0 c13t0d1 mirror c13t0d6 c13t0d7
zpool add tank log mirror c4t0d0 c4t1d0

Static Networking Omnios

svcadm enable svc:/network/physical:default
ipadm create-addr -T static -a 192.168.0.124/24 igb0/v4static
route -p add default 192.168.0.1
svcadm restart svc:/network/physical:default

add hostname + ip in:
vi /etc/hosts

add nameservers in
vi /etc/resolv.conf
cp /etc/nsswitch.dns /etc/nsswitch.conf

Infiniband OMNIOS – iscsi setup

Remember that 0xFFFF is the default pKey and create your partition.

# dladm create-part -l ibp0 -P 0xFFFF pFFFF.ibp0
# ifconfig pFFFF.ibp0 plumb
# ifconfig pFFFF.ibp0 10.0.0.1/24 up

to make the interface come up automatically on reboot read here:

http://docs.oracle.com/cd/E19082-01/820-3070/getpc/index.html

http://www.c0t0d0s0.org/archives/6140-Less-known-Solaris-Features-iSCSI-with-COMSTAR.html