- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvreduce -m 0 multiple PV's
Operating System - HP-UX
1753777
Members
7363
Online
108799
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
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
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
12-12-2007 08:30 AM
12-12-2007 08:30 AM
Re: lvreduce -m 0 multiple PV's
Thanks for all the replys. I ran pvmove -n /dev/vg/lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 08:30 AM
12-12-2007 08:30 AM
Re: lvreduce -m 0 multiple PV's
>To repair the damage done by specifying just 4 PV's of the 16 on the lvreduce >-m 0 command, I think I need to use pvmove as follows:
And specify all the disks from the old frame by using the continuation character "\" at the end of the line for all disks that you want removed from the mirror copy.
lvreduce -m 0 /dev/vg??/lvol?? /dev/dsk/c6t0d4 /dev/dsk/c6t0d5 \
/dev/dsk/c6t0d6 /dev/dsk/c0t6d7 \
/dev/dsk/c6t1d0 /dev/dsk/c6t1d1 \
/dev/dsk/c6t1d2 /dev/dsk/c6t1d3 \
/dev/dsk/c6t1d4 /dev/dsk/c6t1d5 \
/dev/dsk/c6t1d6 /dev/dsk/c6t1d7
>pvmove -n /dev/vg/lvolc12) PVG01 (which is the pvg containing the c6 disks. This will move the >extends sitting on c12 (new disk frame) back to c6 (old disk frame). I can then >remirror them to c12 and lvreduce -m 0 properly.
Yes you would need to use pvmove(1M) to rollback the changes.
>What your take.
Please attach lvdisplay of the corrupt lvol and contents of the /etc/lvmpvg file.
And specify all the disks from the old frame by using the continuation character "\" at the end of the line for all disks that you want removed from the mirror copy.
lvreduce -m 0 /dev/vg??/lvol?? /dev/dsk/c6t0d4 /dev/dsk/c6t0d5 \
/dev/dsk/c6t0d6 /dev/dsk/c0t6d7 \
/dev/dsk/c6t1d0 /dev/dsk/c6t1d1 \
/dev/dsk/c6t1d2 /dev/dsk/c6t1d3 \
/dev/dsk/c6t1d4 /dev/dsk/c6t1d5 \
/dev/dsk/c6t1d6 /dev/dsk/c6t1d7
>pvmove -n /dev/vg/lvol
Yes you would need to use pvmove(1M) to rollback the changes.
>What your take.
Please attach lvdisplay of the corrupt lvol and contents of the /etc/lvmpvg file.
- « Previous
-
- 1
- 2
- Next »
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