Operating System - HP-UX
1754244 Members
3327 Online
108812 Solutions
New Discussion юеВ

Problem adding lvdisks to an IVM guest

 
Tricia Sambrano
Frequent Advisor

Problem adding lvdisks to an IVM guest

We are having a problem at a client getting a VM guest to recognize the lvdisks we assigned to it. I don't have access to their system so I cannot get screen shots until morning.

IVM version 3.0
rx6600
lvdisks are off of an EVA8100
Guests are 11.23
2 guests each with 2 vdisks, one vswitch
Guest1 has 7 lvdisks
Guest2 has 4 lvdisks

On the first guest, all is fine and all vdisks and lvdisks show up properly.

On the second guest, the hpvmstatus reports that the lvdisks (4 of them) are assigned but from the guest OS only 1 shows up in the ioscan.

The guest has been restarted multiple times.

We even added the virtual DVD in the hopes of 'kicking' it but although the dvd showed up in the ioscan of the guest, no new lvdisks did.

Any ideas?
UNIX IS user friendly... it's just selective about who its friends are. -Fabio Esquivel
10 REPLIES 10
Torsten.
Acclaimed Contributor

Re: Problem adding lvdisks to an IVM guest

I would suggest to provide more details first (vgdisplay from HPVMhost; hpvmstatus with all details for this HPVM).

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!   
melvyn burnard
Honored Contributor

Re: Problem adding lvdisks to an IVM guest

How are you presenting the backing store to the guest?
Did you use the LUN's from the EVA to create a VG or DG, and then present a logical volume to the guest?
How does it look on the Host?
Are you able to read and write to the backing store from the Host?
I have seen something like ths before when using an EVA with HP Integrity Virtual Machines, I cannot remember how we cure dit, but I think th eVdisks were destrotyed then recreated, and re-presented to the guest.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: Problem adding lvdisks to an IVM guest

Out of interest, if you delete these backing stores from the second VM, and present them to the first VM, does the OS in the first VM see the disks correctly?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ramesh S
Esteemed Contributor

Re: Problem adding lvdisks to an IVM guest

Hi

You have mentioned, out 4 lvdisks 1 is showing...

How did you present rest 3 lvdisks to guest2? as a "SCSI" or "avio_stor" device?

If you post hpvmstatus,ioscan output here, that would easy to spot the issue...

Best Regards,
Ramesh S
melvyn burnard
Honored Contributor

Re: Problem adding lvdisks to an IVM guest

Ramesh, they are NOT using VM 3.5, but 3.0, so avio_stor is not available to be used.

Tricia
Please do hpvmstatus -V -P for each VM an dpost it as an attachment to your reply.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Tricia Sambrano
Frequent Advisor

Re: Problem adding lvdisks to an IVM guest

As soon as I can get over there I will post the hpvmstatus, etc... tahnsk for the interest.

The lvdisks are presented as lvols from a volume group created on the host.

I think it is a good idea to try to present one of the lvols to the other vm except that that vm needs to stay up so if I can't unpresent it from the first, I am stuck.

Thanks. I will post the info as soon as I can.
UNIX IS user friendly... it's just selective about who its friends are. -Fabio Esquivel
Tricia Sambrano
Frequent Advisor

Re: Problem adding lvdisks to an IVM guest

********************************************
VM2 Information:

