- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - 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
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
07-07-2006 03:49 AM
07-07-2006 03:49 AM
Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 03:54 AM
07-07-2006 03:54 AM
Re: Mirroring
/sbin/lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 38
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 38 38
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t1d0s2 00000 current
There you can see the value "mirror copies".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 03:54 AM
07-07-2006 03:54 AM
Re: Mirroring
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 03:56 AM
07-07-2006 03:56 AM
Re: Mirroring
vgdisplay -v will show if the mirrors are sync'd
lvdisplay -v will show mirroring info on a disk/extent level detail
swlist -l product | grep -i mirror will show if the mirroring software is installed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 03:58 AM
07-07-2006 03:58 AM
Re: Mirroring
There will be an entry in there to tell you how many mirror copies there are
Also, the resulting output will display multiple disks and the Logical Extents. These will match up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 06:09 AM
07-07-2006 06:09 AM
Re: Mirroring
for var in `ls /dev/vg00/lvol*`
do
lvdisplay $var | grep -i mirror
done
This will list all the "Mirror Copies" for the lvols in VG00. If there will be any 1 or 2, it means they are mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 06:21 AM
07-07-2006 06:21 AM
Re: Mirroring
bottom line, with the above commands you check that you have mirrored configure on the lvols.
But to check if they are fine, basically you do some testing on them.
For experience, if the disk drive that the lvol is in is fine, then the mirror should be fine.
If you really want to test, do a backup, and simulated a faulty drive, if you still can read your data, it means the mirror was working just fine.
But then again, not good to do in a production machine, and once is configure if there is not physical problems with the drive the mirror is usually ok.
Regards,
Jaime.