- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create mirror disk that's also 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
Discussions
Discussions
Forums
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
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
тАО04-07-2004 03:45 AM
тАО04-07-2004 03:45 AM
I was reviewing my vg00 info, and noticed the disk ( c2t6d0 )I want use as a mirror is not a boot disk. What is the best way make this a boot disk before I start the mirroring? disk
(c2t6d0) is currently empty.
server info:
HP-UX B.11.11 U 9000/800/N4000-75
*************************
lvlnboot -v info :
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0)
Boot: lvol1 on: /dev/dsk/c1t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
***********************
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 03:54 AM
тАО04-07-2004 03:54 AM
Solutionvgreduce /dev/vg00 /dev/dsk/c2t6d0
Then recreate the device
pvcreate -B /dev/dsk/c2t6d0
Then extend the vg again
vgextend /dev/vg00 /dev/dsk/c2t6d0
You should then be able to apply your mirrors.
You also need to ensure that the disk is then set as the alternate boot path;
setboot -a 0/0/2/1.6.0
(just using setboot on its own will display the current settings)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 04:01 AM
тАО04-07-2004 04:01 AM
Re: create mirror disk that's also a boot disk
mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
Then do a lvlnboot -v
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 04:06 AM
тАО04-07-2004 04:06 AM
Re: create mirror disk that's also a boot disk
Additionally if you have mirrored lvol1 and other lvs properly, do a lvlnboot.
lvlnboot -b /dev/vg00/lvol1 (boot lv)
lvlnboot -r /dev/vg00/lvol3 (root lv)
lvlnboot -s /dev/vg00/lvol2 (swap lv)
lvlnboot -d /dev/vg00/lvol2 (dump lv)
Then do a "lvlnboot -v"
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 04:13 AM
тАО04-07-2004 04:13 AM
Re: create mirror disk that's also a boot disk
vgextend /dev/vg00 /dev/dsk/c2t6d0
mkboot /dev/rdsk/c2t6d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t6d0
LVOLS="lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8"
# Change LVOLS to exactly match your vg00 but make # sure that lvol1, lvol2, lvol3 are done in # strict order:
for LVOL in ${LVOLS}
do
lvextend -m 1 /dev/vg00/${LVOL} /dev/dsk/c2t6d0
done
lvlnboot -R /dev/vg00
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0
-----------------------------------------
The last mkboot -a makes it possible to boot if either boot disk has failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2004 04:16 AM
тАО04-07-2004 04:16 AM