- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lv mirroring logical volume is spread across 2...
Operating System - HP-UX
1753867
Members
7489
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-24-2011 12:24 PM
тАО04-24-2011 12:24 PM
lv mirroring logical volume is spread across 2 disk but not striped
Need to move to new storage but logical volumes have space assigned from 2 disks. How can I move the extents to corresponding new disks with the extents assigned to old disk 1 going to new disk 1 and the rest of the extents assigned to old disk 2 going to new disk 2?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2011 02:13 PM
тАО04-24-2011 02:13 PM
Re: lv mirroring logical volume is spread across 2 disk but not striped
Hi:
You could use distributed extent allocation and setup a {Physical Volume Group) for the new mirror.
Mirror from the old to the new disks and 'lvreduce -m 0) the old disk extents when done.
Regards!
...JRF...
You could use distributed extent allocation and setup a {Physical Volume Group) for the new mirror.
Mirror from the old to the new disks and 'lvreduce -m 0) the old disk extents when done.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2011 02:22 PM
тАО04-24-2011 02:22 PM
Re: lv mirroring logical volume is spread across 2 disk but not striped
You could also look into using 'pvmove'.
If you old disk is /dev/dsk/c1t2d3 and your new disk is /dev/dsk/c2t3d4 then you would use pvmove like:
pvmove /dev/dsk/c1t2d3 /dev/dsk/c2t3d4
This would move all extents from c1t2d3 to c2t3d4.
If you old disk is /dev/dsk/c1t2d3 and your new disk is /dev/dsk/c2t3d4 then you would use pvmove like:
pvmove /dev/dsk/c1t2d3 /dev/dsk/c2t3d4
This would move all extents from c1t2d3 to c2t3d4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2011 02:25 AM
тАО04-26-2011 02:25 AM
Re: lv mirroring logical volume is spread across 2 disk but not striped
You can do a lvextend from the old disks to the new disk:
lextend -m 1 lvol_to_move
And then you can do a lvreduce removing the old disks.
Regards.
Noe.
lextend -m 1 lvol_to_move
And then you can do a lvreduce removing the old disks.
Regards.
Noe.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP