- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring the Root File System
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
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
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-2001 04:37 PM
тАО03-15-2001 04:37 PM
Mirroring the Root File System
disk (0/0/2/1.6.0.0.0.0.0;0) /stand/vmunix:cannot open, or not executable.
When I created the pv I used
mkboot -a "hpux (0/0/2/1.6.0.0.0.0.0;0)/stand/vmunix" /dev/rdsk/c2t6d0
Is this the correct way to add an AUTO file in the boot LIF area?
Thanks in advance for your replies!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2001 05:04 PM
тАО03-15-2001 05:04 PM
Re: Mirroring the Root File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2001 08:27 PM
тАО03-15-2001 08:27 PM
Re: Mirroring the Root File System
Following is correct steps for configure root mirroring
-------------
1. Create a bootable LVM disk to be used for the mirror.
# pvcreate -B /dev/rdsk/c4t6d0
2. Add this disk to the current root volume group.
# vgextend /dev/vg00 /dev/dsk/c4t6d0
3. Make the new disk a boot disk.
# mkboot /dev/rdsk/c4t6d0
4. Copy the correct AUTO file into the new LIF area.
# mkboot -a "hpux -l q (;0)/vmunix" /dev/rdsk/c4t6d0
5. Mirror the boot, root and primary swap logical volumes to the new
bootable disk. Ensure that all devices in vg00, such as /usr, /swap,
etc., are mirrored.
The following is an example of mirroring the boot logical volume:
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c4t6d0
The following is an example of mirroring the root logical volume:
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c4t6d0
The following is an example of mirroring the primary swap logical
volume:
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c4t6d0
NOTE The boot logical volume (/dev/vg00/lvol1 by default) must be done first to
ensure that it occupies the first contiguous set of extents on the new disk.
6. Update the boot information contained in the BDRA for the mirror
copies of boot, root and primary swap.
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -v -r /dev/vg00/lvol3
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
7. Check if the BDRA is correct.
# /usr/sbin/lvlnboot -R /dev/vg00
8. Verify that the mirrors were properly created.
# lvlnboot -v
The output of this command is shown in a display like the following:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c4t5d0 (10/0.5.0) Boot Disk
/dev/dsk/c4t6d0 (10/0.6.0) Boot Disk
Boot: lvol1 on: /dev/dsk/c4t5d0
/dev/dsk/c4t6d0
Root: lvol3 on: /dev/dsk/c4t5d0
/dev/dsk/c4t6d0
Swap: lvol2 on: /dev/dsk/c4t5d0
/dev/dsk/c4t6d0
Dump: lvol2 on: /dev/dsk/c4t6d0, 0
--------------------
assume that primary disk is /dev/dsk/c4t5d0
mirror disk is /dev/dsk/c4t6d0
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2001 11:21 PM
тАО03-15-2001 11:21 PM
Re: Mirroring the Root File System
to make things simpler i put you a script at attachment to mirror the root/boot disk.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2001 09:26 AM
тАО03-16-2001 09:26 AM
Re: Mirroring the Root File System
Andreas- I am going to test your script on one of my "spare" servers I'll let you know the results!
Thanks everyone! I will assign you all some points for the help.
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2001 01:16 PM
тАО03-21-2001 01:16 PM
Re: Mirroring the Root File System
1. when creating the mirrors, make sure that the lvextend commands are in order lvol1 lvol2 lvol3 and ect, its also common to not do the lvol2 and miss your swap volume.
2 set up the disk as a boot device
mkboot -l /dev/dsk/c1t1d0
after the extends are created then
lifcp /dev/dsk/c0t1d0:AUTO -
lifcp /dev/dsk/c1t1d0:AUTO -
mkboot -a "hpux -lq" /dev/rdsk/c0t1d0
mkboot -a "hpux -lq" /dev/rdsk/c1t1d0
3. check the pri and backup boot paths
setboot
if needed setboot -a 8/0.8.0
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 06:01 AM
тАО03-22-2001 06:01 AM
Re: Mirroring the Root File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 06:02 AM
тАО03-22-2001 06:02 AM
Re: Mirroring the Root File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2001 11:05 AM
тАО03-22-2001 11:05 AM