Operating System - HP-UX
1848124 Members
8222 Online
104022 Solutions
New Discussion

problem by assigning AVIO disk

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

problem by assigning AVIO disk

hello,
this day update the vm guest and host to version 3.5
the disk were changes by AVIO.
the update was successful
I need to add two new disk to the guest to date, but displays the following error:
************************************************** ***************
05/29/10 12:55:15 | ERROR | SAPL909 | root | Conflicting Device has device address - bus 0, dev 0, func 0, target 1, lun 0.
05/29/10 12:55:15 | ERROR | SAPL909 | root | Unable to add device '/ dev/rdsk/c35t2d3'.
************************************************** ***************
Use the following command:
hpvmmodify-p 1-a disk: avio_stor: 0,0,1: disk: / dev/rdsk/c35t2d3.
************************************************** ***********************
command applies to the VM guest running.
29 REPLIES 29
melvyn burnard
Honored Contributor

Re: problem by assigning AVIO disk

so what does an hpvmstatus -p 1 show as already configured?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

all are configured disk AVIO_STOR
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

The server is Produccion. I nedd assigned 2 disk new. the VM Guest has assigned 30 disk. were migrated from VIO to AVIO_STOR.
HELPME PLEASE
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

I think the problem is:
bus 0, dev 0, func 0, target 1, lun 0
is being used in one of the disk that have already been allocated.
I can change the new disk in this direction?
00010 c35t2d3

disk assigned already in the VM guest.
Guest Device type : disk
Guest Adaptor type : avio_stor
Bus : 0
Device : 0
Function : 0
Target : 1
Lun : 0
Physical Storage type : disk
Physical Device : /dev/rdsk/c39t1d2



P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

>> Conflicting Device has device address - bus 0, dev 0, func 0, target 1, lun 0.
Yes, the device address is already being used and hence allocated to another
disk.When the new disk also refers to the same address, a conflict is reported.

Using the hpvmmodify command for the new disk should solve the problem.

Regards,
Murali
Let There Be Rock - AC/DC
Chandrahasa s
Valued Contributor

Re: problem by assigning AVIO disk

Hi,

Can you provide hpvmstatus -P vmname output
also hpvmdevmgmt -l all


Chandra
melvyn burnard
Honored Contributor

Re: problem by assigning AVIO disk

Like I said, what does hpvmstatus -v -p 1 show as copnfigured, if you had posted here we could actually see rather than guess what is already configured
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

I am using the command hpvmmodify but can not resolve the fault
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

anex hpvmstatus


SINFRA94:/> hpvmstatus -p1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
SAPL909 1 HPUX On (OS)

