Thursday, March 31, 2011

/dev/md/admin ---> Not found - Solaris 9

Friends !!!


Recently I have observed that if you have not respected SVM (Solaris Volume Manager), you may be in soup now or later.
SVM acts like a wrapper the way system see the disks and so accordingly modifications are made in the system wide configuration files. Obviously it is not easy for all to manipulate the files manually, also it is not recommended.
Sometimes the system is so messed up that it will not recognized the metadevice (SVM terminology) and thus you are unable to boot your system. However even if; in some cases you are able to bring the server up by your hard efforts; unable to execute SVM commands.
In Solaris there is file called path_to_inst resides in /etc directory and contains valuable information regarding the system wide devices. In rare times we required to empty this file; so that the system can build a fresh device tree and newly added / modified devices can be seen by the system.
When you system is in Solaris Native mode (Slice) mode this can be achieved easily by rebooting the system with boot -ar option at the OBP prompt.
However if you are running a wrapper like Veritas OR SVM it can be full of obstacles with you and system may keep on rebooting. This happens because your system requires metadevice to boot, however since path_to_inst file is missing / corrupted is unable to identify the device to boot with and hereafter problem starts.
So friends always have in mind if you have SVM configured, and required a fresh path_to_inst to be generated, first disable the SVM configuration so that the system can boot in Slice mode.
However if by any chance you are already in difficult times, after reboot you may observe that no SVM commands are responding and throwing error as /dev/md/admin --> no such file or directory.
To correct this you need to know if /kernel/drv/md.conf file exists. In most of the case it would not and so pseudo device for md is not created. 
Actually /dev/md/admin file is a link to /devices/pseudo/md@0:admin
So now it is time to get this file created. Most of the time you will have the advice to re-install SVM package and reboot the system. However what I did today is as below :
SVM package is completely installed on the system and after recreating path_to_inst I started getting error for every Volume Manager commands
<command> : /dev/md/admin: No such file or directory

I found that /kernel/drv/md.conf file is missing. I created that file (assuming your system is currently in slice mode)
1. Create the file /kernel/drv/md.conf file with the below contents       ( Owner / Group - root/sys, permission 644)
####################################################pragma ident   "@(#)md.conf    2.1     00/07/07 SMI"## Copyright (c) 1992-1999 by Sun Microsystems, Inc.# All rights reserved.#name="md" parent="pseudo" nmd=128 md_nsets=4;####################################################
Once done execute the command 
# update_drv -f md --> will rebuild the device trees and drivers for SVM.
Once the command completed you will find all the missing links liek /dev/md/admin, /devices/pseudo/md@0:admin and all required paths. I have done this on Solaris 9 but pretty sure will work on 8 also.
Now you can run all SVM Commands.

Hope you find this article useful.


Tuesday, March 15, 2011

Human dies not the Humanity - Natural disaster in Japan

Friends !!

It is really hard to believe; however it is truth; in seconds things changes. You never know when and where things collapses in the blink of your eyes. Creation needs time, efforts, planning and finance whereas destruction needs nothing.

The tsunami that barreled into northeast Japan on Friday was so murderous and efficient that not much was left when search-and-rescue teams arrived at the locations. Some 350,000 people have reportedly become homeless and were staying in shelters. The Tokyo Electric Power Company announced plans for rotating blackouts across the region to conserve electricity - the first controlled power cuts in Japan in 60 years.

However it seems this was not enough so as an add-on nuclear reactors also rocked by explosions one after another. The government warned 140,000 people nearby to stay indoors to avoid exposure. Needless to say in some time people of the other countries will also feel the pain and they would be required to be extra protective from radiation effect.

Seeing Japan, a landmark country in technologies, in such a distraught state is really very painful. Who could have thought that next morning will bring the toughest task for their life. In-stead of searching for livelihood, they will be required to search for their children, spouses and friends and so on ....

The Dai-ichi plant is the most severely affected of three nuclear complexes that were declared emergencies after suffering damage in Friday's quake and tsunami, raising questions about the safety of such plants in coastal areas near fault lines and adding to global jitters over the industry.

Initial estimates put repair costs in the tens of billions of dollars, costs that would likely add to a massive public debt that, at 200 percent of gross domestic product, is the biggest among industrialized nations.  
 
At one side of the life people are enjoying Cricket World Cup and other aspects of life, and on the other hand for many their world has changed. They have become homeless and struggling to live a normal life. They are feeling helpless and can not think of the way out to fulfill the wishes of their kids. This shows how the life changes dramatically and does not gives you time to understand what is happening and why. In such situations one can not even imagine the state of mind and body of the victims.

However in such accidents / incidents you start experiencing true nature of being Human .  Unknown people from (un)known places come forward to help and extends their support without any greed. We have seen that other than simply tweeting, people are actually coming forward and giving support to the maximum extent. Needless to say we feel the sense of affection in terms of humanity.

It is true that Human dies not the Humanity


 

Tuesday, March 8, 2011

Reunion

"It is always easy to start a new thing rather than completing the existing one" !!!

This statement is complete in itself. We all have experienced such incidents in life wherein we have left the job in-between just because it was taking more time than expected and / or outcome was still not visible.

Alough in frustration you had left the job without completing it and later realized the same.

However anytime in life did you experience the joy on getting the job completed, left incomplete earlier ? If you really want to see the delightment of getting the un-finished job completed; watch out your kids. How they try to open a Box initially and later when not able to; throw it. They will go again to the box and try again. After so many repetitive actions, at last why (s)he is able to open , look for the sparks in their eyes.

That is what you feel when you get reunited with your loved one; whom you had lost earlier just in a fit of rage OR were not able to accommodate. Friends; by the time a relationship gets mature, you are aware if each and everything of your partner, and that is the time you need to start nurturing this. At initial stage every one in relation try to match up the other's expectation but it can not go in long run. Hence you need to be as honest as you are and live the bond; instead of carrying.




What is The Abilene Paradox ?

Context : Corporate World. (excerpt from publicly available sources) On a birthday, a family decided to go out for dinner. Husb...