Operating System - HP-UX
1753536 Members
6673 Online
108795 Solutions
New Discussion юеВ

Re: unable to boot on 11.0 server

 
Bernie Vande Griend
Respected Contributor

Re: unable to boot on 11.0 server

As it boots it shows this:
System Console is on the Built-In Serial Interface Logical volume 64, 0x3 configured as ROOT Logical volume 64, 0x2 configured as SWAP Logical volume 64, 0x2 configured as DUMP

# cat /etc/fstab # System /etc/fstab file. Static information about the file systems # See fstab(4) and sam(1M) for further details on configuring devices. /dev/vg00/lvol3 / vxfs delaylog 0 1 /dev/vg00/lvol1 /stand hfs defaults 0 1 /dev/vg00/lvol4 /tmp vxfs delaylog 0 2 /dev/vg00/lvol5 /home vxfs delaylog 0 2 /dev/vg00/lvol6 /opt vxfs delaylog 0 2 /dev/vg00/lvol7 /usr vxfs delaylog 0 2 /dev/vg00/lvol8 /var vxfs delaylog 0 2 /dev/vg00/fnsw /fnsw vxfs delaylog 0 2 /dev/vg00/local /fnsw/local vxfs delaylog 0 2
can't run bdf or df from maint mode. It sure looks like stand and / are in the right place and swap is on lvol2 like it should be.
Ye who thinks he has a lot to say, probably shouldn't.
sujit kumar singh
Honored Contributor

Re: unable to boot on 11.0 server



Hi Bernie,

8/16/5.5.0 is the path of ur disk.

please also take a screen shot of all the operations as u perform here also, that shall be helpful.

please bear with the silliness i might be showing.

assuming the VG is in the mode as shown in the last O/P by u and that the system is up in the same status since the last commands had been executed on them.


remeber if bdf does not work mount and umount should work.

when u try to mount lvol1 make syre that u specify -F hfs and -F vxfs for all other filesystems with the mount command.

do
#vgchange -a n vgroot
#vgchange -a y -q n vgroot
and see if u are able to activate the vg
do a

#vgdisplay -v vgroot

see if the listing are like this

ACT PV and Cur PV shud both show 1

that means ur VG is getting activated OK

if not follow the following steps:

just cant boot my system in LVM Miantenance mode thats why cant say but vgchgid should work.

do the following
#vgchange -a n vgroot
#vgexport /dev/vgroot
#vgexport /dev/vg00
#mv /etc/lvmtab /etc/lvmtab.old.xxx

make sure by looking in the /dev/dsk and /dev/rdsk directories that the dev files for c0t5d0 are there.

#ll /dev/dsk/c0*
#ll /dev/rdsk/c0*

this is important to note that /dev/rdsk/c0t5d0 definitely exists.

even if that exists do freshly installation of these files.

#rmsf -H 8/16/5.5.0

#ioscan
#ioscan -fnCdisk

#ll /dev/dsk/c0*
#ll /dev/rdsk/c0*

just to ensure that the dev files for the disk have been removed

do an

#insf -e -H 8/16/5.5.0

again check that u get these files installed

#ll /dev/dsk/c0*
#ll /dev/rdsk/c0*


they will get freshly created

make sure that the ownership of these files is bin:sys and that major number shud be 31 like that.

#/usr/sbin/vgchgid /dev/rdsk/c0t5d0

#mkdir /dev/vgroot
#mknod /dev/vgroot/group c 64 0x010000
#vgimport /dev/vgroot /dev/dsk/c0t5d0
#vgchange -a y -q n /dev/vgroot
#vgdisplay -v

make sure that u get to see that act PV and Cur PV are both 1 .

that will mean that ur VG is activated properly and also that in the last lines of the vgdisplay -v O/P as /dev/dsk/c0t5d0


if that happens to be like that please make sure that u do the following.

#lvlnboot -b /dev/vgroot/lvol1
#lvlnboot -s /dev/vgroot/lvol2
#lvlnboot -r /dev/vgroot/lvol3
#lvlnboot -d /dev/vgroot/lvol2


#lvlnboot
#setboot -p 8/16/5.5.0 -b on -s on


try these things for the time being.


let me see if i can take my own system down and can take that in LVM maintenance mode.

regards
sujit



Bernie Vande Griend
Respected Contributor

Re: unable to boot on 11.0 server

We're going to rebuild this server, thanks everyone for your help.
Ye who thinks he has a lot to say, probably shouldn't.
sujit kumar singh
Honored Contributor

Re: unable to boot on 11.0 server

hi Grand,

in short i think u needed to do this:

u can try this once before u can start the Ignite restore: just a chance to see if this worked or not . Might take few more minutes that s all.

#vgexpot /dev/vgroot
#vgexport /dev/vg00
#mv /etc/lvmtab /etc/lvmtab.old.xxx
#vgchgid /dev/rdsk/c0t5d0
#mkdir /dev/vgroot
#mknod /dev/vgroot/group 0x000000
#vgimport /dev/vgroot /dev/dsk/c0t5d0
#vgchange -a y -q n /dev/vgroot

and if all had been fine:

#lvlnboot -b /dev/vgroot/lvol1
#lvlnboot -s /dev/vgroot/lvol2
#lvlnboot -r /dev/vgroot/lvol3
#lvlnboot -d /dev/vgroot/lvol2

#lvlnboot
#setboot -p -b on -s on



Regards
Bernie Vande Griend
Respected Contributor

Re: unable to boot on 11.0 server

I tried the vgchid and other commands from your last post and this one including removing the dsk files and recreating and I still get errors with querying the disk. We're going to try to rebuild now, thanks again.
Ye who thinks he has a lot to say, probably shouldn't.