- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvmove fails withdistributed filesystem
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
04-18-2001 01:44 PM
04-18-2001 01:44 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 01:49 PM
04-18-2001 01:49 PM
SolutionTurn off extent based striping for the lvol
lvchange -D n /dev/vg??/lvol?
Turn off PVG strict allocation policy
lvchange -s n /dev/vg??/lvol?
I ran into this a few months ago and as far as I recall, the above steps solved my problem. Once you get the data moved you should be able to turn back on PVG-Strict and extent based striping for the lvol again.
lvchange -s g -D y /dev/vg??/lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 01:54 PM
04-18-2001 01:54 PM
Re: pvmove fails withdistributed filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 03:07 PM
04-18-2001 03:07 PM
Re: pvmove fails withdistributed filesystem
Let's look at an example:
Disk1 Disk2 Disk3 Disk4
1 2 3 4
5 6 7 8
Add disk5 and move extents from disk1 to disk5 and you data should look like the following.
Disk2 Disk3 Disk4 Disk5
2 3 4 1
6 7 8 2
I hope this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 03:10 PM
04-18-2001 03:10 PM
Re: pvmove fails withdistributed filesystem
Disk1 - Extents 1 & 5
Disk2 - Extents 2 & 6
Disk3 - Extents 3 & 7
Disk4 - Extents 4 & 8
Add Disk 5 and pvmove extents from Disk1 to Disk5
Disk2 - Extents 2 & 6
Disk3 - Extents 3 & 7
Disk4 - Extents 4 & 8
Disk5 - Extents 1 & 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 08:26 PM
04-18-2001 08:26 PM
Re: pvmove fails withdistributed filesystem
patrick's example says it clear and it does work.
The "pvmove" command does not worry how your LVM is configured.. and it just moved the sepefied Logical volume from one PV to other PV.
Let say even your PV is spread across more than one PV.. when you move it from one PV.. it only moves from that perticular PV and other PVs are not affected. This is also true even if LV is mirrored.
HTH
Manju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:46 AM
04-19-2001 06:46 AM
Re: pvmove fails withdistributed filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:31 AM
04-19-2001 07:31 AM
Re: pvmove fails withdistributed filesystem
lvchange -s g /dev/vgtest/lvol1
lvchange: Can not change to a more strict allocation policy
because LV "/dev/vgtest/lvol1" has mirrored copies.
Any help with this one ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:42 AM
04-19-2001 07:42 AM
Re: pvmove fails withdistributed filesystem
Try performing lvsplit or lvremove of the mirrored copy before enabling the strict allocation policy eg.:
# lvsplit /dev/vgtest/lvol1
Subsequently, try to recreate via lvextend or merge the mirrored copy via lvmerge.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com