- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirrordisk/UX
Operating System - HP-UX
1753882
Members
7789
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-09-2003 01:59 AM
тАО07-09-2003 01:59 AM
Mirrordisk/UX
Hi Everyone,
running hp-ux 11i on hp rp7410 server.have installed Mirrprdisk/UX software for disk mirroring.want to mirror local system disk with 2nd local disk.i am writing down the script for mirroring procedure.if there is any mistake then please do let me know so that i may correct this mistake before applying it to live system.Please mention precaution before mirroring disks.
also i do need some explainination which i will mention in this email.
#pvcreate -Bf /dev/rdsk/c?t?d?
(i will mention this address after checking it with ioscan command))
#vgcreate /dev/vg00 dev/rdsk/c?t?d?
(here should we use rdsk or dsk in all the following locations)
#mkboot dev/rdsk/c?t?d?
#mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/c?t?d?
(here will you please explain the function of 0 and also if we specify -lq then should we specify the alternate boot path or not?)
#vgextend vg00 /dev/rdsk/c?t?d
#lvextend -m 1 /dev/vg00/lvol1 /dev/rdsk/c?t?d?
#lvextend -m 1 /dev/vg00/lvol2 /dev/rdsk/c?t?d?
#lvextend -m 1 /dev/vg00/lvol3 /dev/rdsk/c?t?d?
(Here does lvol1,lvol2,lvol3 refer to roor,boot,swap volumes.if i am wrong then please explain and correct)
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3
# lvlnboot -v
(here -b=for boot volume,-r=for root,-s=for swap volume,-v=for print verbose messages)
#vgcfgbackup /dev/vg00
running hp-ux 11i on hp rp7410 server.have installed Mirrprdisk/UX software for disk mirroring.want to mirror local system disk with 2nd local disk.i am writing down the script for mirroring procedure.if there is any mistake then please do let me know so that i may correct this mistake before applying it to live system.Please mention precaution before mirroring disks.
also i do need some explainination which i will mention in this email.
#pvcreate -Bf /dev/rdsk/c?t?d?
(i will mention this address after checking it with ioscan command))
#vgcreate /dev/vg00 dev/rdsk/c?t?d?
(here should we use rdsk or dsk in all the following locations)
#mkboot dev/rdsk/c?t?d?
#mkboot -a "hp-ux -lq(;0)/stand/vmunix" /dev/rdsk/c?t?d?
(here will you please explain the function of 0 and also if we specify -lq then should we specify the alternate boot path or not?)
#vgextend vg00 /dev/rdsk/c?t?d
#lvextend -m 1 /dev/vg00/lvol1 /dev/rdsk/c?t?d?
#lvextend -m 1 /dev/vg00/lvol2 /dev/rdsk/c?t?d?
#lvextend -m 1 /dev/vg00/lvol3 /dev/rdsk/c?t?d?
(Here does lvol1,lvol2,lvol3 refer to roor,boot,swap volumes.if i am wrong then please explain and correct)
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3
# lvlnboot -v
(here -b=for boot volume,-r=for root,-s=for swap volume,-v=for print verbose messages)
#vgcfgbackup /dev/vg00
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 02:02 AM
тАО07-09-2003 02:02 AM
Re: Mirrordisk/UX
The following steps for creating mirror boot disk:
/dev/dsk/c2t2d0 will be the disk we want to
create a mirror copy for the existing root disk
(/dev/dsk/c1t2d0) inside the same vg, vg00
1) pvcreate -B /dev/rdsk/c2t2d0
2) mkboot -l /dev/rdsk/c2t2d0
3) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
4) vgextend /dev/vg00 /dev/dsk/c2t2d0
5) lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t2d0
lvextend -m
..(all LVs on vg00)
6) pls check for if:
lvol1 on /stand (this is boot lv)
lvol3 on / (this is root lv)
lvol2 is swap lv
7) lvlnboot -r /dev/vg00/lvol3 (root on /)
8) lvlnboot -s /dev/vg00/lvol2 (swap)
lvlnboot -d /dev/vg00/lvol2 (dump) (optional)
9) lvlnboot -R /dev/vg00
10) lvlnboot -v (to confirm all correct)
11) vgcfgbackup /dev/vg00
/dev/dsk/c2t2d0 will be the disk we want to
create a mirror copy for the existing root disk
(/dev/dsk/c1t2d0) inside the same vg, vg00
1) pvcreate -B /dev/rdsk/c2t2d0
2) mkboot -l /dev/rdsk/c2t2d0
3) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0
4) vgextend /dev/vg00 /dev/dsk/c2t2d0
5) lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t2d0
lvextend -m
..(all LVs on vg00)
6) pls check for if:
lvol1 on /stand (this is boot lv)
lvol3 on / (this is root lv)
lvol2 is swap lv
7) lvlnboot -r /dev/vg00/lvol3 (root on /)
8) lvlnboot -s /dev/vg00/lvol2 (swap)
lvlnboot -d /dev/vg00/lvol2 (dump) (optional)
9) lvlnboot -R /dev/vg00
10) lvlnboot -v (to confirm all correct)
11) vgcfgbackup /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 02:11 AM
тАО07-09-2003 02:11 AM
Re: Mirrordisk/UX
A: read the replies in your previous post:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcf783f9a15add711abdc0090277a778c,00.html
B: Read the manual at:
http://docs.hp.com/hpux/pdf/B2355-90742.pdf
and especially Chapter 6, subsection Managing Mirrored File Systems. It is all in htere
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcf783f9a15add711abdc0090277a778c,00.html
B: Read the manual at:
http://docs.hp.com/hpux/pdf/B2355-90742.pdf
and especially Chapter 6, subsection Managing Mirrored File Systems. It is all in htere
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP