Operating System - HP-UX
1834058 Members
2236 Online
110063 Solutions
New Discussion

Re: unable to boot clone created on lvol

 
richtl
Advisor

unable to boot clone created on lvol

Hi,

I am running HP-UX virtual guest running on IR volume and then created a new clone using this VM .
I have used lvol for the clonned vm :

#hpvmclone -P nodeA -N nodeB -b disk:scsi:0,1,0:lv:/dev/vg00_nodeB/rlvol1

Clonning completed without any errors, However i am getting errors while booting the clone.

Any ideas ?
7 REPLIES 7
Tim Nelson
Honored Contributor

Re: unable to boot clone created on lvol

Did you actually get a new lvol created then presented to your second VM ?

If not is it trying to use the same lvol that is locked onto the first VM ?

I have yet to find a reason / working use for hpvmclone. By the time you get all the items reconfigured you would have done the same number of steps required to create a fresh new VM.
Steven E. Protter
Exalted Contributor

Re: unable to boot clone created on lvol

Shalom,

Use dd to clone the whole disk.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
richtl
Advisor

Re: unable to boot clone created on lvol

Here is the storage portion of the vmm_config for the parent VM :
# Virtual Storage Devices
#
scsi_disk(0,1).0 = lv(/dev/vg00_nedunix7/rlvol1)
scsi_tape(0,1).1 = attach(/dev/rscsi/c12t0d1)
scsi_tape(0,1).2 = attach(/dev/rscsi/c12t0d2)
scsi_tape(0,1).3 = attach(/dev/rscsi/c1t1d0)


for dd i am not sure how should i proceed for the lv ?

any suggestions ?
richtl
Advisor

Re: unable to boot clone created on lvol

Here is the boot error messages for the cloned VM :


Loaded ACPI revision 2.0 tables.
NOTICE: cachefs_link(): File system was registered at index 4.
NOTICE: nfs3_link(): File system was registered at index 7.
NOTICE: mod_fs_reg: Cannot retrieve configured loading phase from KRS for module: cifs. Setting to load at IN
T

Boot device's HP-UX HW path is: 0/0/1/0.0.0
iether0: INITIALIZING HP PCI/PCI-X 1000Base-T at hardware path 0/0/0/0

System Console is on the Built-In Serial Interface
WARNING: Open failed on device 0x1f000002 (error 0x5).
WARNING: Can not read LVM BOOT information (lvmrec).
WARNING: Open failed on device 0x1f000002 (error 0x5).
WARNING: Can not read LVM BOOT information (lvmrec).
WCalling function e00000000105c700 for Shutdown State 8 type 0x2
richtl
Advisor

Re: unable to boot clone created on lvol

I am trying to do a dd of LV for the parent and clone VM :

dd if=/dev/vg00_nodeA/rlvol1 of=/dev/vg00_nodeB/rlvol1 bs=1024k
Eric SAUBIGNAC
Honored Contributor

Re: unable to boot clone created on lvol

Bonjour,

As Tim I can't find any reason to use hpvmclone. Anyway, some questions :

- I guess that /dev/vg00_nodeA/rlvol1 and /dev/vg00_nodeB/rlvol1 have same size ?

- You have posted virtual storage configuration of the source VM. Could you post the same for the cloned VM ?

- You say that you do a "dd" between /dev/vg00_nodeA/rlvol1 and /dev/vg00_nodeB/rlvol1. I can see that you have a unique virtual lv disk on the source VM which is /dev/vg00_nedunix7/rlvol1. I don't understand ? Is it the "system" disk and in this case why this "dd" from /dev/vg00_nodeA/rlvol1 ?

Eric
Mounaam
Trusted Contributor

Re: unable to boot clone created on lvol

Try to boot your VM guest in maintenance mode (-lm) and check info of your BDRA (lvlnboot).
Perhaps you'll need to rebuild it.