- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirror boot disk problem
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
07-01-2002 12:58 AM
07-01-2002 12:58 AM
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (8/16/5.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (8/16/5.5.0)
/dev/dsk/c3t6d0 (8/4.6.0) -- Boot Disk
No Boot Logical Volume Configured
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
I am concerend about what "No Boot Logical Volume Configured" and does it need fixing if so how ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:01 AM
07-01-2002 01:01 AM
Re: mirror boot disk problem
Your mirror root disk is not bootable and need to be made so:_
Mirroring the root disk with LVM
To mirror an existing root volume:
1. pvcreate -B /dev/rdsk/device (-B creates BDRA area)
2. vgextend /dev/vg00 /dev/dsk/device
3. mkboot /dev/rdsk/device (put boot utilities into boot area)
4. mkboot -a "hpux boot arguements here" /dev/rdsk/device
5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/device
6. lvextend -m 1 /dev/vg00/swaplv /dev/dsk//device
7. repeat lvextend in sequence for all root logical volumes
8. lvlnboot -v ( to update the boot information with the new disk)
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:08 AM
07-01-2002 01:08 AM
Re: mirror boot disk problem
You seem to have 3 disks in vg00 one of which is not a boot disk (c0t5d0).
Try this command and reply with what happens
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:43 AM
07-01-2002 01:43 AM
Re: mirror boot disk problem
Thanks for this, being a lazy devil, I used A Voss's script to do this and all that you suggest is done by the script. All the Lvols including lvol1 are mirrored.
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:47 AM
07-01-2002 01:47 AM
Re: mirror boot disk problem
I have done that and the output from lvlnboot -v remains the same.
The mirror layout is for clarification 2 internal 4Gb' and one external 9Gb. the two for mirrored to the 9 and the 9 bootable.
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:48 AM
07-01-2002 01:48 AM
Re: mirror boot disk problem
What was the outcome ?
Word of suggestion. Avoid using scripts, better do them one step at a time and be sure you know what you are doing.
Scripts and SAM can sometime mess things up.
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:55 AM
07-01-2002 01:55 AM
Re: mirror boot disk problem
I did the lvlnboot -R and the outcome was that the configuration was saved as expected. I still though do still get that origional output from lvlnboot -v
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 03:12 AM
07-01-2002 03:12 AM
Re: mirror boot disk problem
Youa have three disks listed for vg00:-
/dev/dsk/c0t6d0 (8/16/5.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (8/16/5.5.0)
/dev/dsk/c3t6d0 (8/4.6.0) -- Boot Disk
Two are flagged as boot disks?
can you give more info on the three disks in your vg00 -sizes etc?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 03:26 AM
07-01-2002 03:26 AM
SolutionYou forgot to set the boot,root,swap and dump areas.
(use lvlnboot -r/-b/-s/-d)
The script as shown did it all for my c1t1d0 disk.
Regards,
Ceesjan
#!/bin/sh
echo "Get mirrordisk out of VG"
vgreduce /dev/vg00 /dev/dsk/c1t1d0
echo "Make a reservation for bootspace"
pvcreate -B /dev/rdsk/c1t1d0
echo "Re-enter the disk in VG"
vgextend /dev/vg00 /dev/dsk/c1t1d0
echo "vgcfgrestore"
vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t1d0
echo "vgchange"
vgchange -a y /dev/vg00
echo "vgsync"
vgsync /dev/vg00
echo "update and install bootbprograms using mkboot -l (lvm)"
mkboot -l /dev/dsk/c1t1d0
echo "set areas (root,boot,swap,dump) lvlnboots"
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
echo "recover missing links"
lvlnboot -R
echo "Start mirroring logical volumes"
for i in 1 2 3 4 5 6 7 8
do
echo "lvextend lvol$i"
lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c1t1d0
done
echo "Results:"
lvlnboot -v
echo "the end"