cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a mirrored boot disk.

Cara Tock
Regular Advisor

Creating a mirrored boot disk.

I am having problems when I create a mirrored boot disk and then reboot my machine (N400 HP-UX 11.00). I get the error FATAL unable to initialize registry access. I followed the HP document to create a mirrored boot disk and my netconf file seems fine. The machine will boot up, but I don't have any networking. I try to reconfigure the NIC but it won't let me. Thanks
10 REPLIES
linuxfan
Honored Contributor

Re: Creating a mirrored boot disk.

Hi Damon,

You normally get the FATAL:unable to initialize registry access
when you have a problem in your netconf file.

Did you try "/sbin/set_parms initial"
that will configure the hostname/IP addresss/DNS/NIS etc.

When you say you don't have networking, do you mean you haven't connected your NICs to a live physical cable? Also make sure the ethernet cable is plugged in to the ethernet card at slot 0/0/0/0

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
G.Kumar
Frequent Advisor

Re: Creating a mirrored boot disk.

These are the steps to make aboot mirror

1.pvcreate -f -B /dev/rdsk/cxtxdx
2.vgextend /dev/vg00 /dev/dsk/cxtxdx
3.mkboot /dev/rdsk/cxtxdx
4.mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cxtxdx
5.lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdx
repeat the step 5 upto lvol9 sequentially.
6.lvlnboot -R

Hopa this may help
GK
Holger Knoppik
Valued Contributor

Re: Creating a mirrored boot disk.

Hi ! Also check your boot parameters doing a "lvlnboot -v". Additional you maybe want to check the LIF stuff: "lifls -l /dev/rdsk/"

Hope this helps a bit
RGDS, Holger
Live long and prosper!
Cara Tock
Regular Advisor

Re: Creating a mirrored boot disk.

Before I created the mirrored boot disk everything worked great including the networking. I did check lvlnboot -v and it looked great. I tried set_parms initial and it helped, but now I can not telnet into the box. I can telnet from the box using the web console. Thanks for the help so far. I am further now then I was when I posted.
Cara Tock
Regular Advisor

Re: Creating a mirrored boot disk.

When I reboot I am right back where I started.
Santosh Nair_1
Honored Contributor

Re: Creating a mirrored boot disk.

Can you try doing a set_parms ip_address to set up the IP address for the machine. Alternatively you could edit the /etc/rc.config.d/netconf file and add hostname, IP address, netmask, routing info, etc. and then run /sbin/init.d/net start.

Hope this helps.
-Santosh
Life is what's happening while you're busy making other plans
Cara Tock
Regular Advisor

Re: Creating a mirrored boot disk.

When I run /sbin/init.d/net start I get the following message: lan0 interface: ifconfig: check plumbing error: Bad file number
Wodisch
Honored Contributor

Re: Creating a mirrored boot disk.

Hello Damon,

I do remember errors like that, when there was a patch
about non class-A/B/C netmasks missing.
It seems like that patch is missing on the mirrored disk...
Is it still mirrored, really?
Check with "lvdisplay -v" on all your LVOLs in the rootVG.

Could you try to un-mirror all file-system LVOLs (no need
for swap spaces) and then re-mirror them again?
Like:

lvreduce -m 0 /dev/vg00/lvol1
lvreduce -m 0 /dev/vg00/lvol3
lvreduce -m 0 /dev/vg00/lvol4
lvreduce -m 0 /dev/vg00/lvol5
lvreduce -m 0 /dev/vg00/lvol6
lvreduce -m 0 /dev/vg00/lvol7
lvreduce -m 0 /dev/vg00/lvol8

lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol3
lvextend -m 1 /dev/vg00/lvol4
lvextend -m 1 /dev/vg00/lvol5
lvextend -m 1 /dev/vg00/lvol6
lvextend -m 1 /dev/vg00/lvol7
lvextend -m 1 /dev/vg00/lvol8

Just guessing here,
Wodisch
linuxfan
Honored Contributor

Re: Creating a mirrored boot disk.

Hi Damon,

plump error.

Make sure /dev/lan is a link to /dev/dlpi if not
ln -s /dev/dlpi /dev/lan

-Ramesh
They think they know but don't. At least I know I don't know - Socrates
linuxfan
Honored Contributor

Re: Creating a mirrored boot disk.

Oops i meant plumb error
They think they know but don't. At least I know I don't know - Socrates