[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 100.0% 100.0%

[Memory Details]
Total Reserved
Memory Memory
======= ========
12 GB 64 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 0 0 0 0 0 lv /dev/vg00/rqabwdev
disk avio_stor 0 0 0 1 0 disk /dev/rdsk/c39t1d2
disk avio_stor 0 0 0 2 0 disk /dev/rdsk/c39t0d0
disk avio_stor 0 0 0 3 0 disk /dev/rdsk/c39t0d1
disk avio_stor 0 0 0 4 0 disk /dev/rdsk/c39t0d2
disk avio_stor 0 0 0 5 0 disk /dev/rdsk/c39t0d3
disk avio_stor 0 0 0 6 0 disk /dev/rdsk/c39t0d4
disk avio_stor 0 0 0 7 0 disk /dev/rdsk/c39t0d5
disk avio_stor 0 0 0 8 0 disk /dev/rdsk/c39t0d6
disk avio_stor 0 0 0 9 0 disk /dev/rdsk/c39t0d7
disk avio_stor 0 4 0 0 0 disk /dev/rdsk/c39t1d0
disk avio_stor 0 4 0 1 0 disk /dev/rdsk/c39t1d1
disk avio_stor 0 4 0 2 0 lv /dev/vgQABW/rlvQABWr1
disk avio_stor 0 4 0 3 0 lv /dev/vgQABW/rlvQABWr5
disk avio_stor 0 4 0 4 0 lv /dev/vgQABWarr1/rlvQABWarr11
disk avio_stor 0 4 0 5 0 lv /dev/vgQABWr5/rlvQABWr52
disk avio_stor 0 4 0 6 0 lv /dev/vgQABWlogr1/rlvQABWlogr11
disk avio_stor 0 4 0 7 0 lv /dev/vgQABWlogr1/rlvQABWlogr12
disk avio_stor 0 4 0 8 0 lv /dev/vgQABWlogr1/rlvQABWlogr13
disk avio_stor 0 4 0 9 0 lv /dev/vgQABWlogr1/rlvQABWlogr14
disk avio_stor 0 7 0 0 0 lv /dev/vgQABWr5/rlvQABWr51
disk avio_stor 0 7 0 1 0 disk /dev/rdsk/c35t0d6
disk avio_stor 0 7 0 2 0 disk /dev/rdsk/c35t4d3
disk avio_stor 0 7 0 3 0 disk /dev/rdsk/c35t4d4
disk avio_stor 0 7 0 4 0 disk /dev/rdsk/c35t4d5
disk avio_stor 0 7 0 5 0 disk /dev/rdsk/c35t4d6
disk avio_stor 0 7 0 6 0 disk /dev/rdsk/c39t4d5
disk avio_stor 0 7 0 7 0 disk /dev/rdsk/c39t4d4
disk avio_stor 0 7 0 8 0 disk /dev/rdsk/c39t4d3
disk avio_stor 0 7 0 9 0 disk /dev/rdsk/c39t4d2

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch avio_lan sw_lan1 1 0 1 0 5e-bf-b9-9c-42-42
vswitch avio_lan sw_lan2 1 0 2 0 4a-7c-fb-ec-04-9e
vswitch avio_lan sw_lan3 1 0 5 0 0a-ea-21-6f-b4-38
vswitch avio_lan sw_lan5 1 0 6 0 f2-40-1d-1c-66-72

[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

>> I am using the command hpvmmodify but can not resolve the fault
what error are you getting ?

Regards,
Murali
Let There Be Rock - AC/DC
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

hpvmmodify-p 1-a disk: avio_stor: 0,0,1: disk: / dev/rdsk/c35t2d3

| ERROR | SAPL909 | root | Conflicting Device has device address - bus 0, dev 0, func 0, target 1, lun 0.

hpvmmodify -p1 = SAPL909


Note: the hpvmstatus to send a few minutes ago the lun 001 is used by another disk.

I think that's the problem
P Muralidhar Kini
Honored Contributor
Solution

Re: problem by assigning AVIO disk

Hi Daniel,

From the output you have provided,

>>SINFRA94:/> hpvmstatus -p1
>>...
>> disk avio_stor 0 0 0 1 0 disk /dev/rdsk/c39t1d2

The combination of bus=0,dev=0,func=0,target=1,lun=0 is already allocated
to the device "/dev/rdsk/c39t1d2". Hence when you try to assing the same
values to a different device "/dev/rdsk/c35t2d3" using hpvmmodify, you
are getting the following error -
>> | ERROR | SAPL909 | root | Conflicting Device has device address
>> - bus 0, dev 0, func 0, target 1, lun 0.
This is the cause for the problem.

You need to give the hpvmmodify command for the device "/dev/rdsk/c35t2d3"
with its corresponding values for bus,dev,func,target,lun.
This should solve the problem.

Regards,
Murali
Let There Be Rock - AC/DC
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

yes, that's exactly what I need.
attempt to locate bus, dev, func, target and lun of the device wiht command gvsdmg, but the command does not host.

there is another way to locate the data disk?
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

How about a IOSCAN command to locate the disk.

Check the following link -
http://docs.hp.com/en/B2355-60130/ioscan.1M.html
-> This talks about the IOSCAN command and its options.

Regards,
Murali
Let There Be Rock - AC/DC
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

disk 204 0/0/4/1/0/4/1.20.36.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c35t2d3 /dev/rdsk/c35t2d3

I dont understand. which are the values?
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

The IOSCAN is giving the hardware path.
To map this to the Bus/Dev ... etc, refer the following link -
http://docs.hp.com/en/T2767-90179/ch08s17.html
-> section "Mapping AVIO Storage Devices on 11i v2 Guests"

The link also talks about the gvsdmgr utility.

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

in the case the path disk is:

disk 204 0/0/4/1/0/4/1.20.36.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c35t2d3 /dev/rdsk/c35t2d3

040 /dev/dsk/c35t2d3

this correct?
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

In the above link, they are mapping the output of # ioscan -fne
to Bus, Dev ...

What does the output of "#ioscan -fne" look like?

Regards,
Murali
Let There Be Rock - AC/DC
Chandrahasa s
Valued Contributor

Re: problem by assigning AVIO disk

disk avio_stor 0 0 0 1 0 disk /dev/rdsk/c39t1d2


is the disk which causes this problem

you logon to guest machine and find out this disk from ioscan output

this disk will be as like

c0t1d0

find out which vg have this disk

umount mount points which are comes under this

vgexport -p -m /tmp/vgname.map vgname

take details of all pvs whiech are comes under this vg

vgchange -a n vgname

vgexport

remove this from guest using hpvmmodify

add your new disk

trace disk in vmguest

add your old disk

trace out in guest

vgimport -v -m /tmp/vgname.map vgname pvs...

if it gives error
simply vgimport -v vgname pvs...

this will solve your problem

Chandra

Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

Chandrahasa, the problem is that not what the (Bus,Slot,Tgt) the disk in the host.
if I find such data correctly I can assign the disk to the VM guest.

disk in the host:
disk 204 0/0/4/1/0/4/1.20.36.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c35t2d3 /dev/rdsk/c35t2d3
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

The output you have provided looks different from what is mentionedin the link.
Provide the output of "#ioscan -fne". The above link talks about decoding this output.

Regards,
Murali
Let There Be Rock - AC/DC
P Muralidhar Kini
Honored Contributor

Re: problem by assigning AVIO disk

Hi Daniel,

Check the following link -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1268481814713+28353475&threadId=1257227

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Eli Daniel
Super Advisor

Re: problem by assigning AVIO disk

In the host
ioscan -fne
Acpi(HWP0002,PNP0A03,4)/Pci(1|0)/Pci(4|1)/Fibre(WWN5006048452A5B3B8,Lun4011000000000000)
disk 204 0/0/4/1/0/4/1.20.36.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c35t2d3 /dev/rdsk/c35t2d3
Chandrahasa s
Valued Contributor

Re: problem by assigning AVIO disk

This is the example where we can map host devices and hpvmstatus


# ioscan -m dsf /dev/rdsk/c0t6d1
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk22 /dev/rdsk/c0t6d1


# ioscan -m lun /dev/rdisk/disk22
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
disk 22 64000/0xfa00/0x1 esdisk CLAIMED DEVICE online HP Virtual Disk
0/0/2/0.0x16.0x0
/dev/disk/disk22 /dev/rdisk/disk22
/dev/disk/disk22_p1 /dev/rdisk/disk22_p1
/dev/disk/disk22_p2 /dev/rdisk/disk22_p2
/dev/disk/disk22_p3 /dev/rdisk/disk22_p3
An HP-UX 11iv3 Lun Path hardware path displayed by the ioscan utility can be mapped to
an hpvmstatus utility output as follows:
PciDev
| PCIFtn
| | Addr(Target Id)
PciBus | | | Lun
| | | | |
V V V V V
0/0/2/0.0x16.0x0
8.2.16 Guest


provide me

ioscan -m dsf /dev/rdsk/c35t2d3

ioscan -m lun /dev/rdisk/????

also

ioscan -m dsf /dev/rdsk/c39t1d2

ioscan -m lun /dev/rdisk/????


Chandra