Sponsored Content
Full Discussion: fail to boot HPUX
Operating Systems HP-UX fail to boot HPUX Post 302569411 by ckwan on Monday 31st of October 2011 08:25:29 AM
Old 10-31-2011
Sorry for the inconvenience caused. I re-post the question as following

Attempt 1 -- To boot from normal (primary)

Unable to boot - system complains failure
SYSTEM ALERT System Name : uninitialized DATE : 10/22/2011 Time : 03/41:12 Alert Level 15 = Fatal hardware or configuration problem prevents operation Reason for alert source : 8 = I/O Source Detail : 6 = disk Source ID :0 Problem Detail : 3 functional failure



Attempt 2 -- To boot from alternate disk
Booted and go to ISL prompt and try to startup in single user hpux -is
Error display complain on the Exec Failed and couldn't find the /stand/vmunix or /vmunix



Attempt 3 -- To boot from Recovery Tape
Able to boot by select recover shell (including loadfile vgcreate vgchange lvlnboot ...)
also frecover some LVM files from fbakcup tape and all the /etc/lvmtab /etc/fstab and /etc/mnttab
successfully loaded

When try to create the vg00, following error happen

lvlnboot -v
lvlnboot : Warning Can not determine all plysical volumes on which mirrores copes of the logical volume are located:
"/etc/lvmtab" is missing Physical Volumes.
Boot definitions for Volume Group /dev/vg00
Physical Volumes beloing in Root Volume Group :
/dev/dsk/c1t0d0 (0/0/1/1.0.0) -- Boot Disk
Unable to query the I/O interface : Parameter error
lnlnboot : unable to print reliable information

pvdisplay /dev/dsk/c1t0d0

-- Physical volumes --

PV Name /dev/dsk/c1t0d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
CUR LV 8
PE Size (MBytes) 4
Total PE 4340
Free PE 18
Allocated PE 4322
Stale PE 0
IO Timeout (seconds) default

lvdisplay -v /dev/vg00/lvol1
-- Logical volumes ---

LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule Parallel
LV Size (MBytes) 512
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad Block off
Allocation strict/contigous
IO Timeout (Seconds) default

----- Distribution of logical volume ----

PV Name LE on PV PE on LV
/dev/dsk/c1t0d0 128 128

Logical extents --

LE PV1 PE1 Status PV2 PE2 Status 2
00000 ??? 000000 stale /dev/dsk/c1t0d0 00000 current
..


:: Status with stale means the harddisk has problem to access

This is one of the step require to bring vg00, without the vg00 activated successful,
it is not possible to mount all others filesystems like /var /backup.


***************************************************************
Question is if I do not want to replace the faulty disk, I am thinking just break the mirror
and re-install the system backup (fbakcup) from tape.

Anyone has the comprehensive steps so that I can restore back all from tape? Sorry
this is the new comer for this hpux installation and recovery. Appreciate your sharing.

Thanks.
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 9 install cd boot fail

Hi I hv try to install Solaris 9 on a SPARC machine. The machine now is with Solaris 10 OS. I try to load a Solaris 9 installation cd in and use "boot cdrom" on ok promt, but it give me "no boot device found" when it boot up. and when i use fsck, the system show me an error with the... (2 Replies)
Discussion started by: niuniu
2 Replies

2. Solaris

Solaris 10 x86 1/06 CD1 boot fail

Hello all. I download last version from sun.com, unzip iso's and burn their to cd's. When i try to load (on different machines) from first cd i receive this errors: /kernel/fs/specfs: undefined symbol '' /kernel/fs/specfs: undefined symbol '' ... several screens same message ....... (1 Reply)
Discussion started by: mozheyko_d
1 Replies

3. Solaris

Fail to up network interface after system boot

Hi! I have Sun SPARC Enterprise T5140 with Solaris 10 and it unable to up network interface after boot, but after issuing ifconfig interface begins to work... svcs -xv says that service svc:/network/physical:default is failed to start and service log stores something like "service method... (5 Replies)
Discussion started by: Sapfeer
5 Replies

4. BSD

kernel fail to boot after recompile it

Salamo Alikom after recompilation my kernel does not boot and display msg said : enter full path to bash : /bin/sh i try fsck -r ,fsck -y but the problem is steel . my make.conf : PERL_VER=5.8.8 OVERRIDE_LINUX_BASE_PORT=f8 PERL_VERSION=5.8.8 MODULES_OVERRIDE = linux acpi accf_http pccard msdosfs... (1 Reply)
Discussion started by: SIFE
1 Replies

5. HP-UX

hpux 11.31 vgimport fail

i'm trying to vgimport the map file from vgexport -p -v -s -m to fail over node (adoptive node in service guard). root@noe04:/etc/cmcluster/icasprd$ vgimport -s -m gicasprd.110810.map /dev/vgicasprd vgimport: Volume group "/dev/vgicasprd" already exists in the "/etc/lvmtab" file. the... (2 Replies)
Discussion started by: lamoul
2 Replies

