- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reduce distributed LV to lesser disks
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
07-01-2011 06:41 AM
07-01-2011 06:41 AM
Reduce distributed LV to lesser disks
Hi All,
I have one distributed LV across 13 disks on HP-UX 11.23, whose size is 650GB. i want to reduce this LV to 450GB and also free up 3 disks from it.
Is it possible to reduce this LV to make it as distributed across 10 disks? if so, please provide me with the steps to do it.
Thanks
Vishu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 06:45 AM
07-01-2011 06:45 AM
Re: Reduce distributed LV to lesser disks
Distributed means that the data is staggered or striped across every disk. Removing even one disk destroys 100% of the entired volume. This is one of the major disadvantages of striped volumes. Your only choice is to backup all the data on the striped disks, unmount all the lvols, then lvremove all the lvols. Now rebuild the lvols, possibly rethinking the advantage versus disadvantage in using striping.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 08:39 AM
07-01-2011 08:39 AM
Re: Reduce distributed LV to lesser disks
Hi Bill,
Thanks for your reply.
i can understand that whether reducing the LV size wont free up the disks in this distributed LVs, but by any mean i can free up 3 disks from here and make this LV as distributed on 10 disks instead of 13 disks...either by pvmove or something.
Your help will be appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 10:57 AM
07-01-2011 10:57 AM
Re: Reduce distributed LV to lesser disks
IMHO you cannot. Do as advised, make a backup, rebuild the LVOL and restore the data.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2011 04:06 PM
07-02-2011 04:06 PM
Re: Reduce distributed LV to lesser disks
If you have some spare capacity it is possible to do this with a mirror:
- add new temporary disks as a new PVG
- assign the current PVs into another PVG
- change all lvols to pvg-strict (lvchange -s g)
- mirror them to the new PVG (lvextend -m 1)
- break the mirror (lvreduce -m 0)
- remove the unwanted PVs from the VG
- mirror everything back
- cleanup...