Tag: OmniOS

Some find commands

Some quick find examples   find in current directory all files that have size greater than 0 find . -type f -size +1 -exec ls -la {} \;   find in current directory all files that have size less than or equal to 0 find . -type f -size -1 -exec ls -la {} \; …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=237

Copy directory from local host to remote host

Here is a simple and secure way to copy a directory structure from a local host to a remote host:   # tar -czf – . | ssh root@ubuntu “(cd /mnt/tegile;tar -xpzf -)” The – repersents stdin The . means current directory

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=233

OmniOS General Networking Commands

General OmniOS networking commands taken from the OmniOS site. Setting up dynamic (DHCP) networking # First identify the physical interface on which you would like networking: # dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE e1000g0 Ethernet unknown 0 half e1000g0 e1000g1 Ethernet ? 1000 full e1000g1 Physical interfaces that don’t have a corresponding IP interface …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=127

Configure Basic Settings for a fresh OmniOS VMware Guest

Here is a quick and dirty shell script to configure a single interface OmniOS Guest: root@ns1:~# cat addr.sh #!/bin/bash read -p “hostname:” hn hostname $hn echo $hn > /etc/nodename echo “domain csuohio.edu” > /etc/resolv.conf read -p “dns servers up to 3 separated by commas:” dns echo $dns | awk -F’,’ ‘{print “nameserver ” $1}’ >> …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=121

How to Increase rpool in OmiOS VMware Guest Without a Mirror

If you have ever created an OmniOS VM guest and made the root disk rpool too small, there are 2  pretty simple methods to increase the size of the disk. I found this method to be simpler and more straight forward.  The mirror method is described in an earlier post. The following will outline those …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=102

How to Increase rpool in OmiOS VMware Guest Using a Mirror

If you have ever created an OmniOS VM guest and made the root disk rpool too small, there is a pretty simple way to increase the size of the disk. The following will outline those steps.  Sections in blue are what you would type: Edit the settings in vSphere for the VM Add a new …

Continue reading

Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=28