Remapping of HBA avio (188 Views)
Reply
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 1 of 3 (188 Views)

Remapping of HBA avio

Hi Admins,

 

OS : HPUX 11.31

VM version : B.06.10.05

 

I want to HBA avio device remapping with one of the hpvm guest. Below command ended up with error.

 

CB1:/#hpvmmodify -p4 -d hba:avio_stor::npiv:/dev/fcd1-0x2001438021DC093E,0x2001438021DC093F
hpvmmodify: Unable to find device hba:avio_stor::npiv:/dev/fcd1-0x2001438021DC093E,0x2001438021DC093F.
hpvmmodify: Unable to modify the vPar or VM.


CB1:/#hpvmmodify -p4 -d hba:avio_stor::npiv:/dev/fcd1
hpvmmodify: Unable to find device hba:avio_stor::npiv:/dev/fcd1.
hpvmmodify: Unable to modify the vPar or VM.
CB1:/#

 

 

Please find the device details.

 

[Storage Interface Details]
vPar/VM                                Physical
Device  Adapter    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
hba     avio_stor    0   0             npiv      /dev/fcd1-0x2001438021DC093E,0x2001438021DC093F
hba     avio_stor    0   1             npiv      /dev/fcd2-0x2001438021DC0268,0x2001438021DC0269

 

 

Please let me know whats the exact syntax fro removal. And also i want to add the devices back.

 

Thanks and Regards

himacs

 

Please use plain text.
Respected Contributor
Stan_M
Posts: 92
Registered: ‎09-12-2011
Message 2 of 3 (179 Views)

Re: Remapping of HBA avio

Try

#hpvmmodify -p4 -d hba:avio_stor:,,0x2001438021DC093E,0x2001438021DC093F:npiv:/dev/fcd1

or even more exactly:

#hpvmmodify -p4 -d hba:avio_stor:0,0,0x2001438021DC093E,0x2001438021DC093F:npiv:/dev/fcd1

 

The same resource syntax is to be used for adding new NPIV HBA.

 

The syntax is shown in HPVM Admin Guide and hpvmresources(5) man page

 

HTH

Stan

 

Please use plain text.
Occasional Visitor
cqyyps
Posts: 1
Registered: ‎12-26-2013
Message 3 of 3 (143 Views)

Re: Remapping of HBA avio

thanks a lot. the privious is usefully.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation