Operating System - HP-UX
1752511 Members
5410 Online
108788 Solutions
New Discussion

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

 
SOLVED
Go to solution
gr8_lkr
Advisor

HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Hello experts,

 

I have a previuos post but do not seem to be getting anywhere with it.

Can some one please share some hpvm knowledge disk replaced and now shows DEVTYPE_FILE instead of DISK ???

> Is this a simple fix to just change somehow?  I will try almost anything ?

below is the output:

*hn-s-c2hp1 # hpvmdevmgmt -l gdev

lan0:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO::WWID_NULL

lan900:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO:vswSVR:WWID_NULL

vswSVR:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES::WWID_NULL

lan902:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO::WWID_NULL

vswVM:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES:hnssb02:WWID_NULL

lan904:CONFIG=gdev,EXIST=YES,DEVTYPE=NIC,SHARE=NO:vswVM:WWID_NULL

/dev/rdisk/disk2072:CONFIG=gdev,EXIST=YES,DEVTYPE=FILE,SHARE=NO:hnssb02:HPVM_STATID_13745_1073741827

/dev/rdisk/disk2307:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hnssb02:0x01.0x00.0x03.0x600508b4000cfd510000c0000b350000

5 REPLIES 5
Dave Olker
HPE Pro

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Hi,

 

First, should this be posted in the Virtualization section and not the LVM/VxVM section?

 

Second, can you post the output from the commands:

  • hpvmstatus -P hnssb02 -V
  • cat /var/opt/hpvm/guests/hnssb02/vmm_config.current

That way I can see how the host thinks this guest storage is configured.

 

Thanks,

 

Dave

 

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
gr8_lkr
Advisor

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Thank You for the response Dave,   I appologize if I posted in wrong forum section,.  Still finding my way arouund in here.

I really would appreciate any/all help even where I should be posting.

 

I will see if I can get the outputs immediately.

gr8_lkr
Advisor

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Dave, here are the output you recommended in attached.

if any issue opening let me know and I will correct.

thank You,

 

-Greg

Stan_M
HPE Pro
Solution

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Interesting. I have seen this happen with lvols (where HPVM is coded to default to file when we fail to get wwid

of the lvol device) but never with disk.

 

The procedure which should fix it:

hpvmdevmgmt -d gdev:/dev/rdisk/diskXY:depend:<guestname>

// repeat the above for all devices belonging to one guest that have incorrect DEVTYPE.

// this should remove the entries from the database

 

hpvmmodify -P <guestname> -e <same_entitlement_which_guest_already_has>

// the no-action modify recreates the entries in the database

 

hpvmdevmgmt -l gdev:/dev/rdisk/diskXY

// verify DEVTYPE=LV

I work for HPE
gr8_lkr
Advisor

Re: HPVM - hpvmdevmgmt -l gdev shows DEVTYPE=FILE

Stan,  Thank you for your time/knowledge and the RESOLUTION !!

this worked crazy good and noe we know this can happen with disks.

 

really appreciate this.

-Greg

 

hpvmdevmgmt -d gdev:/dev/rdisk/diskXY:depend:<guestname>

// repeat the above for all devices belonging to one guest that have incorrect DEVTYPE.

// this should remove the entries from the database

 

hpvmmodify -P <guestname> -e <same_entitlement_which_guest_already_has>

// the no-action modify recreates the entries in the database

 

hpvmdevmgmt -l gdev:/dev/rdisk/diskXY

// verify DEVTYPE=LV