Operating System - HP-UX
1752572 Members
4640 Online
108788 Solutions
New Discussion юеВ

Re: clone existing HP VM dsk file to LVOL

 
Eric SAUBIGNAC
Honored Contributor

Re: clone existing HP VM dsk file to LVOL

Oups !!! Where is my head ?

The proper command to boot in maintenance is :

boot vmunix -lm -is

It seems that you can also do it with "hpux -vm" but I have never tested this way
Stefan Brie_1
Advisor

Re: clone existing HP VM dsk file to LVOL

Eric,

Thanks again for your input.

1)There are no more inode errors
2)
hpvmstatus -P hpvm_omu_01:
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
hpvm_omu_01 15 HPUX On (EFI)

[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
======= ========
8 GB 64 MB

[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Minimum Target Maximum
Memory Memory Memory
=========== =========== ===========
512 MB 2048 MB 8192 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 lv /dev/vgsan01/rhpvm_omu_01

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan HPPUBLAN 2 0 1 0 2e-a0-b0-26-04-65

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


3) in the EFI shell, boot command is not supported, I can however execute fs0: and then hpux -vm, but that gives me the same result as in my previous post

Thx,
p'Trick
Eric SAUBIGNAC
Honored Contributor

Re: clone existing HP VM dsk file to LVOL

Bonjour p'Trick,

"in the EFI shell, boot command is not supported" ... yes, sorry, I didn't explain very well.

From EFI Shell :

fsX:>hpux

Then stop boot process. New prompt like "HPUX>". From this point command "boot vmunix -lm -is" is correct. I thought that you know those differences ... shame on me. Try it, but I am afraid that It will not be better.

In the new VM, the system disk in on bus 0, device 0 ... lun 0 :

disk scsi 0 0 0 0 0 lv /dev/vgsan01/rhpvm_omu_01

Could you check (hpvmstatus) that it was the same thing on the source VM with the

Question : with your first dd, where did you got the "obs=1024 seek=1" option ? Maybe it is mandatory. Tell us please

Eric