Category Archives: Uncategorized

World Wide Numbers on Solaris (WWNs)

or SAN port correlation. Disks in an array will typically be connected to a Solaris system via a “Storage Area Network” or “SAN” over “Fibre Channel” or “FC” (http://en.wikipedia.org/wiki/Fibre_Channel) which is really just a networking topology that typically uses fiber … Continue reading

Posted in Uncategorized | Leave a comment

Finding Global Zone from Local Zone

It is difficult if not impossible, by design, to find your “global zone” host name if you are in a Solaris 10 Local Zone. One method that works sometimes is to run “arp –a|grep SP” and that should list the … Continue reading

Posted in Uncategorized | 1 Comment

Migrate IPMP system from active/active to active/standby aka active/passive

ifconfig bge2 standby

Posted in Uncategorized | Leave a comment

clri and the BAD STATE 0x52 TO BLKERR error in fsck

Tonight I had a server reboot that could not pass fsck on the root disk: root> fsck -F ufs -o f -y /dev/md/rdsk/d30 ** /dev/md/rdsk/d30 ** Last Mounted on / ** Phase 1 – Check Blocks and Sizes FRAGMENT 1957912 … Continue reading

Posted in Uncategorized | Leave a comment

ZFS hot spares

If you have more disks than you need to use in your ZFS pool, then by all means, give them to ZFS to use as “hot spares.” Here is an experiment to show the process and results: # zpool create … Continue reading

Posted in Uncategorized | Leave a comment

Solaris Console GUI

To disable the GUI auto startup:/usr/dt/bin/dtconfig -d To ENable the GUI auto startup: /usr/dt/bin/dtconfig -e

Posted in Uncategorized | Leave a comment

Solaris Single User Mode on x86/i386

This may seem silly, but I work exclusively on SPARC boxes, so when I need to get an x86 box into single user mode, such as in VirtualBox, I am lost. To get Solaris x86 into single use mode: 1. … Continue reading

Posted in Uncategorized | 2 Comments

Changing network settings on an M5000 (or M9000) XSCF

First, here is the documentation on the XSCF commands: http://download.oracle.com/docs/cd/E19580-01/821-2797-10/21ch2p.html#50450504_62902 Second, you will have to reset (“reboot”) the XSCF to apply any network setting changes. This will NOT reboot the running operating system, but it does take a few minutes. … Continue reading

Posted in Uncategorized | Leave a comment

Zone File System Moving

Zone file systems are a little confusing. This quick guide on moving a file system from one mount point to another should help explain a few of the details that can be used for other operations as well. In the … Continue reading

Posted in Uncategorized | Leave a comment

pkgtrans

The easiest way to get at the guts of a package is with pkgtrans. This will take a package file and make it into a pile of files in a folder under /tmp: pkgtrans pkgname /tmp all Note that not … Continue reading

Posted in Uncategorized | 1 Comment