HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: oops I meant mirrorux
Operating System - HP-UX
1833461
Members
3205
Online
110052
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
10-17-2003 04:33 AM
10-17-2003 04:33 AM
oops I meant mirrorux. Thanks.
I've lvextended and lvreduced hundreds of times without any problems.
But the HP support team says I quote:
"
It is critical to ensure that all I/O has been flushed to both copies of
the mirrored logical volume(s) before reducing one of the mirror copies;
the only way to guarantee this is to stop the application, unmount the
filesystems or raw volumes, and deactivate the volume groups that are
affected
NOTE: these steps need to be done on all 9 systems, however they can
be performed one system at a time if desired
a) Confirm mirrors are sync'd before proceeding
# vgdisplay -v (ensure all LVs are sync'd)
b) Ensure the I/O is flushed to each logical volume
Stop application
umount filesystems
deactivate VGs
# vgdisplay (only vg00 should be active)
c) Reduce a mirror from each logical volume
# vgchange -a y /dev/vgxx
# vgdisplay -v
# lvreduce -m 0 /dev/VGxx/LVx /dev/dsk/...
# lvdisplay -v /dev/VGxx/LVx
# vgreduce /dev/VGxx /dev/dsk/... (alternate link)
# vgreduce /dev/VGxx /dev/dsk/... (primary link)
# vgdisplay -v /dev/VG
# strings /etc/lvmtab
"
They say if you really want to do this with your filesystems active you need to buy vxvm.
Just wondered if anyone else had heard this?
I've lvextended and lvreduced hundreds of times without any problems.
But the HP support team says I quote:
"
It is critical to ensure that all I/O has been flushed to both copies of
the mirrored logical volume(s) before reducing one of the mirror copies;
the only way to guarantee this is to stop the application, unmount the
filesystems or raw volumes, and deactivate the volume groups that are
affected
NOTE: these steps need to be done on all 9 systems, however they can
be performed one system at a time if desired
a) Confirm mirrors are sync'd before proceeding
# vgdisplay -v (ensure all LVs are sync'd)
b) Ensure the I/O is flushed to each logical volume
Stop application
umount filesystems
deactivate VGs
# vgdisplay (only vg00 should be active)
c) Reduce a mirror from each logical volume
# vgchange -a y /dev/vgxx
# vgdisplay -v
# lvreduce -m 0 /dev/VGxx/LVx /dev/dsk/...
# lvdisplay -v /dev/VGxx/LVx
# vgreduce /dev/VGxx /dev/dsk/... (alternate link)
# vgreduce /dev/VGxx /dev/dsk/... (primary link)
# vgdisplay -v /dev/VG
# strings /etc/lvmtab
"
They say if you really want to do this with your filesystems active you need to buy vxvm.
Just wondered if anyone else had heard this?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 05:28 AM
10-17-2003 05:28 AM
Solution
I've heard of LVM's 'vgchange' and synchronization but I've never heard of VXVM's 'vgrecover' sync'ing.
From the LVM 'vgsync' man pages:
"...The synchronization process can be time consuming, depending on the hardware characteristics and the amount of data. Unless disabled, the mirrors within a volume group are synchronized automatically when the volume group is activated by the vgchange -a y command..."
From the VXVM 'vgrecover' man pages:
"...-b Performs recovery operations in the background. With this option, vxrecover runs in the background to attach stale plexes and subdisks, and to resynchronize mirrored volumes and RAID-5 parity. If this is used with -s, volumes are started before recovery begins in the background...."
Here's the vgrecover url:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/04/491-con.html&toc=/hpux/onlinedocs/B9106-90008/00/04/491-toc.html&searchterms=vxrecover&queryid=20031017-112322
From the LVM 'vgsync' man pages:
"...The synchronization process can be time consuming, depending on the hardware characteristics and the amount of data. Unless disabled, the mirrors within a volume group are synchronized automatically when the volume group is activated by the vgchange -a y command..."
From the VXVM 'vgrecover' man pages:
"...-b Performs recovery operations in the background. With this option, vxrecover runs in the background to attach stale plexes and subdisks, and to resynchronize mirrored volumes and RAID-5 parity. If this is used with -s, volumes are started before recovery begins in the background...."
Here's the vgrecover url:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90008/B9106-90008_top.html&con=/hpux/onlinedocs/B9106-90008/00/04/491-con.html&toc=/hpux/onlinedocs/B9106-90008/00/04/491-toc.html&searchterms=vxrecover&queryid=20031017-112322
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 05:50 AM
10-17-2003 05:50 AM
Re: oops I meant mirrorux
sorry this was a reply to a previous post.
ouch.
ouch.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP