1752790 Members
6169 Online
108789 Solutions
New Discussion юеВ

Re: pvdisplay issue

 
SOLVED
Go to solution
maxell_1
Frequent Advisor

Re: pvdisplay issue

Hi,

1) "hpvmdisplay" is not a recognised command
2) Other output as below:

Thanks

*******************************************
# diskinfo -v /dev/rdisk/disk4
SCSI describe of /dev/rdisk/disk4:
vendor: HP
product id: Virtual LvDisk
type: direct access
size: 35840000 Kbytes
bytes per sector: 512
rev level: 0.04
blocks per disk: 71680000
ISO version: 0
ECMA version: 0
ANSI version: 4
removable media: no
response format: 2
(Additional inquiry bytes: (32)0 (33)0 (34)0 (35)0 (36)0 (37)0 (38)0 (39)0 (40)0 (41)0 (42)0 (43)0 (44)0 (45)0 (46)0 (47)0 (48)0 (49)0 (50)0 (51)0 (52)0 (53)2 (54)60 (55)3 (56)20 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 (91)0 (92)0 (93)0 (94)0 (95)0 (96)0 (97)0 (98)0 (99)0 (100)0 (101)0 (102)0 (103)0 (104)0 (105)0 (106)0 (107)0 (108)0 (109)0 (110)0 (111)0 (112)0 (113)0 (114)0 (115)0 (116)0 (117)0 (118)0 (119)0 (120)0 (121)0 (122)0 )
# scsimgr get_info -D /dev/rdisk/disk4

STATUS INFORMATION FOR LUN : /dev/rdisk/disk4

Generic Status Information

SCSI services internal state = ONLINE
Device type = Direct_Access
EVPD page 0x83 description code = 2
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 1
World Wide Identifier (WWID) = HP /dev/vg01/rlvsvr1g3_root
Serial number = 00000000000000-0000
Vendor id = HP
Product id = Virtual LvDisk
Product revision = 0.04
Other properties =
SPC protocol revision = 4
Open count (includes chr/blk/pass-thru/class) = 1
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 1
Active LUN paths = 1
Standby LUN paths = 0
Failed LUN paths = 0
Maximum I/O size allowed = 1048576
Preferred I/O size = 1048576
Outstanding I/Os = 0
I/O load balance policy = round_robin
Path fail threshold time period = 0
Transient time period = 60
Tracing buffer size = 1024
LUN Path used when policy is path_lockdown = NA
LUN access type = NA
Asymmetric logical unit access supported = No
Asymmetric states supported = NA
Preferred paths reported by device = No
Preferred LUN paths = 0

Driver esdisk Status Information :

Capacity in number of blocks = 71680000
Block size in bytes = 512
Number of active IOs = 0
Special properties =
Maximum number of IO retries = 45
IO transfer timeout in secs = 30
FORMAT command timeout in secs = 86400
START UNIT command timeout in secs = 60
Timeout in secs before starting failing IO = 120
IO infinite retries = false
*******************************************
Kapil Jha
Honored Contributor

Re: pvdisplay issue

Was this disk replaced some time back?
I think it was replaced or smthing and its not attached to any VG.
You will have to add the disk in vg then pvdisplay would give an output.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: pvdisplay issue

1) "hpvmdisplay" is not a recognised command


This needs to be run on the HPVM host, not the guest!

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!   
maxell_1
Frequent Advisor

Re: pvdisplay issue

Ok geeks,

Beginning to see some light now.

1) Yes it is a VM guest.

2) Output of "strings /etc/lvmtab"
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk2_p2

3) Output of "ioscan -fnNC disk"
# ioscan -fnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 4 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/disk/disk4 /dev/rdisk/disk4
/dev/disk/disk4_p1 /dev/rdisk/disk4_p1
/dev/disk/disk4_p2 /dev/rdisk/disk4_p2
/dev/disk/disk4_p3 /dev/rdisk/disk4_p3

4) You can see that the device filename is not the same between the output in 2 and 3.

I think once the device mappings are right, things would be fine. Any help to sync the device filename?

Thanks
Kapil Jha
Honored Contributor

Re: pvdisplay issue

Ok
so what does
#hpvmstatus -P vm_name -v
shows, does it shows one disk or 2.
If 2 try running insf on this VM

2>check from which disk your server booted.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: pvdisplay issue

And try to mmv lvmtab
and run vgscan

What about
pvdisplay /dev/disk/disk4_p2
BR,
Kapil
I am in this small bowl, I wane see the real world......
maxell_1
Frequent Advisor

Re: pvdisplay issue

This is the output run from the VM host.
svr1g2 is the vm guest having this problem.

*****************************************

# hpvmstatus -P svr1g2 -v
Version B.04.00.00
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
svr1g2 19 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
======= ========
2 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/vg01/rlvsvr1g2_root

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch avio_lan vsw0 2 0 1 0 ba-5d-3d-88-7e-13

[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
#
*****************************************
Torsten.
Acclaimed Contributor
Solution

Re: pvdisplay issue

Because of this disk2 vs. disk4 problem, I would start with LVM maintenance mode and vgexport/vgimport vg00.

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!   
Kapil Jha
Honored Contributor

Re: pvdisplay issue

And you have got only one disk only assigned to VM.

So this is the only disk you have....

BR,
Kapil+
I am in this small bowl, I wane see the real world......
maxell_1
Frequent Advisor

Re: pvdisplay issue

thanks all.

Ive managed to resolve the issue by going to VM maintenance mode and perform the VG manipulations:

************************************
vgchange -a n vg00
vgexport -m /tmp/vg00.map /dev/vg00
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0x010000
vgimport -m /tmp/vg00.map /dev/vg00 /dev/disk/disk4_p2
vgchange -a y vg00
lvlnboot -R
vgdisplay
reboot
************************************

Thanks to All for your help ;)