- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Identifying Physical LUNs in an IVM
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
07-08-2009 08:41 AM
07-08-2009 08:41 AM
Identifying Physical LUNs in an IVM
On the host it is easy using scsimgr and grep'ing for "Serial number", but within the guest the Serial number has been virtualised and so there is no tie up between physical and virtual LUN. I need to know where the LUN has come from for mirroring reasons.
Can anyone suggest a way of achieving this?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 08:47 AM
07-08-2009 08:47 AM
Re: Identifying Physical LUNs in an IVM
This is a LVOL:
disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual
LvDisk
But thats it. For the guest it is just a SCSI or AVIO disk.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 08:57 AM
07-08-2009 08:57 AM
Re: Identifying Physical LUNs in an IVM
This suggests you are doing mirroring in the VM guest - you should always try to do that in the VM host or hardware... any particular reason you're trying to do it in the VM guest?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:00 AM
07-08-2009 09:00 AM
Re: Identifying Physical LUNs in an IVM
FROM GUEST:
# ioscan -fnCdisk
disk 5 0/2/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
FROM HOST:
hpvmstatus -P
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 2 0 0 0 0 disk /dev/rdisk/disk88
Check the hardware path, and do use xpinfo from the host to identify the physical LUN and detailed information of the array.
# xpinfo -d -l
/dev/rdisk/disk88,00,502,CL1A,4f:02,OPEN-V,40960,00075318,5001,004f,---,SMPL,SMPL,SMPL,SMPL,1,RAID5,1-2,R0001,R0101,R0201,R0301,XP24000,50060e8015263600,ef,00,---,0001263600004f02,---,---,---,---,50060b0000c26203,50060b0000c26202,---,---,---,---,/dev/rdsk/c13t0d2
But there is a way to keep track of this information, however I don't know how. :)
- I was talking to HP about keeping track of assigned LUN's from the Host, and an XP array. There is a was to insert some information on the XP array from the Host, as to which Guest the LUN's are assigned.
Maybe someone can share more about this ??
--
Johnny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:01 AM
07-08-2009 09:01 AM
Re: Identifying Physical LUNs in an IVM
On my IVMs, I did the mirroring on the host system and supplied raw logical volumes to the virtuals. I wasn't thinking of this scenario when I came up with that; however, it sure does fit the bill.
As you mention, the physical disks are virtualized so there shouldn't be any way to identify an actual disk serial number from within the guest directly.
What you might consider trying is somehow encoding the c/t/d numbers into the hpvmmodify command in a method similar to setting up the psuedo mac addresses for the virtual nics. Maybe there's something in the options you can set...
Hope that helps; I'd be curious to find out what you come up with.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:03 AM
07-08-2009 09:03 AM
Re: Identifying Physical LUNs in an IVM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:14 AM
07-08-2009 09:14 AM
Re: Identifying Physical LUNs in an IVM
On Torsten's last post.
Where I stared doing system administration there was an old fashioned paper notebook.
In it were printouts of system configuration, ioscan and such, to be there so we knew what was what in case we had no system.
Came in handy a number of times. Not every problem solution need be high tech.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:31 AM
07-08-2009 09:31 AM
Re: Identifying Physical LUNs in an IVM
>>Not every problem solution need be high tech.
Pfft! That's just crazy talk!
lol
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2009 09:49 AM
07-08-2009 09:49 AM
Re: Identifying Physical LUNs in an IVM
There are some guests on some hosts with some disks assigned and now the question is - where are the data disks?
The best way to avoid this is planning and documentation, IMHO. Even old-fashioned paper based ...
Do you know about change management? ;-))
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 02:32 PM
07-09-2009 02:32 PM
Re: Identifying Physical LUNs in an IVM
This is what I was refering to, in my prev. post.
http://docs.hp.com/en/B2355-60130/scsimgr.1M.html
It is called: "device identifiers" on XP storage, using the SCSI management and diagnostic utility.
To identify or lable a LUN, use the following command:
# scsimgr set_devid â guest_vme02â â D /dev/rdisk/diskXX
And to read the label again:
# scsimgr get_devid -D /dev/rdisk/diskXX
All of the above is set from the VM Host.
This feature needs to be enabled on the XP array, as you may get the following error if not enabled.
scsimgr: ERROR: LUN /dev/rdisk/disk26 does not support Device Identifier.
Hope this helps. :)
Good luck.
--
Johnny Damtoft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 02:36 PM
07-09-2009 02:36 PM
Re: Identifying Physical LUNs in an IVM
- I'll try again.
Hi,
This is what I was refering to, in my prev. post.
http://docs.hp.com/en/B2355-60130/scsimgr.1M.html
It is called: "device identifiers" on XP storage, using the SCSI management and diagnostic utility.
To identify or lable a LUN, use the following command:
# scsimgr set_devid "guest_vme02" -D /dev/rdisk/diskXX
And to read the label again:
# scsimgr get_devid -D /dev/rdisk/diskXX
All of the above is set from the VM Host.
This feature needs to be enabled on the XP array, as you may get the following error if not enabled.
scsimgr: ERROR: LUN /dev/rdisk/disk26 does not support Device Identifier.
Hope this helps. :)
Good luck.
--
Johnny Damtoft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 04:13 PM
07-09-2009 04:13 PM
Re: Identifying Physical LUNs in an IVM
The HP-UX IVM Guest will always RUN on the HP-UX Hosts Blade Server.
The LUN Coming from Storage always present on Hosts then in the Guest with this command.
#hpvmmodify â P vm00 -a disk:scsi::disk:/dev/rdsk/disk10
Exp:- vm00 is the Name of the Guest Server.
Then run the command #ioscan on the guest
server.Create the device file with command
#insf -e
For identifying the disk information on the Guest Server enter the command.
#hpvmstatus -P vm00 - Got the output like this.
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= ===========
Disk scsi 0 1 0 0 0 lv /dev/vg02/rlvol1
Disk scsi 0 1 0 1 0 lv /dev/vg04/rlvol1
Disk scsi 0 1 0 2 0 disk /dev/rdsk/c6t1d2
Tape scsi 0 1 0 6 0 attach /dev/rscsi/c5t0d2
And finally check the.
Disksize with complete disk information on Guest Server & Hosts Server
#diskinfo - It will so same size on both Guest & Hosts Server
For Example:- HP-UX IVM VMHOSTS is Physical Server & VMGUEST Server is the Virtual Server.
Any thing need to be do on the HP-UX VMHosts
Regards
Vinod Yadav