- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring 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
02-15-2001 12:57 AM
02-15-2001 12:57 AM
Mirroring boot disk
I want to mirror my boot disk . Does the new disk need to be a bootable disk or can I just pvcreate then vgextend onto that disk.
thanks in advance
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:08 AM
02-15-2001 01:08 AM
Re: Mirroring boot disk
Yes, you will need to make it bootable and put the lvln areas.
pvcreate -B /dev/rdsk/(device)
mkboot /dev/dsk/(device) (this will do dump, boot and root areas)
lvextend -m 1 /dev/vgxx/lvolx
Th -m is the number of mirror copies, and you must do it for lvol1 to lvoln
Hope this helps.
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:10 AM
02-15-2001 01:10 AM
Re: Mirroring boot disk
specifically:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90701/B2355-90701.html
Read the section:
Mirroring Root, Boot, and Primary Swap Logical Volumes
This gives you step by step instructions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:19 AM
02-15-2001 01:19 AM
Re: Mirroring boot disk
DO i have to vgextend after mkboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:45 AM
02-15-2001 01:45 AM
Re: Mirroring boot disk
the pvcreate -B will make the PV bootable then extend the VG with vgextend /dev/vgxx /dev/dsk/(second device)
the important part of this is to do the boot, root and swap areas first:
lvol1 (/stand)
lvol2 (swap/dump)
lvol3 (/)
Then the rest.
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 02:50 AM
02-15-2001 02:50 AM
Re: Mirroring boot disk
just for making the mirroring proccess simpler i put you a script at the attachment.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 06:28 AM
02-15-2001 06:28 AM
Re: Mirroring boot disk
I make it the next steps >
#pvcreate -B /dev/rdsk/device
#vgextend vg00 /dev/dsk/device
#mkboot /dev/rdsk/device
#mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/device
#for i in $(ls /dev/vg00/lv*)
>do
>lvextend -m 1 /dev/dsk/device
>done
regards, Saa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 06:39 AM
02-15-2001 06:39 AM
Re: Mirroring boot disk
One thing to note about boot disk mirroring is that mirroring does not prevent data corruption if both the boot disk and its mirror are always in sync. In this case, mirroring simply increases the availability of your hardware storage.
For me, I create 2 mirror copies instead of one, with the first copy always in sync with the boot disk while the second copy lvsplit'ed away most of the time and only lvmerged occasionally.
The first copy protects storage availability while the second copy protects against boot disk data corruption. So, even if someone accidentally erases data off the boot disk and its first mirror copy and render both the boot disk and its first mirror copy useless, I can always boot up using the second mirror copy which is not in sync with the boot disk but at the very least bootable.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 12:28 PM
09-09-2002 12:28 PM
Re: Mirroring boot disk
lvextend -m 1 $i /dev/dsk/device
It might also be helpful to others if you point out that the word "device" has to be replaced by a disk address like "c2t2d0" which can be found by doing the command, "ioscan -fnCdisk" and correlating that with an unused disk the same size as vg00.
Regards,
Steve Tucker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 12:41 PM
09-09-2002 12:41 PM
Re: Mirroring boot disk
#lvlnboot -R
And then verify
#lvlnboot -v
Ash