- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot boot from mirrored root disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2000 11:10 PM
03-15-2000 11:10 PM
Cannot boot from mirrored root disk
The problem is that the mirrored disk is not bootable although the advices
taken from another Discussion.
Our script:
1. pvcreate -B /dev/rdsk/c2t2d0 ### create physical volume for use in LVM
volume group, -B == boot
2. mkboot /dev/rdsk/c2t2d0 ### Place the LIF information on the disk
3. mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0 ## disk 2: make sure
that the autoboot string disables the quorum checking
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t2d0 ## disk 1: make sure
that the autoboot string disables the quorum checking
Ausgabe der aktuellen Einstellungen:
# setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
4. SAM => Disk 2 (0/0/2/0.2.0) added to volume group vg00 (ansonsten alles
"default")
5. SAM => Alle logischen Volumes auf 1 Spiegelkopie eingerichtet
6. # lvlnboot -R
Volume Group configuration for /dev/vg00 has been saved in
/etc/lvmconf/vg00.conf
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0)
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
If you have senseful suggeston, please answer.
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2000 11:24 PM
03-15-2000 11:24 PM
Re: Cannot boot from mirrored root disk
The work you did has covered laying down all the structure you need except
populating the filesystems. When I built a redundant boot disk without mirror
disk ux I had to add the following.
I first tried using cpio to transfer files but it would not transfer all the
device drivers. I think all you have left to do is: dd if=/dev/vg00/rlvol3
of=/dev/vg00/rlvol? bs=1k. The rlvol? is whatever your redundant root logical
volume is.
This should resolve your problem. You can mount your redundant root filesystem
and check the /dev/ directory to see if it properly populated! My guess is this
is where your problem is.
Good luck!
If this does not work send me an e-mail I have a doc on how to do this. The doc
is not quite complete so you have to improvise a little, that is why I did not
post it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2000 07:32 AM
05-18-2000 07:32 AM
Re: Cannot boot from mirrored root disk
If you do a
pvcreate -B /dev/rdsk/cXtYd0
mkboot /dev/rdsk/cXtYd0
mkboot -a "stuff
vgextend /dev/vg00 /dev/dsk/cXtYdo0
after the vgextend you should be able to do a lvlnboot -R and see the boot area should be recognized on all disks. No DD is required. You will then need to
lvextend -m 1 /dev/vg00/lvol1 2,3,4,5,6,7,8
onto the newly added disk.. Something is wrong. Has this system been upgraded ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2000 01:05 PM
05-18-2000 01:05 PM
Re: Cannot boot from mirrored root disk
Go read chapter 7 of:
http://www.docs.hp.com/dynaweb/hpux10/hpuxen0a/b2043/@Generic__BookView
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2000 11:45 PM
05-19-2000 11:45 PM
Re: Cannot boot from mirrored root disk
Your procedure looks right
May i know the error message
regards
venu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2000 05:53 AM
05-26-2000 05:53 AM
Re: Cannot boot from mirrored root disk
If you follow Emil's procedure to extend the disk into the VG and then mirror it, you will have success.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2000 10:42 AM
05-30-2000 10:42 AM
Re: Cannot boot from mirrored root disk
What stage of the boot are you in problem. Is it the ISL prompt, before ISL or the vmunix loading?
It seems your boot LIF on your presumed mirror disk is not right. This is because your lvlnboot -v was wrong it should also say BOOT DISK.
reconfigure the disk by forcing the recreation. pvcreate -B -f .
also make sure you do not use SAM. I do not think SAM is supported.
Lolu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2000 11:04 AM
05-30-2000 11:04 AM
Re: Cannot boot from mirrored root disk
the steps you took looks ok.
But lvlnboot -v did not see your disk as a boot disk, that means something happened to the results of the pvcreate -B , mkboot /dev/rdsk/cxtydz .
Adding a disk to a volume group through SAM reruns pvcreate without the boot option and also do not rerun mkboot , that is your disk is not being seen as a boot disk when you run lvlnboot -v
Rerun your procedure, at step 4 add the disk to the volume group without using SAM
i.e.
vgextend /dev/vg00 /dev/dsk/cxtydz
and continue with the rest of your procedure . Run lvlnboot at the end , l am sure your mirror disk will boot after creating all the mirrors of the logical volumes on the root disk
you must run lvchange -c n -M n /dev/vg00/lvol2
to deactivate the mirror consistency and mirror write cache on the swap and dump logical volume.
To do this you mus boot into maintenance mode ie. at isl "hpux -lm(;0)/stand/vmunix"
in maintenance mode vg00 is not activated so you can run lvchange command.
reboot the system and try to boot with the mirrir disk. It should definately boot unless your mirror disk if is faulty.