System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

hpvm map virtual disks to physical disks

 
Jo Davis
Advisor

hpvm map virtual disks to physical disks

How can I tell which virtual disk is the physical disk?
i.e.
virtual disks on virtual server are:
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 5 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk5 /dev/rdisk/disk5
disk 6 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk6 /dev/rdisk/disk6
disk 7 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk7 /dev/rdisk/disk7
disk 8 64000/0xfa00/0x3 esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk8 /dev/disk/disk8_p3 /dev/rdisk/disk8_p2
/dev/disk/disk8_p1 /dev/rdisk/disk8 /dev/rdisk/disk8_p3
/dev/disk/disk8_p2 /dev/rdisk/disk8_p1
disk 9 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk9 /dev/rdisk/disk9
disk 11 64000/0xfa00/0xb esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk11 /dev/rdisk/disk11
disk 12 64000/0xfa00/0xf esdisk CLAIMED DEVICE HP Virtual Disk
/dev/disk/disk12 /dev/rdisk/disk12


On the Host machine, the following disks are assigned to the virtual machine:
[Storage Interface Details]
disk:avio_stor:0,1,0:disk:/dev/rdisk/disk302
disk:avio_stor:0,1,1:disk:/dev/rdisk/disk303
disk:avio_stor:0,1,2:disk:/dev/rdisk/disk304
disk:avio_stor:0,1,3:disk:/dev/rdisk/disk305
disk:avio_stor:0,1,4:disk:/dev/rdisk/disk307
disk:avio_stor:0,1,5:disk:/dev/rdisk/disk306
disk:avio_stor:0,1,6:disk:/dev/rdisk/disk158

How do I map the physical disk to the specific virtual disk on the virtual guest?
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: hpvm map virtual disks to physical disks

Shalom,

The information on the guest is not based on actual access to the hardware.

ioscan -m dsf

On the host will help demystify this all.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jo Davis
Advisor

Re: hpvm map virtual disks to physical disks

Thanks but I did figure out that if I use ioscan -m lun on the virtual guest it will give me the target id for each disk which I can then map to the target id from the device portion of the hpvmstatus command.
Jo Davis
Advisor

Re: hpvm map virtual disks to physical disks

.
Torsten.
Acclaimed Contributor

Re: hpvm map virtual disks to physical disks

Consider to map this information

disk:avio_stor:0,1,0:disk:/dev/rdisk/disk302

together with

ioscan -m dsf

and

ioscan -fn

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!