[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
vm2 7 HPUX On (OS)

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

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

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

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 disk /dev/rdsk/c12t2d0
disk scsi 0 0 0 1 0 disk /dev/rdsk/c12t3d0
disk scsi 0 0 0 2 0 lv /dev/vgadmin_vm2/rlvol01
dvd scsi 0 0 0 3 0 disk /dev/rdsk/c0t0d0
disk scsi 0 0 0 4 0 lv /dev/vgdata1_vm2/rlvol01
disk scsi 0 0 0 5 0 lv /dev/vg01_vm2/rlvol01
disk scsi 0 2 0 1 0 lv /dev/vgapp_vm2/rlvol01

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vsw1 1 0 1 0 a6-d5-d5-46-ca-d9

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

# ioscan -funCdisk

Class I H/W Path Driver S/W State H/W Type Description

=======================================================================

disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual Disk

/dev/cdrom /dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2

/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rcdrom /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3

disk 1 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

disk 2 0/0/0/0.3.0 sdisk CLAIMED DEVICE HP Virtual DVD

/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0

disk 3 0/0/0/0.4.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0



********************************************
VM1 Information:

[Virtual Machine Details]

Virtual Machine Name VM # OS Type State

==================== ===== ======= ========

vm1 3 HPUX On (OS)



[Authorized Administrators]

Oper Groups:

Admin Groups:

Oper Users:

Admin Users:



[Virtual CPU Details]

#vCPUs Entitlement Maximum

====== =========== =======

1 10.0% 100.0%



[Memory Details]

Total Reserved

Memory Memory

======= ========

6 GB 64 MB



[Storage Interface Details]

Guest Physical

Device Adaptor Bus Dev Ftn Tgt Lun Storage Device

======= ========== === === === === === ========= =========================

disk scsi 0 1 0 0 0 disk /dev/rdsk/c12t4d0

disk scsi 0 1 0 1 0 disk /dev/rdsk/c12t5d0

disk scsi 0 2 0 6 0 lv /dev/vg01_vm1/rlvol01

disk scsi 0 2 0 7 0 lv /dev/vgadmin_vm1/rlvol01

disk scsi 0 2 0 8 0 lv /dev/vgapp_as_vm1/rlvol01

disk scsi 0 4 0 2 0 lv /dev/vgapp10_vm1/rlvol01

disk scsi 0 4 0 4 0 lv /dev/vgdata1_vm1/rlvol01

disk scsi 0 4 0 5 0 lv /dev/vgdata2_vm1/rlvol01



[Network Interface Details]

Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address

========= ========== ========== ======= === === === =================

vswitch lan vsw6 1 0 0 0 d2-7f-48-40-71-9d



[Misc Interface Details]

Guest Physical

Device Adaptor Bus Dev Ftn Tgt Lun Storage Device

======= ========== === === === === === ========= =========================

serial com1 tty console

# ioscan -funCdisk

Class I H/W Path Driver S/W State H/W Type Description

=======================================================================

disk 29 0/0/1/0.0.0 sdisk CLAIMED DEVICE HP Virtual Disk

/dev/cdrom /dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2

/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rcdrom /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3

disk 30 0/0/1/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

disk 68 0/0/2/0.6.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c13t6d0 /dev/rdsk/c13t6d0

disk 78 0/0/2/0.7.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c13t7d0 /dev/rdsk/c13t7d0

disk 79 0/0/2/0.8.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c13t8d0 /dev/rdsk/c13t8d0

disk 75 0/0/4/0.2.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c14t2d0 /dev/rdsk/c14t2d0

disk 66 0/0/4/0.4.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c14t4d0 /dev/rdsk/c14t4d0

disk 67 0/0/4/0.5.0 sdisk CLAIMED DEVICE HP Virtual LvDisk

/dev/dsk/c14t5d0 /dev/rdsk/c14t5d0

UNIX IS user friendly... it's just selective about who its friends are. -Fabio Esquivel
Tricia Sambrano
Frequent Advisor

Re: Problem adding lvdisks to an IVM guest

So... the answer is...

At some point in troubleshooting this, with creating, removing, presenting, deleting, recreating, etc someone forgot to lvextend the logical volumes the last time so all three were 0MB.

Here is the error from the /var/opt/hpvm/... log (ran an hpvmcollect for the Response Center).

7 ScsiDiskOpen: Open Error on Guest 2: Bus 0, Dev 0, Tgt 2
7 Backing store has insufficient capacity
7 for a disk (512 byte min) or dvd (2048 byte min).

7 ScsiDiskOpen: Open Error on Guest 2: Bus 0, Dev 0, Tgt 5
7 Backing store has insufficient capacity
7 for a disk (512 byte min) or dvd (2048 byte min).

7 ScsiDiskOpen: Open Error on Guest 2: Bus 0, Dev 2, Tgt 1
7 Backing store has insufficient capacity
7 for a disk (512 byte min) or dvd (2048 byte min).


We extended the logical volumes, ran an ioscan on the guest and all was well.

Thanks again for being so willing to help!!!

Trish

UNIX IS user friendly... it's just selective about who its friends are. -Fabio Esquivel
Tricia Sambrano
Frequent Advisor

Re: Problem adding lvdisks to an IVM guest

The logical volumes were of 0 size.
UNIX IS user friendly... it's just selective about who its friends are. -Fabio Esquivel