Operating System - HP-UX
1752795 Members
6276 Online
108789 Solutions
New Discussion юеВ

Re: Error when starting Integrity VM guest, due to missing tape devcie

 
Danny Petterson - DK
Trusted Contributor

Error when starting Integrity VM guest, due to missing tape devcie

Hi Experts!

After a reboot of a Integrity VM host (11.31, update 6, VM 4.2), one of the guests could not start, as a shared tapedevice had changed its hardwarepath:

hpvmstart -P GUEST
hpvmstart: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
Copyright 2000 - 2010 Hewlett-Packard Development Company, L.P.
vsdAppConvertPathToDev: Lun path to Lun mapping failed for 0x5701 error = -1
Reading configuration failed
hpvmstart: ERROR (GUEST): Unable to start guest 'GUEST'.
hpvmstart: Unable to start guest 'GUEST'.
hpvmstart: Unable to continue.

....I then removed it, getting these similar errors:

hpvmmodify -P GUEST -d tape:avio_stor::attach_path:0/0/4/1/1.0x100000e002235d93.0x2000000000000
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.
hpvmmodify: ERROR (host): libIO error on function call 'io_get_mapping': System call error. on device 0/0/4/1/1.0x100000e002235d93.0x2000000000000.

It did, however, work, and I could start the guest again.

My questions:
Why can't the guest start, when it is just a missing tape-device? My initial response is, that this is not very smart, a standalone system would boot, even if it misses a tapedevice.

I removed it, and put in a new one with the right hardwarepath. However, if I just wanted to modify it, I am a bit unsecure on the syntax I would use - any help?

Thanks a lot for your time.

Greetings from
Danny Petterson
4 REPLIES 4
SUDHAKAR_18
Trusted Contributor

Re: Error when starting Integrity VM guest, due to missing tape devcie

hpvmstart -P GUEST -F

try to start the IVM guest forcefully.
Danny Petterson - DK
Trusted Contributor

Re: Error when starting Integrity VM guest, due to missing tape devcie

Hi!

Thanks for your reply.

Did try that, same error.

/Danny
SoorajCleris
Honored Contributor

Re: Error when starting Integrity VM guest, due to missing tape devcie

Hi,

You can use -F option with hpvmmodify while removing the tape drive.

-F
Suppresses all resource conflict checks and associated warning messages (force mode). Force mode is provided for scripts and other noninteractive applications. Note that you will receive no notification of potential resource problems for a virtual machine modified with the -F option.

Why it is not booted, even it was a tape drive, we need analyse the same. May Need logs and a deep analysis. I would suggest you to create a case with HP!!


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Bhadresh
Trusted Contributor

Re: Error when starting Integrity VM guest, due to missing tape devcie


>>> Why can't the guest start, when it is just a missing tape-device?
The hpvmstart command verifies that the starting virtual machine can be allocated all of the required resources defined by its configuration file. If not, the virtual machine is not started. In this case, tape device is missing hence guest is not starting.

As suggested by others, you can use -F option with hpvmstart command to skip all the resource checks. Please provide o/p of following commands:
#hpvmstatus -P GUEST
#hpvmstart -P GUEST -s

>>>I removed it, and put in a new one with the right hardwarepath. However, if I just wanted to modify it, I am a bit unsecure on the syntax I would use - any help?
You can use hpvmmodify command to modify the path.
i.e. Add different paths to each guest:
# hpvmmodify -P guest1 -a tape:avio_stor::attach_path:0/4/1/0.0x500104f0004732d9.0x0
# hpvmmodify -P guest2 -a tape:avio_stor::attach_path:0/4/1/1.0x500104f0004732d9.0x0
Note that the two lunpath hardware paths in the previous example are through two different initiators (0/4/1/0/ and 0/4/1/1/).

For more information, have a look at hpvmdevmgmt(1M).

Regards,
Bhadresh