- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "lvchange -s g -D f" online execute?
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
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
тАО03-10-2009 05:52 AM
тАО03-10-2009 05:52 AM
Vg01 has created pvg01 and most of lv use distribution(lvcreate -s g -D y). But one of lv( name lvdt27)hasn't used "-s g -D y".But customer hope to change lvdt27 to pvg-strict/distribution after mirror .
My action plan:
vgextend /dev/vg01 -g pvg_new ...
lvextend -m 1 "another lv"
lvchange -s g -D f /dev/vg01/lvdt27
lvextend -m 1 /dev/vg01/lvdt27 pvg_new
lvreduce -m 0 /dev/vg01/lvdt27 ...
vgreduce ...
My question:
My action is right?
I can execute command "lvchange -s g -D f /dev/vg01/lvdt27" online, cann't I?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 06:44 AM
тАО03-10-2009 06:44 AM
Re: "lvchange -s g -D f" online execute?
All steps looks ok , except
>>lvchange -s g -D f /dev/vg01/lvdt27<<
Above command to change the PVG-Strict or Distributed allocation policies.
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 11:12 AM
тАО03-10-2009 11:12 AM
SolutionDid something like this a few days ago, and it worked pretty well for me. My problem what that someone created a mirrored LV without distributing LE against disks ...
After "lvchange -s g -D f /dev/vg01/lvdt27" or "lvextend -m 1 /dev/vg01/lvdt27 pvg_new" you will see that /dev/vg01/lvdt27 is "PVG-Strict/partially-distributed"
After "lvreduce -m 0 /dev/vg01/lvdt27 ..." you will see that lvdt27 will become "PVG-Strict/distributed". That's because there will be no more contiguous extend in the LV.
Just be aware that when you will "lvreduce -m 0 dev/vg01/lvdt27 disk1 disk2 ...", you will have to specify all the disks that are in the old pvg01
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2009 10:18 PM
тАО03-10-2009 10:18 PM
Re: "lvchange -s g -D f" online execute?
Thanks for your reply.
I can execute command "lvchange -s g -D f /dev/vg01/lvdt27" online, cann't I?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 02:18 AM
тАО03-11-2009 02:18 AM
Re: "lvchange -s g -D f" online execute?
Yes you can do lvchange on line.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2009 03:37 AM
тАО03-11-2009 03:37 AM
Re: "lvchange -s g -D f" online execute?
Thank you very much.
Sun WeiFeng