My project: i want to migrate from a vg00(actual 75GB disk) to a new vg01 (300GB disk),hpux is 11.31 on itanium efi system.
vg00 is disk0
vg01 is disk8
I did this
#check disk dimension
diskinfo -b /dev/rdisk/disk0_p2 | awk '{print $1/1024}'
#create a part file
vi /tmp/partition
3
EFI 500MB
HPUX 100%
HPSP 400MB
#efi partition on new disk
idisk -f /tmp/partui -w /dev/rdisk/disk8
insf -e
pvcreate -B /dev/rdisk/disk8_p2
#make bootable
mkboot -e -l /dev/disk/disk8
echo 'boot vmunix -lq' > /tmp/AUTO
efi_cp -d /dev/disk/disk8_p1 /tmp/AUTO EFI/HPUX/AUTO
and now the vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 128 0x010000
vgcreate -V 2.2 -S 280g -s 32m vg01 /dev/disk/disk8_p2
#create volumes 3 contiguos
lvcreate -L DIMENSIONEMEGA -C y -n lvol1 /dev/vg01
lvcreate -L DIMENSIONEMEGA -C y -n lvol2 /dev/vg01
lvcreate -L DIMENSIONEMEGA -C y -n lvol3 /dev/vg01
#other volumes
lvcreate -L DIMENSIONEMEGA -C y -n lvol4 /dev/vg01
lvcreate -L DIMENSIONEMEGA -C y -n lvol5 /dev/vg01
#boot volumes
lvlnboot -b /dev/vg01/lvol1
lvlnboot -s /dev/vg01/lvol2
lvlnboot -d /dev/vg01/lvol2
lvlnboot -r /dev/vg01/lvol3
lvlnboot -R
After this i have mount the new vg01volumes
create ok lvol1 with hfs and others with vxfs
And i put my backups(cpio)
on the new root.
After this i boot from vg01 and..kernel panic
I can boot of course from old vg00
Won't boot in any mode,i have try -lq and -lm
nothing happens
What i miss?
Thanks
---------- Post updated at 06:48 PM ---------- Previous update was at 06:37 PM ----------
I see something strange
strings /etc/lvmtab
/dev/vg00
#tmRW
/dev/disk/disk0_p2
vg01 not appear
---------- Post updated 20-02-14 at 12:36 PM ---------- Previous update was 19-02-14 at 06:48 PM ----------
Here the error messages
Console is on Serial Device - via PCDP
Booting kernel...
Loaded ACPI revision 2.0 tables.
Using /stand/ext_ioconfig
Memory Class Setup
-------------------------------------------------------------------------
Class Physmem Lockmem Swapmem
-------------------------------------------------------------------------
System : 11668 MB 11668 MB 11668 MB
Kernel : 11668 MB 11668 MB 11668 MB
User : 10736 MB 10480 MB 10521 MB
-------------------------------------------------------------------------
ktracer is off until requested.
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init(): kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
Boot device's HP-UX HW path is: 0/1/1/0.0x1.0x0
iether0: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/0
iether1: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/1
System Console is on the Built-In Serial Interface
AF_INET socket/streams output daemon running, pid 50
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM : Failure in attaching PV (dev=0x100000e) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing
LVM: Scanning for Root VG PVs (VGID 0x1223746d 0x53062528)
LVM: Rootvgscan detected 1 PV(s). Will attempt root VG activation using
LVM: Root VG activated
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x10002; start = 0, size = 8388608
execve("/sbin/sh") failed, errno 0x00000002
execve("/bin/sh") failed, errno 0x00000002
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix: B.11.31_LR FLAVOR=perf proc_init icode: execve("/sbin/init") failed, errno 0x00000002
proc_
Stored message buffer up to system crash:
MFS is defined: base= 0xe000000102609000 size= 57244 KB
Loaded ACPI revision 2.0 tables.
MMIO on this platform supports Write Coalescing.
MCA recovery subsystem disabled, not supported on this platform.
Using /stand/ext_ioconfig
vmm_cdio: changing RID width from 24 to 18
Memory Class Setup
-------------------------------------------------------------------------
Class Physmem Lockmem Swapmem
-------------------------------------------------------------------------
System : 11668 MB 11668 MB 11668 MB
Kernel : 11668 MB 11668 MB 11668 MB
User : 10736 MB 10480 MB 10521 MB
-------------------------------------------------------------------------
ktracer is off until requested.
Installing Socket Protocol families AF_INET and AF_INET6
64000/0xfa00 esvroot
64000/0x2 iscsi
64000/0x2/0x0 isvctlr
Kernel EVM initialized
64000/0x0 mass_storage
64000/0x0/0x0 usb_ms_scsi
sec_init(): kernel RPC authentication/security initialization.
secgss_init(): kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
btlan_load() Loaded Successfully
0 sba
0/0 lba
0/0/1/0 hcd
0/0/1/1 hcd
0/0/1/2 ehci
0/0/2/0 side_multi
0/0/2/0.0 side
0/0/2/0.1 side
0/0/2/0.0.0x0 estp
0/1 lba
Initializing the Ultra320 SCSI Controller at 0/1/1/0. Controller firmware version is 01.03.35.70
0/1/1/0 mpt
Initializing the Ultra320 SCSI Controller at 0/1/1/1. Controller firmware version is 01.03.35.70
0/1/1/1 mpt
0/1/2/0 iether
0/1/2/1 iether
0/2 lba
0/2/1 pci_slot
0/3 lba
0/3/1 pci_slot
0/4 lba
0/4/1 pci_slot
0/5 lba
0/5/1 pci_slot
0/6 lba
0/1/1/0.0x0 estp
0/1/1/0.0x1 estp
0/1/1/0.0x0.0x0 eslpt
0/1/1/0.0x1.0x0 eslpt
0/1/1/0.0 tgt
0/1/1/0.0.0 sdisk
0/1/1/0.1 tgt
0/1/1/0.1.0 sdisk
0/1/1/1.0x2 estp
0/1/1/1.0x2.0x0 eslpt
0/1/1/1.2 tgt
0/1/1/1.2.0 sdisk
0/6/1/0 asio0
0/0/2/0.0.0x0.0x0 eslpt
0/0/2/0.0.0 tgt
0/0/2/0.0.0.0 sdisk
0/6/1/1 asio0
0/6/2/0 gvid_core
120 processor
121 processor
250 pdh
250/0 ipmi
250/1 asio0
250/2 asio0
250/3 acpi_node
255/1 mass_storage
255/1/0 usb_ms_scsi
255/0 iscsi
64000/0xfa00/0x0 esdisk
64000/0xfa00/0x1 esdisk
64000/0xfa00/0xa esdisk
64000/0xfa00/0xd esdisk
Boot device's HP-UX HW path is: 0/1/1/0.0x1.0x0
iether0: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/0
iether1: INITIALIZING HP PCI-X 1000Base-T Dual-port Built-in at hardware path 0/1/2/1
System Console is on the Built-In Serial Interface
AF_INET socket/streams output daemon running, pid 50
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM : Failure in attaching PV (dev=0x100000e) to the root volume group.
The physical volume does not exist, or is not configured in the kernel
LVM : Activation of root volume group failed
Quorum not present, or some physical volume(s) are missing
LVM: Scanning for Root VG PVs (VGID 0x1223746d 0x53062528)
LVM: Rootvgscan detected 1 PV(s). Will attempt root VG activation using
LVM: Root VG activated
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x10002; start = 0, size = 8388608
Dump device table: (start & size given in 1-Kbyte blocks)
entry 0000000000000000 - major is 1, minor is 0xa; start = 4004704, size = 4194304
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix: B.11.31_LR FLAVOR=perf init died with return value 256.
Please check for init's execute permission,
init's location and the root partition's location.
Message buffer contents after system crash:
panic: init died
Stack Trace:
IP Function Name
0xe0000000009b04e0 $cold_rexit+0x370
0xe000000001000990 syscall+0x5a0
End of Stack Trace
linkstamp: Mon Jan 20 13:14:40 MET 2014
_release_version: @(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf
Calling function e0000000019bb460 for Shutdown State 1 type 0x2
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function e000000172b9e3a0 for Shutdown State 9 type 0x2
Calling function e000000172b9e3a0 for Shutdown State 9 type 0x2
i 0 pfn 0x1 pages 0x9f
i 1 pfn 0x100 pages 0x3e776
i 2 pfn 0x3eb8e pages 0x2ec
i 3 pfn 0x3fc00 pages 0x22a
i 4 pfn 0x100000 pages 0x1ffffe
i 5 pfn 0x4040000 pages 0xbeffe
i 6 pfn 0x40ff000 pages 0xcac
i 7 pfn 0x40ffd16 pages 0xf0
i 8 pfn 0x40ffe80 pages 0x160
*** Not enough CPUS for a compressed dump ***
*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparing to dump physical memory to disk, for use
*** in debugging the crash.
*** The dump will be a SELECTIVE dump with
compression OFF and concurrency ON: 1313 of 12269 megabytes.
*** To change this dump type, press any key within 10 seconds.
*** Proceeding with selective dump, with compression off and concurrency on.
Primary Dump Header Location :
Device details:
Major number: 0x1f Minor number: 0x21000
Offset: 4004704.
*** The dump may be aborted at any time by pressing ESC.
*** Dumping: 100% complete (1313 of 1313 MB)
time: 50 seconds, Number of Dump units: 1