- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirrored Disks
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
03-17-2004 07:05 AM
03-17-2004 07:05 AM
Hi, I have a mirrored pair of disks. Path 10/0.5.0 and 10/0.6.0 scsi 6 being primary. I can't seem to boot from scsi 5. Is ther a command to tell if it is a boot disk? Any ideas on what else could be wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:11 AM
03-17-2004 07:11 AM
Re: Mirrored Disks
lvlnboot -v
should show you the boot disks
(remember mirroring all lvols is not sufficient to have a bootable disk. You also need "pvcreate -B" and "mkboot")
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:12 AM
03-17-2004 07:12 AM
Re: Mirrored Disks
will show all your boot disks.
Did you crete the disk using the -B option of pvcreate? If not, you'll need to start again.
To make the scsi 5 disk bootable, you should
(# pvcreate -B /dev/dsk/cXtYdZ)
(# vgextend vg00 /dev/dsk/cXtYdZ)
# mkboot /dev/dsk/cXtYdZ
# mkboot -a "hpux -lq" /dev/dsk/cXtYdZ
# lvlnboot -Rv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:13 AM
03-17-2004 07:13 AM
Re: Mirrored Disks
lvlnboot -v
should show you what you are looking for.
If I understand your question correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:16 AM
03-17-2004 07:16 AM
Re: Mirrored Disks
# lifls /dev/dsk/c?t5d0
Check your 'lvlnboot -v' output as well. As others have said I would suspect that the disk was not created with the '-B' option to pvcreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 07:21 AM
03-17-2004 07:21 AM
Re: Mirrored Disks
# lifcp /dev/dsk/c?t5d0:AUTO -
You should get output like "hpux" or "hpux -lq". If you don't get anything or the command errors, then that could be a problem as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 09:30 PM
03-17-2004 09:30 PM
Solution#
# 1. Create a physical volume using pvcreate with the -B option.
#
# pvcreate -B /dev/rdsk/c0t3d0
# 2. Add the physical volume to your existing root volume group with
# vgextend:
#
# vgextend /dev/vg00 /dev/dsk/c0t3d0
# 3. Use mkboot(1M) to place boot utilities in the boot area:
#
# mkboot /dev/rdsk/c0t3d0
# 4. Use mkboot -a to add an AUTO file in boot LIF area:
#
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c0t3d0
#
# 5. Mirror the root logical volume to the above disk:
#
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t3d0
# 6. Mirror the primary swap logical volume:
#
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t3d0
#
# 7. Mirror /usr /tmp /var /opt ...
#
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t3d0
lvlnboot -v
Once you have created mirror copies of the root logical volume and the
primary swap logical volume, should either of the disks fail, the system
Additions: lvlnboot -r lvol1 /dev/vg00
lvlnboot -s lvol2 /dev/vg00
lvlnboot -R
can use the copy of root or of primary swap on the other disk and
continue. When the failed disk comes back online, it will be
automatically recovered, provided the system has not been rebooted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 01:25 AM
03-18-2004 01:25 AM
Re: Mirrored Disks
As described in other posts creating the boot-header on the 2nd disk is part of the "trick". another is creating the mirrors in sequence (lvol1, 2, 3, etc).
Also remember to turn off â mirror consistency recoveryâ and â Mirror Write Cacheâ for swap (lvol2). This has to be done while booted in maintanance mode with â lvchange -M n -c n /dev/vg00/lvol2â and a r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 03:23 AM
03-18-2004 03:23 AM
Re: Mirrored Disks
Surely can helps you.
Regds
L