- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to reduce the mirrored lvol (Mirroed disk f...
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
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
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
11-10-2011 12:23 PM
11-10-2011 12:23 PM
Hi,
I got some issue with mirrored disk of a lvol (lvolab) and i have to replace the failed mirroed disk.
However when i am trying to reduce my lvols related with disks i am getting some issue. If i am wrong then we have to reduce the lvol with the "key" number but i got the procedure.
Can anyone tell me the procedure to reduce the failed disk lvol?
Appreciate the response
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2011 01:14 PM - edited 11-10-2011 01:15 PM
11-10-2011 01:14 PM - edited 11-10-2011 01:15 PM
SolutionDetermine the 'pv key' of the failed disk by doing an 'lvdisplay -vk ' for the lvol in question.
Then to reduce the mirror do:
lvreduce -k -m 0 /dev/vg???/lvol??? <pvkey value>
For example:
# lvdisplay -vk /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) 544 Current LE 68 Allocated PE 136 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/c1t0d0 68 68 /dev/dsk/c2t0d0 68 68 --- Logical extents --- LE PV1 PE1 Status 1 PV2 PE2 Status 2 00000 0 00166 current 1 00166 current 00001 0 00167 current 1 00167 current 00002 0 00168 current 1 00168 current 00003 0 00169 current 1 00169 current
If I want to reduce the mirror disk, which has a pvkey of '1' in this case, I would do:
lvreduce -k -m 0 /dev/vg00/lvol3 1
- Tags:
- lvreduce