Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR: Failed to initialize semaphore set

Status
Not open for further replies.

khenzi11

IS-IT--Management
Oct 21, 2004
9
0
0
CH
Hi - I have an Solaris 8 System and run Volume Mgr Version : 4.2.0_102 - now I receive following failure:

os301-su-12-d2% sudo powervg create -vg data02 -se emcpower4c -continue

Volume Group : data02
========================
Storage Elements:
0000 : emcpower4c

This will be created. Are you sure? (Yes/No): Yes

ERROR: Failed to initialize semaphore set

I searched here and used google but I couldn't find anything. Please help ! Thanks Koni
 
In a PowerPath only environment , the PowerPath install and admin guide has the following rules:
semsys:seminfo_semmns
PowerPath alone needs a value of 257. Therefore, the installation adds at least 257 to the current value in /etc/system:
- If the current value in /etc/system is greater than 60, the PowerPath installation adds 257.
- If the current value in /etc/system is less than or equal to 60, the installation adds 317 to allow room for expansion.
- If the value of semsys:seminfo_semmns is not set in /etc/system, the PowerPath installation sets the value at 317.
semsys:seminfo_semmni

PowerPath alone needs a value of 2. Therefore, the installation adds at least 2 to the current value in /etc/system:
- If the current value in /etc/system is greater than 10, the PowerPath installation adds 2.
- If the current value in /etc/system and is less than or equal to 10, the installation adds 12.
- If the value of semsys:seminfo_semmni is not set in /etc/system, the PowerPath installation sets the value at 12.
semsys:seminfo_semmsl
The maximum value allowed for this semaphore is 129. The PowerPath installation changes this value as follows:
- If the current value in /etc/system is 129, it is not reset.
- If the current value in /etc/system is less than 129, it is set to 129.
- If the value of semsys:seminfo_semmsl is not set in /etc/system, it is set to 129.
semsys:seminfo_semmap
semsys:seminfo_semmap is set to the largest value of semsys:seminfo_semmns found in /etc/system, or to 317 if semsys:seminfo_semmns is not in /etc/system.
semsys:seminfo_semmnu
semsys:seminfo_semmnu is set to the largest value of semsys:seminfo_semmns found in /etc/system, or to 317 if semsys:seminfo_semmns is not in /etc/system.

Example:

set semsys:seminfo_semmns=0x13d
set semsys:seminfo_semmni=0xc
set semsys:seminfo_semmsl=0x81
set semsys:seminfo_semmap=0x13d
set semsys:seminfo_semmnu=0x13d

For Solutions Enabler only environment, setttings are as follows:

(Taken from Solutions Enabler Install guide)
set semsys:seminfo_semmni=600
set semsys:seminfo_semmns=600
set semsys:seminfo_semume=600
set semsys:seminfo_semmnu=600
set shmsys:shminfo_shmmni=600
Again these values should be added to whatever the value is already set at.

For PowerPath and Solutions Enabler environments:

Add the values together; for example from above, seminfo_semmns (600 DEC + 0x13d HEX) = 0x395

Example settings (assuming values from above:)

set semsys:seminfo_semmni=0x264
set semsys:seminfo_semume=600
set semsys:seminfo_semmnu=0x395
set semsys:seminfo_semmni=0x264
set semsys:seminfo_semmap=0x13d
set semsys:seminfo_semmns=0x395

NOTE: The system will need to be rebooted for changes to take effect


Cheers Novelli
Novell Master CNE + CDE
EMC Networker LCNS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top