There are many circumstances where major changes are being made to the system, such as a patchset install or OS upgrade, when it would be nice to have the option to undo those changes and revert to a previous system state in case something goes wrong. With software volume management and a little preparation, it […]
SVM
Solaris Volume Manager (SVM) : Understanding metadb Flags
The state database contains the configuration and status information of all volumes, hot spares and disk sets. To provide redundancy we create multiple copies of the state database called as state database replicas. Now in case of losing any state database replica SVM determines the valid state database replica by using majority consensus algorithm. According […]
Solaris : How to run savecore manually while booted in single user from CDROM
For various reasons it may be necessary to gather a crash dump while booted from alternate media, for example if the system is not booting properly from the normal boot disk. This document outlines the steps required to accomplish this. In general, the steps required are: Boot from the alternate media Mount the root filesystem […]
SVM : How to set boot device at OBP for mirrored root disk
The Open Boot PROM(OBP) aliases in solaris SPARC environments are created to simplify the access to hardware devices using user friendly names. They can be used in place of the full OBP hardware path at the “ok” prompt. The post discusses the procedure to set the Open Boot Prom (OBP) environment for SPARC systems properly […]
Solaris 10 patching with SVM : Traditional method (non-live upgrade)
Like many others, I am a big fan of live upgrade when it comes to upgrading/patching solaris. This post is for the system admins who still wants to use the traditional method of patching for whatever reason they want to. The setup The example system we will be using has SVM based mirrored root. Preparation […]
SVM : How to Use Metadevadm to Maintain Device Relocation Information After Disk Replacement
This article describes the method used to maintain device relocation information for Solaris Volume Manager (SVM). Device relocation information is based on device IDs, and care must be taken to ensure that it is updated when a disk is replaced. Device IDs are unique identifiers branded to all disk drives and LUNs (SCSI, fibre channel, […]
How to add Additional Storage Space Created from Dynamic LUN Expansion in SVM online
Most of the storage arrays now-a-days provides the feature of dynamic LUN expansion. This feature allows you to grow your existing volume on the fly without affecting existing data or I/O. Dynamic LUN expansion increases the capacity of the physical storage. You must then make Solaris aware that the device has grown, and if a […]
SVM : How to un-encapsulate root disk (SPARC)
There may be times when you want to boot from the unencapsulated SVM root disk by detaching one submirror. The term unencapsulation refers to a method of taking disk out of SVM control while retaining its content. The reason to do this can be many – For patching or when the system is not bootable […]
SVM – How to create Soft Partitions
Why Soft Partitions ? An obvious question in everybody’s mind – why the hell do we need the soft partitions. Well, the simple answer is – A limitation existed in that a disk can only have 8 partitions, thus limiting the number of metadevices to 8 per disk. This may have originally been an acceptable […]
The ultimate Solaris Volume Manager (SVM) interview questions
What are the configuration files used in SVM ? /etc/lvm/md.tab 1. The file is empty by default. The file is only used when metainit command is issued by the administrator. It is configured manually. 2. It can be populated by appending the output of # metastat -p. For example #metastat -p >> /etc/lvm/md.tab. 3. It […]