- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce bad extents in the middle of an lvol?
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
тАО12-01-2006 09:04 AM
тАО12-01-2006 09:04 AM
I have a bad disk that I was able to move out of the Lvol by doing a vgscan.
However, now I have ??? extents in the middle of my Lvol. Should I just blow it away and rebuild it? then restore the data...
OR is there a way to remove bad extents in the middle of a Lvol? Does Lvreduce allow for that or does it only remove extents from the end of the Lvol?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2006 09:15 AM
тАО12-01-2006 09:15 AM
SolutionUnless this is a mirrored logical volume, you will need to rebuild it on a sound physical disk and restore its data.
The 'lvreduce' removed extents from the end of a logical volume. The 'lvreduce -k' reduces a mirrored logical volume on a physical volume that has failed or is missing.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2006 09:15 AM
тАО12-01-2006 09:15 AM
Re: lvreduce bad extents in the middle of an lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2006 09:44 AM
тАО12-01-2006 09:44 AM
Re: lvreduce bad extents in the middle of an lvol?
- use lvremove to remove the erroneous lvol.
- force the bad PV out of the VG by doing "vgreduce -f /dev/vg_name"
(this should make Cur PV = Act PV).
- recreate the lvol and restore the data onto it.
Make sure you have good backups of the data and metadata (vgcfgbackup) before you try this.
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2006 09:58 AM
тАО12-01-2006 09:58 AM
Re: lvreduce bad extents in the middle of an lvol?
You should read (it's short) this whitepaper:
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Regards!
...JRF...