- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Rebuilding a K250
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
тАО08-30-2000 07:54 AM
тАО08-30-2000 07:54 AM
I need info on how to mirror a boot disk after installing the OS.
Can anyone Help! me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2000 08:20 AM
тАО08-30-2000 08:20 AM
SolutionDocument ID: rcfaxlvm001
Determine the hardware address of the disk that will become the mirror disk.
The command 'ioscan -fnC disk' will display the hardware address and device
files of the disk drives connected to the system. Record the hardware address,
it will be needed later to set the alternate boot path.
In this example the disk to be used as the mirror will be /dev/dsk/c1t0d0.
1) swlist -l bundle | grep -i mirror
This will display MirrorDisk/UX if installed on the system. If MirrorDisk/UX
isn't found then it will need to be loaded. This fileset **is not** part of the
standard Core-OS. This product must be purchased - contact your local HP Sales
Office for more information.
2) pvcreate -B /dev/rdsk/c1t0d0
The -B option is used to create a bootable Physical Volume.
3) mkboot /dev/rdsk/c1t0d0
NOTE: Make sure to use the character device file when using mkboot.
4) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0
NOTE: Use the -lq option when your root volume group contains only 2 disks.
If more than 2 disks are in the root volume group, the -lq option is not needed
as quorum will be maintained even if 1 disk fails.
5) vgextend /dev/vg00 /dev/dsk/c1t0d0
This adds the Physical Volume to the root volume group
6) lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
This command extends the mirror copy of the boot logical volume to the specified
physical volume. This logical volume must be mirrored first.
NOTE: The lvextend command has to be done on all logical volumes on the primary disk.
This means that lvextend has to be done on lvol1 -> lvolX.
After the logical volume that contains the kernel has been mirrored, then use
the same lvextend command to extend the rest of the logical volumes in the root volume group.
lvextend -m 1 /dev/vg00/lvolX /dev/dsk/c1t0d0
7) lvlnboot -r /dev/vg00/lvol3
Specifies the root logical volume
NOTE: The root logical volume is /dev/vg00/lvol1 for 10.01 & 10.10, and /dev/vg00/lvol3
(as in this example) is the root logical volume in 10.20.
8) lvlnboot -s /dev/vg00/lvol2
Specifies the swap logical volume
NOTE: To determine where the swap logical volume is located use the 'swapinfo'
command. For further information on 'swapinfo' see the manpage.
9) lvlnboot -d /dev/vg00/lvol2
Specifies the dump logical volume
10) lvlnboot -b /dev/vg00/lvol1
Specifies the boot logical volume (for 10.20 only)
11) lvlnboot -R
Recovers any BDRA info
12) lvlnboot -v
Verify boot, root, swap and dump settings.
13) setboot
This will display the Primary and Alternate boot paths that are currently set.
14) setboot -a 52.1.0
Change the Alternate Boot Path to the path of the Root Mirror.
15) shutdown -r 0
Shut down the system and boot from the mirror disk.
NOTE: The system will shut down and reboot, as the system starts to come back up,
look for the message (system's output may vary):
TO INTERRUPT THE BOOT SEQUENCE, PRESS AND HOLD ESCAPE. -> MODEL 700'S
TO INTERRUPT THE BOOT SEQUENCE, PRESS ANY KEY -> MODEL 800
This will display the Boot Admin display.
At the boot_admin> prompt type: bo Mirror_disk_hardware_address
For example -> bo 4/8.10.0
On some systems, "bo alt" will work if the alternate boot device is configured.
The system will prompt to interact with IPL, answer "no", and the system will
boot from the mirror root disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2000 04:41 AM
тАО08-31-2000 04:41 AM
Re: Rebuilding a K250
1)Mirroring disks is only possible if you have a licence for mirror-ux
2) you dont the licence: there is nothing else to do but get one if you really need it, because there is always the possibility to boot from an alernate boot device=>your 2nd disk
To do so if your disks are identical:
use dd:
dd if=/dev/rdsk/cxxxxx of=/dev/rdsk/c0t6d0 bs=1024k
look at some previous mail on the subject
You could also use make_recovery also to create a 2nd boot disk cloning the 1rst one...
3) You have the licence and the product is installed:
#pvcreate -B /dev/rdsk/cXd0s2
#mkboot -l /dev/rdsk/cXd0s2
#mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cXd0s2
then
#vgextend /dev/vg00 /dev/dsk/cXd0s2
then mirror all your lv in rootvg
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXd0s2
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cXd0s2
etc...
Finally
#lvlnboot -r /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#vgcfgbackup vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2000 11:07 AM
тАО09-08-2000 11:07 AM
Re: Rebuilding a K250
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2000 11:29 PM
тАО09-10-2000 11:29 PM
Re: Rebuilding a K250
just for convenience put you a script at attachment that will do root disk mirroring.
Regards
Andrew