Original link:
http://www.eygle.com/unix/USE.EMC.POWERMT.SOLVE.CONFIG.PROBLEM.HTM
In the EMC system, if you frequently increase or decrease the disk, reallocate the planned disk group, then the host may not detect the disk correctly. This is, we can use PowerMT to detect the configuration, solve the problem.
1. You can encounter the following questions
You have assigned a disk to the host system, but you can't find it when Format:
# format
Searching for Disks ... DONE
Available Disk Selections:
0. C1T0D0
/ pci @ 9,600000 / sunw, qlc @ 2 / fp @ 0,0 / ssd @ W500000E0106D9781, 0
C1T1D0
/ PCI @ 9,600000 / sunw, qlc @ 2 / fp @ 0,0 / ssd @ W500000E0106EF871, 0
Specify disk (Enter ITS Number): 1
Selecting C1T1D0
[Disk formatted]
WARNING: CURRENT Disk Has Mounted Partitions.
Format Menu:
Disk - SELECT A Disk
TYPE - SELECT (Define) a disk type
Partition - SELECT (Define) a Partition Table
Current - Describe The Current Disk
Format - Format and Analyze the Disk
REPAIR - Repair a Defective Sector
Label - Write label to the disk
Analyze - Surface Analysis
Defect - Defect List Management
Backup - Search for Backup Labels
Verify - Read and Display Labels
Save - Save New Disk / Partition Definitions
Inquiry - Show vendor, Product and Revision
Volname - SET 8-Character Volume Name
!
- Execute
, Return
quit
Format> Q
2. You can use PowerMT to detect the PowerPath connection status.
Powermt Means: PowerPath 4.x Management Utility
# Powermt Display Dev = All
Pseudo name = emcpower4a
Clariion ID = CK200041200044
Logical device id = 6006016028a610000af03a428708d911
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = SP B, CURRENT = UNKNOWN
============================================================================================================================================================================================================= ============================ ---------------- Host ----- ---------- - STOR - - I / O PATH - - Stats ---
### HW path I / o paths interface q-ios errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / Fibre-Channel @ 4 C2T0D3S0 SP B0 Active Dead 0 0
2304 PCI @ 8 / Fibre-Channel @ 4 C2T1D3S0 SP A0 Active Dead 0 0
2305 PCI @ 8 / Fibre-Channel @ 5 C3T0D3S0 SP B0 Active Dead 0 0
2305 PCI @ 8 / FIBRE-CHANNEL @ 5 C3T1D3S0 SP A0 Active DEAD 0 0
Pseudo name = emcpower5a
Clariion ID = CK200041200044
Logical device id = 6006016028a610005ABD62655B08D911
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = SP A, CURRENT = UNKNOWN
============================================================================================================================================================================================================= ============================ ---------------- Host ----- ---------- - STOR - - I / O PATH - - Stats ---
### HW path I / o paths interface q-ios errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / Fibre-Channel @ 4 C2T0D2S0 SP B0 Active Dead 0 0
2304 PCI @ 8 / fibre-channel @ 4 C2T1D2S0 SP A0 Active DEAD 0 0
2305 PCI @ 8 / Fibre-Channel @ 5 C3T0D2S0 SP B0 Active Dead 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T1D2S0 SP A0 Active DEAD 0 0
Pseudo name = emcpower0a
Clariion ID = CK200041200044
Logical device id = 6006016028a61000c65024c992d4d811
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = SP B, CURRENT = UNKNOWN
============================================================================================================================================================================================================= ============================ ---------------- Host ----- ---------- - STOR - - I / O PATH - - Stats ---
### HW path I / o paths interface q-ios errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / Fibre-Channel @ 4 C2T0D0S0 SP B0 Active DEAD 0 0
2304 PCI @ 8 / fibre-channel @ 4 C2T1D0S0 SP A0 Active DEAD 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T0D0S0 SP B0 Active DEAD 0 0
2305 PCI @ 8 / Fibre-Channel @ 5 C3T1D0S0 SP A0 Active Dead 0 0
Pseudo name = emcpower1a
Clariion ID = CK200041200044
Logical device ID = 6006016028a61000f075bd4e93d4d811
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = SP A, CURRENT = UNKNOWN
============================================================================================================================================================================================================= ============================ ---------------- Host ----- ---------- - STOR - - I / O PATH - - Stats ---
### HW path I / o paths interface q-ios errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / fibre-channel @ 4 C2T0D1S0 SP B0 Active Dead 0 0
2304 PCI @ 8 / Fibre-Channel @ 4 C2T1D1S0 SP A0 Active DEAD 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T0D1S0 SP B0 Active DEAD 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T1D1S0 SP A0 Active DEAD 0 0
Pseudo name = emcpower6a
Clariion ID = CK200041200044
Logical device id = 6006016028a61000fc68e575620cd911
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = SP B, CURRENT = UNKNOWN
============================================================================================================================================================================================================= ============================ ---------------- Host ----- ---------- - STOR - - I / O PATH - - Stats ---
### HW path I / o paths interface q-ios errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / Fibre-Channel @ 4 C2T0D4S0 SP B0 Active Dead 0 0
2304 PCI @ 8 / Fibre-Channel @ 4 C2T1D4S0 SP A0 Active Dead 0 0
2305 PCI @ 8 / Fibre-Channel @ 5 C3T0D4S0 SP B0 Active Dead 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T1D4S0 SP A0 Active DEAD 0 0
These Active Dead's status is wrong.
3. Execute reconfiguration
# Powermt Check
Warning: CLARION Device Path C2T0D0S0 is currently dead.
Do you want to remove it (y / n / a / q)? Y
Warning: CLARION Device Path C2T0D1S0 is currently dead.
Do you want to remove it (y / n / a / q)? Y
Warning: CLARiON Device Path C2T0D2S0 is currently dead.
Do you want to remove it (y / n / A / q)? A
Warning: CLARION Device Path C2T0D3S0 is currently dead.
Warning: CLARION Device Path C2T0D4S0 is currently dead.warning: CLARION DEVICE PATH C2T1D0S0 is currently dead.
Warning: CLARION DEVICE PATH C2T1D1S0 is Currently DEAD.
Warning: CLARION Device Path C2T1D2S0 is currently dead.
Warning: CLARION Device Path C2T1D3S0 is currently dead.
Warning: CLARION DEVICE PATH C2T1D4S0 is Currently Dead.
Warning: CLARION Device Path C3T0D0S0 is currently dead.
Warning: CLARION Device Path C3T0D1S0 is currently dead.
Warning: CLARION Device Path C3T0D2S0 is currently dead.
Warning: CLARION Device Path C3T0D3S0 is currently dead.
Warning: CLARION Device Path C3T0D4S0 is currently dead.
WARNING: CLARION Device Path C3T1D0S0 is currently dead.
Warning: CLARION Device Path C3T1D1S0 is currently dead.
Warning: CLARION Device Path C3T1D2S0 is currently dead.
Warning: CLARiON Device Path C3T1D3S0 is currently dead.
Warning: CLARION Device Path C3T1D4S0 is currently dead.
# Powermt config
# Powermt Restore
# Powermt Save
# Powermt Display Dev = All
Pseudo name = emcpower7a
Clariion ID = CK200041200044 [Storage Group 2]
Logical device ID = 6006016028a61000482f2ba9720cd911 [lun 1]
State = alive; policy = Claropt; priority = 0; queued-iOS = 0
Owner: default = sp b, current = SP B
============================================================================================================================================================================================================= ============================
---------------- Host --------------- - STOR - - I / O PATH - - Stats - ## # HW path I / o paths interface. Mode State Q-iOS Errors
============================================================================================================================================================================================================= ============================
2304 PCI @ 8 / Fibre-Channel @ 4 C2T0D0S0 SP B0 Active Alive 0 0
2304 PCI @ 8 / Fibre-Channel @ 4 C2T1D0S0 SP A0 Active Alive 0 0
2305 PCI @ 8 / fibre-channel @ 5 C3T0D0S0 SP B0 Active Alive 0 0
2305 PCI @ 8 / Fibre-Channel @ 5 C3T1D0S0 SP A0 Active Alive 0 0
The Active Alive state is normal.
4. Do Format at this time can see the correct disk
# format
Searching for Disks ... DONE
C2T0D0: Configured with capacity of 40.00GB
C2T1D0: Configured with capacity of 40.00GB
C3T0D0: Configured with capacity of 40.00GB
C3T1D0: Configured with capacity of 40.00GB
EMCPOWER7A: Configured with capacity of 40.00GB
Available Disk Selections:
0. C1T0D0
/ pci @ 9,600000 / sunw, qlc @ 2 / fp @ 0,0 / ssd @ W500000E0106D9781, 0
C1T1D0
/ PCI @ 9,600000 / sunw, qlc @ 2 / fp @ 0,0 / ssd @ W500000E0106EF871, 0
2. C2T0D0
/ PCI @ 8,700000 / fibre-channel @ 4 / sd @ 0,0
3. C2T1D0
/ pci @ 8,700000 / fibre-channel @ 4 / sd @ 1,0
4. C3T0D0
/ PCI @ 8,700000 / fibre-channel @ 5 / SD @ 0,0
5. C3T1D0
/ pci @ 8,700000 / fibre-channel @ 5 / SD @ 1,0 6. Emcpower7a
/ pseudo / emcp @ 7 specify disk (enter its number): ^ D
Specific PowerMT command reference: