- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- OS 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
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
тАО06-26-2007 08:10 PM
тАО06-26-2007 08:10 PM
I'd like to know if the OS Logical Volumes are mirrored on another disk or not.
Thanks for your help.
HAS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:19 PM
тАО06-26-2007 08:19 PM
Re: OS Mirroring
to see if there are any mirrors.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:41 PM
тАО06-26-2007 08:41 PM
Re: OS Mirroring
check the following parameters for each lv
Current LE xxx
Allocated PE yyy => must be 2 time xxx
Used PV 2 (is mirrored to another disk)
To check the status of each lv
lvdisplay -v /dev/vgxx/lvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:41 PM
тАО06-26-2007 08:41 PM
Re: OS Mirroring
(see how lvsnap isn't mirrored unlike all the other LVs):
# lvdisplay $(vgdisplay -v vg00|awk '/LV Name/{print$NF}')|grep -E LV\ Name\|opies
LV Name /dev/vg00/lvol1
Mirror copies 1
LV Name /dev/vg00/lvol2
Mirror copies 1
LV Name /dev/vg00/lvol3
Mirror copies 1
LV Name /dev/vg00/lvol4
Mirror copies 1
LV Name /dev/vg00/lvol5
Mirror copies 1
LV Name /dev/vg00/lvol6
Mirror copies 1
LV Name /dev/vg00/lvol7
Mirror copies 1
LV Name /dev/vg00/lvol8
Mirror copies 1
LV Name /dev/vg00/lvol9
Mirror copies 1
LV Name /dev/vg00/lv_data01
Mirror copies 1
LV Name /dev/vg00/lv_data03
Mirror copies 1
LV Name /dev/vg00/lvol10
Mirror copies 1
LV Name /dev/vg00/lv_tomcat_webapps
Mirror copies 1
LV Name /dev/vg00/lvsnap
Mirror copies 0
LV Name /dev/vg00/lv_perfdata
Mirror copies 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:45 PM
тАО06-26-2007 08:45 PM
Re: OS Mirroring
lvdisplay -v /dev/vgxx/lvolxxx
This is the output of mirrored logical volume:
For explample / (root logical volume)
lvdisplay -v /dev/vg00/lvol3
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 560
Current LE 35
Allocated PE 70
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t1d0s2 35 35
/dev/dsk/c2t0d0s2 35 35
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c2t1d0s2 00275 current /dev/dsk/c2t0d0s2 00275 current
00001 /dev/dsk/c2t1d0s2 00276 current /dev/dsk/c2t0d0s2 00276 current
00002 /dev/dsk/c2t1d0s2 00277 current /dev/dsk/c2t0d0s2 00277 current
00003 /dev/dsk/c2t1d0s2 00278 current /dev/dsk/c2t0d0s2 00278 current
00004 /dev/dsk/c2t1d0s2 00279 current /dev/dsk/c2t0d0s2 00279 current
00005 /dev/dsk/c2t1d0s2 00280 current /dev/dsk/c2t0d0s2 00280 current
00006 /dev/dsk/c2t1d0s2 00281 current /dev/dsk/c2t0d0s2 00281 current
....
Mirror copies 1 (number of mirror copy)
/dev/dsk/c2t1d0s2 is the primary disk and
/dev/dsk/c2t0d0s2 is the mirror copy of primary disk
Regards,
Fat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 08:58 PM
тАО06-26-2007 08:58 PM
Re: OS Mirroring
I've checked and found that all LVs are not mirrored.
Is it possible that there is mirroring at another level, like at disk level?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 09:10 PM
тАО06-26-2007 09:10 PM
Re: OS Mirroring
Disk level mirroring would be done via hardware raid on your system. If you have an rx26xx or better hardware raid is available.
Otherwise OS mirroring on the logical volume level is what you need to do.
Procedure:
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
That's a PA-RISC 11.11 procedure.
model
uname -a
I can also provide an Itanium procedure if asked.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 09:10 PM
тАО06-26-2007 09:10 PM
Re: OS Mirroring
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 09:15 PM
тАО06-26-2007 09:15 PM
Re: OS Mirroring
Mark (no points for this post or the last one please)