
UNSOLVED
Can't rename pseudo device
Hi,
I can't get PP (5.7) to rename a pseudo device. Message I am getting eventually: "WARNING: unable to restore mapping for emcpowera (lookup or unmapping error)". Any input on how to fix this is much appreciated.
Last weekend our VNX was swapped out (due to rotation of lab equipment used in solutions teams).
Since getting the new LUNs assigned from the new VNX, PowerPath has assigned a new pseudo device name to all devices.
I want to rename them back to the original names, but PowerPath says it can't do the rename. I tried it on the command line and with export/import of a mapping file. Both failed. In the examples below I am trying to rename the new emcpowerbq back to the original name of emcpowera.
USING COMMAND LINE
[root@r910a ~]# emcpadm getfreepseudos -n 1 -b emcpowera
Next free pseudo device name(s) from emcpowera are:
Pseudo Device Name Major# Minor#
emcpowera 120 0
[root@r910a ~]# emcpadm renamepseudo -s emcpowerbq -t emcpowera
[root@r910a ~]# emcpadm getused | grep bq
emcpowerbq 120 1088
[root@r910a ~]# emcpadm renamepseudo -s 1088 -t 0
USING EXPORT/IMPORT OF MAPPING FILE
Exported the mappings. Removed all but emcpowerbq. Renamed pseudo_dev from 'bq' to 'a', as shown below:
[root@r910a PPissue]# cat rename_bq_to_a_mapping.xml
5.7.0 (build 2)
r910a.gso.lab.emc.com
emcpowera
0x407840
clariion
wwn
11E47FE2E8777E1B003841A260010660
[root@r910a PPissue]# emcpadm check_mappings -x -f rename_bq_to_a_mapping.xml
Imported Device Remapping Status
Mapping
---------------- ------------------------------------------
emcpowera remaps: emcpowerbq
[root@r910a PPissue]# emcpadm import_mappings -x -f rename_bq_to_a_mapping.xml
WARNING: unable to restore mapping for emcpowera (lookup or unmapping error)
Thanks,
Ed
Responses (0)
Solutions (0)
