Solaris zone stuck in “shutting_down” state

Recently, one of the servers I manage had problems bringing down one of its non-global zones. I ran “zoneadm list -vic” and confirmed that ngzone1 was in a “shutting_down” state. (global-zone)# zoneadm list -vic ID NAME STATUS PATH BRAND IP 0 global running / native shared 8 ngzone1 shutting_down /z/host/ngzone1 native shared 9 ngzone2 running […]

How to find the WWN in Sun Solaris

Covers a good amount of methods you can use to obtain the WWN (World Wide Name) from a Solaris host. http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/

Add ZFS file system to Solaris non-global zone

Ever wanted to add a ZFS file system to a Solaris 10 non-global zone but ran into the following error: could not verify fs /test: zfs ‘tank/test’ mountpoint is not “legacy” zoneadm: zone non-global-zone failed to verify The fix would be to update/create the ZFS dataset as a legacy mount point. For this post, I […]

Assign metadevice to Solaris non-global zone

From the global zone, create the SVM Metadevice like you normally would. Create the zone and add the SVM Metadevice to the zone configuration via zonecfg. global-zone# zonecfg -z myzone myzone: No such zone configured Use ‘create’ to begin configuring a new zone. zonecfg:myzone> create zonecfg:myzone> set zonepath=/zones/myzone zonecfg:myzone> set autoboot=true zonecfg:myzone> add net zonecfg:myzone:net> […]