- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM HP-UX/Mirroring
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
09-10-2002 06:20 AM
09-10-2002 06:20 AM
I am facing a problem in disk mirroring. I have done mirroring of root disk. I want set root,boot,swap and dumpt device.
I received the following error
lvlnboot -r /dev/vg00/lvol3
lvlnboot: Physical Volume "/dev/dsk/c0t8d0" on which Logical
Volume "/dev/vg00/lvol3" resides is not a Boot Physical Volume.
Note: - Both original and mirrored disks under group vg00..
Please let me how to set root, boot, swap and dump on the mirrored disk.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 06:24 AM
09-10-2002 06:24 AM
SolutionWhen you initialized the disk did you use the boot reserve param -B ?
pvcreate -B /dev/rdsk/c0t8d0
Without that param - the boot space will not be reserved.
If you didn't you'll have to go back & start over making sure you use it.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 06:27 AM
09-10-2002 06:27 AM
Re: LVM HP-UX/Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 06:27 AM
09-10-2002 06:27 AM
Re: LVM HP-UX/Mirroring
#pvcreate -B /dev/rdsk/c0t8d0
#mkboot -l /dev/rdsk/c0t8d0
#mkboot -a "hpux ;0)/stand/vmunix" /dev/rdsk/c0t8d0
#vgextend /dev/vg00 /dev/dsk/c0t8d0
then mirror all your lv in rootvg
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t8d0
#lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t8d0
#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-10-2002 06:27 AM
09-10-2002 06:27 AM
Re: LVM HP-UX/Mirroring
Here is a sample script I use to create my mirror root disk.
# 1) Create LVM disk (bootable)
pvcreate -B -f /dev/rdsk/c0t6d0
# 2) Add boot utilities to new disk
mkboot /dev/rdsk/c0t6d0
# 3) Put AUTO file into new LIF area
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t6d0
# 4) Add disk to vg00
vgextend /dev/vg00 /dev/dsk/c0t6d0
# 5) Mirror /stand logical volume
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t6d0
# 6) Mirror swap logical volume
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t6d0
# 7) Mirror root logical volume
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t6d0
# 8) Mirror /opt /tmp /usr /var /u5
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t6d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t6d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t6d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t6d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t6d0
# 9) Update boot info in regarding mirrors
lvlnboot -r lvol3 /dev/vg00
lvlnboot -b lvol1 /dev/vg00
lvlnboot -s lvol2 /dev/vg00
lvlnboot -d lvol2 /dev/vg00
lvlnboot -R
lvlnboot -v
Hope this helps
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 06:27 AM
09-10-2002 06:27 AM
Re: LVM HP-UX/Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 06:33 AM
09-10-2002 06:33 AM
Re: LVM HP-UX/Mirroring
HTH
Marty