- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check mirror status and procedure of remirr...
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
12-09-2005 05:02 PM
12-09-2005 05:02 PM
2) what are the procedure if one mirrored harddisk failed than to do remirrored with new harddisk and put it in previous position .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 05:16 PM
12-09-2005 05:16 PM
SolutionMirroring in HPUX happens in lvol level. You need to use
#lvdisplay
Eg1 :lvdisplay /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
Eg2: lvdisplay /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
Eg2: lvdisplay /dev/vg_sbi_exim_db/eximsbi_CTRL_02.ctl
--- Logical volumes ---
LV Name /dev/vg_sbi_exim_db/eximsbi_CTRL_02.ctl
VG Name /dev/vg_sbi_exim_db
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 320
Current LE 40
Allocated PE 40
Stripes 8
Stripe Size (Kbytes) 4096
Bad block on
Allocation strict
IO Timeout (Seconds) default
First Example show that the LV is mirrored and all disks in that LV are available, wherein second example, this LV is a mirrored one, but some PEs are not in sync. So you need to use the #lvdisplay -v to identify which all are the LVs' not in sync and check vgdispaly -v for which disk are unavailable.
Third example shows an which is not mirrored.
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 05:22 PM
12-09-2005 05:22 PM
Re: how to check mirror status and procedure of remirror ?
Hi,
Sorry in my previous post Eg3 is the last example, which i have mentioned by mistake as eg2.
To remirror failed mirror disk.
1. lvreduce -m 0
2. vgreduce
3. Replace the disk, ioscan -fnC disk, insf
4. pvcreate the new disk
5. vgextend
6. lvextend -m 1
The lvdisplay -v
regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 05:32 PM
12-09-2005 05:32 PM
Re: how to check mirror status and procedure of remirror ?
Dear Shah,
Try this,
#lvdisplay -v | grep stale
If this doesnt display any stale extents then you can be happy...the mirror is OK. You can use this as a scrpit.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2005 02:49 AM
12-10-2005 02:49 AM
Re: how to check mirror status and procedure of remirror ?
Hereis a good white paper on replacing disks of any kind configured using LVM.
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
I also appreciate your choice of preparing your self in advance for the happenings.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2005 02:57 AM
12-11-2005 02:57 AM
Re: how to check mirror status and procedure of remirror ?
For checking the progress of synchronization u can use the following command
# lvdisplay -v $(find /dev/vgXY -type b) | grep stale | wc -l
regds
Sujeesh