6. HP-UX

HPUX 11.31 vgextend fail

Hi, when i try to add new disk, it's an XP disk from SAN (lun) to the volume group, it fails because "TOO MANY LINKS" :/etc/cmcluster/icastst$ vgextend /dev/vgicastst /dev/disk/disk684 Current path "/dev/dsk/c51t8d3" is an alternate link, skip. Current path "/dev/dsk/c51t8d4" is an... (2 Replies)
Discussion started by: lamoul
2 Replies

7. Red Hat

RHEL6 Diskless Remote boot fail

Hi guys, I've been trying to set up a server for disk-less booting of remote machines on a network. The server host OS is RHEL6 and I have configured dhcp, tftp and nfs services which are proven to be working since I am able to install RHEL6 through pxe boot. Now I want it to serve for disk-less... (0 Replies)
Discussion started by: aninmuk
0 Replies

8. HP-UX

HPUX Boot failure.

When I login to the live console of my server and go to the console, I am getting the below message Processor is booting from the first available device. To discontinue, press any key within 10 seconds. 10 seconds expired. Proceeding... Trying Primary Boot Path... (11 Replies)
Discussion started by: chacko193
11 Replies

9. Red Hat

System fail to boot

Hi im using centos 6.4 starting yesterday i have a strange issue that im unable to resolve. the system is booting to GRUB menu and the os is not starting. i tried to run a repair install and the message attached is what i get, what can cause this? thanks, (1 Reply)
Discussion started by: guy3145
1 Replies

10. Solaris

Serious problem to fail boot up

My current OS using the solaris 9 and find the reboot , it returns the message even i restore , and boot -s Hardware watchdog enabled Configuring ATM interfaces: NOTICE: VxVM not started configuring IPv4 interfaces: bge0 bge3 ce0 ce3. Hostname: devuardms01 mount: mount-point /usr does... (10 Replies)
Discussion started by: linux_user
10 Replies
vxres_lvmroot(1M)														 vxres_lvmroot(1M)

