Migrating vg00 to new 2.2 on a bigger disk


 
Thread Tools Search this Thread
Operating Systems HP-UX Migrating vg00 to new 2.2 on a bigger disk
# 1  
Old 02-20-2014
Migrating vg00 to new 2.2 on a bigger disk

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

Code:
#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
Code:
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 Smilie
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

Code:
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

Code:
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

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SuSE

Problem migrating disk attached to the same vg (lvm)

Hi, I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace: pvmove -v "source_disk" "sink_disk" ... (0 Replies)
Discussion started by: Begnux
0 Replies

2. Shell Programming and Scripting

Compare fields and keep record with bigger ID?

How do you write a shell script to compare records with the same fields then keep the biggeer id number fields (field separate by a pipe) 1150| San Jose|8|15|7|2013-02-19 00:00:00.000|2013-02-20 00:00:00.000 1263|San Jose|8|15|7|2013-02-19 00:00:00.000|2013-02-20 00:00:00.000... (4 Replies)
Discussion started by: sabercats
4 Replies

3. Shell Programming and Scripting

Finding value bigger than zero in all columns

Hi everybody, I am a complete novice and please forgive if its answered gazillion times I have a file which looks like this 1 0 2 0 0 0 0 0 0 3 0 1 18 2 6 0 1 7 0 2 4 0 0 0 1 17 16 1 1 0 0 I have to add... (4 Replies)
Discussion started by: amits22
4 Replies

4. HP-UX

directory space bigger than lvol?

hi everybody, i know my question is maybe stupid, but see this sr597:#/ipos# du -ks 6994419 . sr597:#/ipos# bdf . Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 2097152 482448 1602192 23% / if i do du-ks its about 7gb, but it supposed due to the next... (0 Replies)
Discussion started by: pabloli150
0 Replies

5. Solaris

HDD cloned to a bigger one

Hello, I just cloned a 80 GB HDD(running Solaris 10) to an 320 GB HDD using g4u disk-to-disk method. Now Solaris is seeing may 320 GB HDD like 80 GB. Exactly like the old one. Could you tell me, please, how do I convince Solaris that my HDD is bigger? I would like to keep all slices as... (5 Replies)
Discussion started by: mirciulicai
5 Replies

6. Shell Programming and Scripting

finding files bigger than 2G

find /base/directory -size +2048M > /tmp/tempfile 1] is there an option to specify the size in Gb 2] the output lists files with size such as: 1152157 (doing ls -l so I guess it is in bytes) So I am missing something here because this file has a size below 2 Gb. Any hints?? thx. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

7. HP-UX

How to remove alternate boot disk (vg00) in mirror

How do we remove mirror (vg00) in itanium system having 11.23 version. (2 Replies)
Discussion started by: jeelans
2 Replies

8. UNIX for Dummies Questions & Answers

Iptables, samba for bigger LAN

Hey! Iam going to set up a bigger LAN.Server have 4 network adapters. -----------*0---------- | | | | ----*1-----*2-----*3- Network adapret *0 will be for DSL, *1 for like 30 computers windows xp installed on,*1 will have to... (1 Reply)
Discussion started by: net555
1 Replies
Login or Register to Ask a Question