- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirrored a boot 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
06-04-2009 04:12 AM
06-04-2009 04:12 AM
mirrored a boot disk
first i have a boot disk (/dev/disk/c2t0d0) and secondary disk (/dev/disk/c2t1d0):
#pvcreate -B /dev/rdsk/c2t1d0
#vgextend /dev/vg00 /dev/dsk/c2t1d0
#mkboot -l /dev/rdsk/c2t1d0
#lifcp/dev/rdsk/c2t1d0
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0
(lvol1 to lvol8)
#lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:15 AM
06-04-2009 04:15 AM
Re: mirrored a boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:19 AM
06-04-2009 04:19 AM
Re: mirrored a boot disk
The steps to mirror your boot volume are (PA-RISC):
1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"
2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"
3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"
4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"
5. Use lvlnboot to identify the root, boot, primary swap and dump lvols
"lvlnboot -r /dev/vg00/lvol3 /dev/vg00" (lvol4 if you have secondary swap in lv
ol3)
"lvlnboot -b /dev/vg00/lvol1"
"lvlnboot -s /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -d /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -v"
6. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"
7. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.
8. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"
9. Edit /stand/bootconf and add your new mirrored boot disk.
That's all there is to it. You may notice that I left out the
lvlnboot -R command. That is because it is not
necessary - see the man page:
"This command should be run in recovery mode (-R)
whenever the configuration of the root volume group is
affected by one of the following commands: lvextend,
lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),
lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is
done automatically."
For Itanium architecture, follow this guide:
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa
And, for 11.31, follow this:
http://docs.hp.com/en/B2355-90950/ch06s02.html#mrflv
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:24 AM
06-04-2009 04:24 AM
Re: mirrored a boot disk
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t1d0
cd /usr/sbin/diag/lif
mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c2t1d0
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:33 AM
06-04-2009 04:33 AM
Re: mirrored a boot disk
http://www.hpux.ws/?p=21
Its all there and is somewhat more extensive.
Also do a boot test so you know it works.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:50 AM
06-04-2009 04:50 AM
Re: mirrored a boot disk
-a specified but no current boot area on /dev/rdsk/c2t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 04:58 AM
06-04-2009 04:58 AM
Re: mirrored a boot disk
start from scratch and try following Pete's procedure step-by-step. Something you did while troubleshooting the problem might have messed up the LIF on this disk.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 05:30 AM
06-04-2009 05:30 AM
Re: mirrored a boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 05:38 AM
06-04-2009 05:38 AM
Re: mirrored a boot disk
raw=/dev/rdsk/c2t1d0
blk=/dev/dsk/c2t1d0
pwcreate -B ${raw}
mkboot -a "hpux -lq (;0)/stand/vmunix" ${raw}
mkboot -l ${raw}
cd /usr/sbin/diag/lif
mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL ${raw}
vgextend /dev/vg00 ${blk}
# do your logical volume mirroring here
lvlnboot -r /dev/vg00/lvol3 #root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2009 02:03 PM
06-04-2009 02:03 PM
Re: mirrored a boot disk
its probably down to the fact you havent done the lvlnboot steps,
do these as already stated
Andy