This post is more than 5 years old
10 Posts
0
13472
March 26th, 2008 17:00
Renaming emcpower pseudo-devices on two Linux cluster nodes
Hi again,
I need to "rename" the emcpower* pseudo-devices, but I don't know how to do.
I'm reading some how-to on poerlink site, but they're not for my current PowerPath version.
I've installed this version: EMCpower.LINUX-5.1.0-194.rhel5.i386.rpm
From my first node:
powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH OCFS2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdc SP A1 unlic alive 0 0
0 qla2xxx sdf SP B1 unlic alive 0 0
1 qla2xxx sdi SP A0 active alive 0 0
1 qla2xxx sdl SP B0 active alive 0 0
Pseudo name=emcpowerb
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_DATA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sda SP A1 unlic alive 0 0
0 qla2xxx sdd SP B1 unlic alive 0 0
1 qla2xxx sdg SP A0 active alive 0 0
1 qla2xxx sdj SP B0 active alive 0 0
Pseudo name=emcpowerd
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_FRA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdb SP A1 unlic alive 0 0
0 qla2xxx sde SP B1 unlic alive 0 0
1 qla2xxx sdh SP A0 active alive 0 0
1 qla2xxx sdk SP B0 active alive 0 0
From my second node:
powermt display dev=all
Pseudo name=emcpowerb
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH OCFS2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdc SP A1 unlic alive 0 0
0 qla2xxx sdf SP B1 unlic alive 0 0
1 qla2xxx sdi SP A0 active alive 0 0
1 qla2xxx sdl SP B0 active alive 0 0
Pseudo name=emcpowera
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_DATA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sda SP A1 unlic alive 0 0
0 qla2xxx sdd SP B1 unlic alive 0 0
1 qla2xxx sdg SP A0 active alive 0 0
1 qla2xxx sdj SP B0 active alive 0 0
Pseudo name=emcpowerc
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_FRA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdb SP A1 unlic alive 0 0
0 qla2xxx sde SP B1 unlic alive 0 0
1 qla2xxx sdh SP A0 active alive 0 0
1 qla2xxx sdk SP B0 active alive 0 0
From my first node:
emcpadm getused
PowerPath pseudo device names in use:
Pseudo Device Name Major# Minor#
emcpowera 120 0
emcpowerb 120 16
emcpowerc 120 32 <--- no more used!!!
emcpowerd 120 48
From my second node:
emcpadm getused
PowerPath pseudo device names in use:
Pseudo Device Name Major# Minor#
emcpowera 120 0
emcpowerb 120 16
emcpowerc 120 32
I would like both nodes have emcpowera as [sdc, sdf, sdi, sdl],
emcpowerb as [sda, sdd, sdg, sdj], emcpowerd as [sdb, sde, sdh, sdk]
How can I do that ?
Thanks for your support,
Marco
Message was edited by:
Stefano Del Corno
removed possibly sensitive data
I need to "rename" the emcpower* pseudo-devices, but I don't know how to do.
I'm reading some how-to on poerlink site, but they're not for my current PowerPath version.
I've installed this version: EMCpower.LINUX-5.1.0-194.rhel5.i386.rpm
From my first node:
powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH OCFS2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdc SP A1 unlic alive 0 0
0 qla2xxx sdf SP B1 unlic alive 0 0
1 qla2xxx sdi SP A0 active alive 0 0
1 qla2xxx sdl SP B0 active alive 0 0
Pseudo name=emcpowerb
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_DATA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sda SP A1 unlic alive 0 0
0 qla2xxx sdd SP B1 unlic alive 0 0
1 qla2xxx sdg SP A0 active alive 0 0
1 qla2xxx sdj SP B0 active alive 0 0
Pseudo name=emcpowerd
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_FRA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdb SP A1 unlic alive 0 0
0 qla2xxx sde SP B1 unlic alive 0 0
1 qla2xxx sdh SP A0 active alive 0 0
1 qla2xxx sdk SP B0 active alive 0 0
From my second node:
powermt display dev=all
Pseudo name=emcpowerb
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH OCFS2]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdc SP A1 unlic alive 0 0
0 qla2xxx sdf SP B1 unlic alive 0 0
1 qla2xxx sdi SP A0 active alive 0 0
1 qla2xxx sdl SP B0 active alive 0 0
Pseudo name=emcpowera
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_DATA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sda SP A1 unlic alive 0 0
0 qla2xxx sdd SP B1 unlic alive 0 0
1 qla2xxx sdg SP A0 active alive 0 0
1 qla2xxx sdj SP B0 active alive 0 0
Pseudo name=emcpowerc
CLARiiON ID=CK200062401xxx [Cluster Oracle DWH]
Logical device ID=6006016040301900xxxxxxxxxxxxxxxx [DWH DG_FRA]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A Array failover mode: 1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 qla2xxx sdb SP A1 unlic alive 0 0
0 qla2xxx sde SP B1 unlic alive 0 0
1 qla2xxx sdh SP A0 active alive 0 0
1 qla2xxx sdk SP B0 active alive 0 0
From my first node:
emcpadm getused
PowerPath pseudo device names in use:
Pseudo Device Name Major# Minor#
emcpowera 120 0
emcpowerb 120 16
emcpowerc 120 32 <--- no more used!!!
emcpowerd 120 48
From my second node:
emcpadm getused
PowerPath pseudo device names in use:
Pseudo Device Name Major# Minor#
emcpowera 120 0
emcpowerb 120 16
emcpowerc 120 32
I would like both nodes have emcpowera as [sdc, sdf, sdi, sdl],
emcpowerb as [sda, sdd, sdg, sdj], emcpowerd as [sdb, sde, sdh, sdk]
How can I do that ?
Thanks for your support,
Marco
Message was edited by:
Stefano Del Corno
removed possibly sensitive data
No Events found!
rawstorage
2 Intern
•
419 Posts
0
March 26th, 2008 17:00
dynamox
9 Legend
•
20.4K Posts
0
March 26th, 2008 17:00
aco1
10 Posts
0
March 26th, 2008 17:00
Currently these two machines are not licensed. I'm sure my manager has requested new license for these new machines.
Is there a correlation between emcpower* pseudo-devices and an unlicensed PowerPath version ?
Now I'm reading the man page of emcpadm and trying to use the rename options.
dynamox
9 Legend
•
20.4K Posts
0
March 26th, 2008 17:00
aco1
10 Posts
1
March 26th, 2008 17:00
Just for other readers. I solved using the following commands:
From node1:
emcpadm getused
and then
emcpadm rename -s emcpowera -t emcpowere
emcpadm rename -s emcpowerb -t emcpowerf
emcpadm rename -s emcpowerd -t emcpowerg
From node2:
emcpadm getused
and then
emcpadm rename -s emcpowerb -t emcpowere
emcpadm rename -s emcpowera -t emcpowerf
emcpadm rename -s emcpowerc -t emcpowerg
Thanks,
Marco
wzglc6
1 Message
0
June 3rd, 2008 01:00
I know, it is not used. This happens on a linux 5.0 x64 system.
Any help is appreciated.
Stefan
rawstorage
2 Intern
•
419 Posts
0
June 3rd, 2008 23:00
the command "emcpadm getfreepseudos" will show you if this if free or not.
This may be something SAC should take a look at if the device is not showing up there and is not showing in powermt display dev=all.
ibmpdc2
3 Posts
0
April 5th, 2021 16:00
So rename pseudos' does not work well on boot form san devices. How to you rename the pseudo of a boot from san device because for the device in use errors not due to the pseudo name taken but that its an open boot disk on Linux?
Dell-DylanJ
4 Operator
•
2.9K Posts
0
April 6th, 2021 09:00
Hello,
You might give this article a look to see if it helps you at all:
https://dell.to/3wzTEM8
However, if the disk is busy, and with this being a boot from SAN, I'd expect it is, you may need to consider taking a new disk and renaming it to suit your needs, then migrating the kernel over to it.
Please let me know if this helps.