SysAdmin Blog, TechTips and Reviews

An (ex) System Administrator's Blog

Archives Posts

Solutions for Solaris SVM Needs Maintenance and Last Erred status

September 24th, 2010 by elizar

This post is because while patching a Solaris 10 server with patch level Generic_142900-02 to Generic_142900-13.. There’s a need maintenance error on one of the sub mirror:

When a slice in a mirror or RAID5 metadevice device experiences errors,
DiskSuite puts the slice in the “Maintenance” state. No further reads or
writes are performed to a slice in the “Maintenance” state. Subsequent
errors on other slices in the same metadevice are handled differently,
depending on the type of the metadevice.

A mirror may be able to tolerate many slices in the “Maintenance” state and still be read from and written to. A RAID5 metadevice, by definition, can only tolerate a single slice in the “Maintenance” state. When either a mirror or RAID5 metadevice has a slice in the “Last Erred” state, I/O is still attempted to the slice marked “Last Erred”. This is because a “Last Erred” slice contains the last good copy of data from DiskSuite’s point of view.

Read the rest of this entry »

Filed under Uncategorized having No Comments »

Archives Posts

Exiting from Container Console if forgot to specify an escape character…

August 14th, 2009 by elizar

Once you have a non-global zone installed or running on a Solaris 10 installation, it is often useful to connect to the console of the zone. This provides the same control over the zone as connecting to the console of a physical server running Solaris.

To connect to the console of a Solaris 10 zone called testzone, use the following command as root or the equivalent on the global zone:

zlogin -C testzone

The -C option specifies a console login. The console login will persist when the zone is rebooted.
To exit zlogin, use the escape sequence ~. on a new line (the tilde must follow a carriage return, not any other character). If this escape character is inappropriate (because you are connected using software like tip that also uses this escape sequence), you can specify a different escape character on the command line. For example, to use the @ symbol, use:

zlogin -C -e @ testzone

In this case, to exit the zlogin console session, type @. on a new line

Just a note of reference, if you are using tip and forget to change the escape character above. you can do the following to get out


This will force it to disconnect the local zlogin instead of the tip…
However, let’s go deeper….

If you logged into a container’s console (via chs000xx —> ILOM —> then to a serial console)..

#. – will exit to ILOM (but once you logged in again.. you’re in container’s console)
~. – will exit to chs000xx (but once you logged in again.. you’re in container’s console)
~~. – WILL EXIT from the Container!!

It’s a like an hierarchy thingy..

(first part was taken from a website… later part was from me.. of course if you didn’t read all of it, you wont see this note.. 😀 )

I was here...