- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to map disk from VMserver to VMguest ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 08:56 AM
08-07-2008 08:56 AM
I'm having trouble mapping a drive from VM Server(hohp244) to a VMguest (hovm235)? How do you tell which disk drive on the server is which drive on the VMguest (hovm235)?
#############################
VM server :
HP-UX B.11.23 U ia64 hp server rx6600
++++++++
partial ioscan from VMserver hohp244
primary drives:
disk 10 0/7/1/0/4/0.10.0.0.0.0.5 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c1t0d5 /dev/dsk/c1t0d5s2 /dev/rdsk/c1t0d5 /dev/rdsk/c1t0d5s2
/dev/dsk/c1t0d5s1 /dev/dsk/c1t0d5s3 /dev/rdsk/c1t0d5s1 /dev/rdsk/c1t0d5s3
disk 12 0/7/1/0/4/0.10.0.0.0.0.6 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c1t0d6 /dev/dsk/c1t0d6s2 /dev/rdsk/c1t0d6 /dev/rdsk/c1t0d6s2
/dev/dsk/c1t0d6s1 /dev/dsk/c1t0d6s3 /dev/rdsk/c1t0d6s1 /dev/rdsk/c1t0d6s3
alt drives:
disk 9 0/7/1/0/4/0.10.1.0.0.0.5 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c3t0d5 /dev/dsk/c3t0d5s2 /dev/rdsk/c3t0d5 /dev/rdsk/c3t0d5s2
/dev/dsk/c3t0d5s1 /dev/dsk/c3t0d5s3 /dev/rdsk/c3t0d5s1 /dev/rdsk/c3t0d5s3
disk 11 0/7/1/0/4/0.10.1.0.0.0.6 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c3t0d6 /dev/dsk/c3t0d6s2 /dev/rdsk/c3t0d6 /dev/rdsk/c3t0d6s2
/dev/dsk/c3t0d6s1 /dev/dsk/c3t0d6s3 /dev/rdsk/c3t0d6s1 /dev/rdsk/c3t0d6s3
++++++++
Drives assigned to VMguest (hovm235)
root@hohp244[/root]
# hpvmstatus -Phovm235 -d | grep rdsk | awk -F: '{print $5}'
/dev/rdsk/c3t0d6
/dev/rdsk/c3t0d5
disk 9 0/7/1/0/4/0.10.1.0.0.0.5 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c3t0d5
disk 11 0/7/1/0/4/0.10.1.0.0.0.6 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c3t0d6
#############################
Info from VMguest (hovm235):
root@hovm235[/root]
# /etc/ioscan -nfC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
disk 2 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s3
root@hovm235[/root]
# /etc/ioscan -kC disk -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk4 /dev/rdsk/c0t1d0
/dev/rdisk/disk4_p1 /dev/rdsk/c0t1d0s1
/dev/rdisk/disk4_p2 /dev/rdsk/c0t1d0s2
/dev/rdisk/disk4_p3 /dev/rdsk/c0t1d0s3
/dev/rdisk/disk5 /dev/rdsk/c0t0d0
/dev/rdisk/disk5_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk5_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk5_p3 /dev/rdsk/c0t0d0s3
root@hovm235[/root]
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
Boot: stand on: /dev/disk/disk4_p2
Root: root on: /dev/disk/disk4_p2
Swap: swap on: /dev/disk/disk4_p2
Dump: swap on: /dev/disk/disk4_p2, 0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 09:31 AM
08-07-2008 09:31 AM
Re: How to map disk from VMserver to VMguest ?
Now I see "c3t0d5 & c3t0d6". Now do I map
these drive to "c0t0d0 & c0t1d0" on VMguest
hovm235?
root@hohp244[/root]
# hpvmdevmgmt -l gdev | grep 235
vswitch3:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES:hovm234,hovm235,hovm237:WWID_NULL
/dev/rdsk/c3t0d6:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hovm235:6005-08b4-0010-7a85-0000-e000-00a1-0000
/dev/rdsk/c3t0d5:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hovm235:6005-08b4-0010-7a85-0000-e000-004a-0000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 09:45 AM
08-07-2008 09:45 AM
Re: How to map disk from VMserver to VMguest ?
Other than that, use hpvmstatus -Vp
In the output you will get information something like the following:
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =======
disk scsi 0 1 0 0 0 file /var/vmdisks/vm1
disk scsi 0 1 0 2 0 disk /dev/rdsk/c4t10d0
Notice the Bus/Dev/Ftn/Tgt/Lun info.
In this case, if the guest OS were HP-UX, you would see two discs, /dev/dsk/c0t0d0 and /dev/dsk/c0t2d0
So use the hpvmstatus -Vp command, and work out your disk from there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 10:02 AM
08-07-2008 10:02 AM
Re: How to map disk from VMserver to VMguest ?
from the hpvmdevmgmt cmd the (2) drives have a unique ID :
"00a1-0000" & "004a-0000" ? is there a way to map this to "c0t0d0" or "c0t1d0" on hovm235?
#####################################
# hpvmdevmgmt -l gdev | grep 235
/dev/rdsk/c3t0d6:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hovm235:6005-08b4-0010-7a85-0000-e000-00a1-0000
/dev/rdsk/c3t0d5:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hovm235:6005-08b4-0010-7a85-0000-e000-004a-0000
#############################
Base-VXVM B.04.10.011 Base VERITAS Volume Manager Bundle 4.1 for HP-UX
GuestAVIOStor B.11.23.0803 HPVM Guest AVIO Storage Software
GuestAvioLan B.11.23.0712.01 HPVM Guest AVIO LAN Software
HostAVIOStor B.11.23.0803 HPVM Host AVIO Storage Software
HostAvioLan B.11.23.0712.02 HPVM Host AVIO LAN Software
T2767AC A.03.50 Integrity VM
VMGuestLib A.03.50 Integrity VM Guest Support Libraries
VMKernelSW A.03.50 Integrity VM Kernel Software
VMProvider A.03.50 WBEM Provider for Integrity VM
AVIO-GVSD B.11.23.0803 HPVM Guest AVIO Storage Software
AVIO-HVSD B.11.23.0803 HPVM Host AVIO Storage Software
HPVM A.03.50 Integrity VM HPVM
VMAGENT A.03.50 HP Resource Allocation Agent for Integrity VM
VMCONVERT A.03.50 Integrity VM Machine Conversion Tools
VMMIGRATE A.03.50 Integrity VM Migration Tools
VRTSvmdoc 4.1.010 VERITAS Volume Manager Documentation
VRTSvmpro 4.1.010 VERITAS Volume Manager Management Services Provider
VRTSvxvm 4.1.011 Base VERITAS Volume Manager 4.1 for HP-UX
vmGuestLib A.03.50 Integrity VM vmGuestLib
vmKernel A.03.50 Integrity VM vmKernel
vmProvider A.03.50 WBEM Provider for Integrity VM vmProvider
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2008 12:27 PM
08-07-2008 12:27 PM
Re: How to map disk from VMserver to VMguest ?
to VMguest disk :
####################
# hpvmstatus -VP hovm235|egrep "Ioscan format|Physical Device"
Ioscan format : 0/0/0/0.0.0
Physical Device : /dev/rdsk/c3t0d6
Ioscan format : 0/0/0/0.1.0
Physical Device : /dev/rdsk/c3t0d5
Ioscan format : 0/0/2/0
Physical Device : console
####################