NAME
vxres_lvmroot - restore LVM root disk from Veritas Volume Manager root disk SYNOPSIS
vxres_lvmroot [-v] [-b] [-D] new_disk_da_name vxres_lvmroot [-v] [-b] [-D] [-p Pool_1,Pool_2,...] new_disk_da_name DESCRIPTION
The vxres_lvmroot command initializes the specified physical disks as a Logical Volume Manager (LVM) root disks under HP-UX. The resulting LVM root volume group is named vg## where ## is the first number starting at 00 that creates a unique LVM volume group name. The specified disks must have enough space to accommodate the total size of all of the volumes in the VxVM root disk group. The new LVM root volume group is then populated with volumes of the same size and type as the volumes from the existing VxVM root disk group. Volumes named rootvol, swapvol, standvol, usrvol, tmpvol, homevol, optvol and dumpvol on the VxVM root disk are replaced with the LVM standard volume names lvol3, lvol2, lvol1, lvol6, lvol5, lvol4, lvol8, and lvol2 respectively. The names of other volumes on the new root volume group are generated by determining the next available lvoln name for as many volumes as exist on the VxVM root disk group. As each LVM volume is made, the data from each VxVM volume is copied to the equivalent LVM volume. For volumes containing file systems, the copy is performed using the cpio command. For volumes that do not contain file systems, the data is copied using the dd command. To minimize disk arm movement, volume copies are performed serially in the foreground. To ensure that no data corruption has occurred during copying, the fsck command is run on each freshly populated file system. The second form of the vxres_lvmroot command shown in the SYNOPSIS section allows a multiple disk VxVM root disk group to be copied. This form of the command also supports striped volumes. The argument to the -p option is a comma-separated list of additional disks that are required to copy a multiple disk VxVM root disk group. Before commencing copying, vxres_lvmroot determines the number of disks that are required. If insufficient disks are specified, vxres_lvmroot displays how many disks are needed before exiting with an error. After all of the volumes have been copied, the mkboot command is run on the new disk to set it up as a bootable LVM disk under HP-UX. Once this is complete, the root and stand file systems on the new disk are temporarily mounted, and the following files updated to reflect the new environment: o /etc/fstab on the new root file system is updated to reflect the paths to the block device nodes that correspond to the LVM volumes. The old information about mounting VxVM volumes is preserved at the end of the file in comment lines. o /stand/bootconf is regenerated in the new stand file system. The contents of this file define the path of the block device node cor- responding to the new root disk together with an indication that it is an LVM boot disk, for example: l /dev/dsk/c1t5d0 OPTIONS
-b Invokes the setboot command to change the primary and alternate boot device settings. The primary boot device is set to the newly cloned LVM root disk. The alternate boot device is set to the original VxVM root disk. If the -v option is also specified, infor- mation on the setting of the primary and alternate boot devices is displayed. -D Uses the vxdump(1M) and vxrestore(1M) commands to copy VxFS file systems, and the dump(1M) and restore(1M) commands to copy HFS file systems. The default method of copying file systems is to use the find(1M) and cpio(1M) commands. However, if one or more of the file systems to be copied contain files with "holes" (that is, files that appear to be very large, but which are sparse and contain very little storage), this may exceed the capability of the target file system to copy the files using find and cpio. One symp- tom of this condition is to receive a "file system full" indication on the target file system while copying. (Whereas the find and cpio commands assume that a file's size correctly represents the storage required, the vxdump, vxrestore, dump and restore commands copy a sparse file as it appears in the source file system.) If a "file system full" condition is indicated for one of the target file systems, start vxres_lvmroot again with the -D option specified. Note: the vxdump, vxrestore, dump and restore commands are not well suited for running from a shell script. If you interrupt the script (for example, by pressing Ctrl-C), these commands prompt you to ask whether you really want to continue or abort. The out- put from the dump commands is verbose and so is redirected to a file. As this redirection would hide any continue/abort prompt, and make the program appear to hang, the interrupt signal is temporarily disabled while the copy is in progress (a message to this effect is displayed if the -v option is specified). -v Outputs verbose messages including a timestamp that indicates major operations being performed. Since copying the data on a root disk can take a considerable amount of time, this gives an indication of the progress being made. ARGUMENTS
new_disk_da_name Specifies the device name (disk access name) of the physical disk that is to become the LVM root disk. EXAMPLES
This example shows the vxres_lvmroot command invoked in its simplest form: /etc/vx/bin/vxres_lvmroot c5t1d0 This example shows the behavior of the vxres_lvmroot command when invoked with the -v (verbose) option: # /etc/vx/bin/vxres_lvmroot -v -b c5t13d0 vxres_lvmroot 18:12: Gathering information on the current VxVM root config vxres_lvmroot 18:12: Checking specified disk(s) for usability vxres_lvmroot 18:12: Preparing disk c5t13d0 as an LVM root disk vxres_lvmroot 18:12: Creating LVM Volume Group vg00 vxres_lvmroot 18:12: Copying /dev/vx/dsk/rootdg/standvol (hfs) to /dev/vg00/lvol1 vxres_lvmroot 18:12: Cloning /dev/vx/dsk/rootdg/swapvol (swap) to /dev/vg00/lvol2 vxres_lvmroot 18:12: Copying /dev/vx/dsk/rootdg/rootvol (vxfs) to /dev/vg00/lvol3 vxres_lvmroot 18:13: Copying /dev/vx/dsk/rootdg/homevol (vxfs) to /dev/vg00/lvol4 vxres_lvmroot 18:13: Copying /dev/vx/dsk/rootdg/tmpvol (vxfs) to /dev/vg00/lvol5 vxres_lvmroot 18:13: Copying /dev/vx/dsk/rootdg/usrvol (vxfs) to /dev/vg00/lvol6 vxres_lvmroot 18:33: Copying /dev/vx/dsk/rootdg/optvol (vxfs) to /dev/vg00/lvol7 vxres_lvmroot 18:41: Copying /dev/vx/dsk/rootdg/varvol (vxfs) to /dev/vg00/lvol8 vxres_lvmroot 18:45: Setting up disk c5t13d0 as an LVM boot disk vxres_lvmroot 18:45: Installing fstab and fixing dev nodes on new root FS vxres_lvmroot 18:45: Current setboot values: vxres_lvmroot 18:45: Primary: 0/4/0/1.10.0 vxres_lvmroot 18:45: Alternate: 0/4/0/1.12.0 vxres_lvmroot 18:45: Making disk c5t13d0 (0/4/0/1.13.0) the primary boot disk vxres_lvmroot 18:45: Making disk c5t10d0 (0/4/0/1.10.0) the alternate boot disk vxres_lvmroot 18:45: Disk c5t13d0 is now an LVM (VG vg00) rootable boot disk NOTES
If the vxres_lvmroot command aborts for any reason, or if you interrupt the command during execution (unless this is inhibited by the -D option), an attempt is made to clean up the LVM objects that had been generated up to the time of the abort or interruption. If an LVM object cannot be removed, an explanatory message is displayed. SEE ALSO
cpio(1), dd(1), dump(1M), fsck(1M), restore(1M), setboot(1M), vxbootsetup(1M), vxcp_lvmroot(1M), vxdestroy_lvmroot(1M), vxdump(1M), vxre- store(1M) VxVM 5.0.31.1 24 Mar 2008 vxres_lvmroot(1M)
All times are GMT -4. The time now is 04:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy