- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvdisplay and vgdisplay
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
07-26-2007 07:51 AM
07-26-2007 07:51 AM
pvdisplay and vgdisplay
VGDA 2
Stale PE 0
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2007 08:35 AM
07-26-2007 08:35 AM
Re: pvdisplay and vgdisplay
should provide the information you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2007 08:38 AM
07-26-2007 08:38 AM
Re: pvdisplay and vgdisplay
See the manpages for 'pvdisplay' and 'vgdisplay'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2007 08:39 AM
07-26-2007 08:39 AM
Re: pvdisplay and vgdisplay
and
# man pvchange
should give you all the information you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2007 04:13 PM
07-26-2007 04:13 PM
Re: pvdisplay and vgdisplay
The results when performing an immediate path switch using 'pvchange -s' while autoswitchback is enabled, can seem
unpredictable. When manually switching paths, autoswitchback should be disabled.
Background
LVM provides multipathing support for multiported devices. LVM's multipath support uses only one active path where the other path(s) are on standby. When the current path becomes unavailable, LVM will switch to the first available standby path. The paths are selected in the order they were configured.
The pvchange command provides several options for managing LVM behavior with paths:
"The -s (lower case s) option (immediate switch) requests that the specified path be used for all future I/O.
"The -S (upper case s) option (autoswitchback) when set (default value), tells LVM to automatically switch to the
best available path. When autoswitchback is disabled, LVM will still switch paths when the current path becomes unavailable, but it will not switch back to a higher priority
path that returns. The pvdisplay command will show the current autoswitchback setting.
Make note that the best available path is determined based on the order the paths were configured into the volume group (using vgcreate, vgextend, vgimport or vgscan). The order can be determined by using vgdisplay or pvdisplay and changed using vgreduce and vgextend.
When performing an immediate link switch (using pvchange -s), LVM's behavior will vary depending upon the autoswitchback (-S)
setting.
"When autoswitchback (-S) is disabled, LVM will switch paths as directed by pvchange -s (immediate switch) and continue to use this path until it becomes unavailable or another manual switch is performed.
"When autoswitchback (-S) is enabled, LVM will switch to the selected path as directed by pvchange -s. However to comply with the autoswitchback setting, LVM will switch back to the best available path.
Conclusion
If you want to manually select a path using pvchange -s, autoswitchback should be disabled first
stale is related to the mirrorring in the LV.
man vgdisplay for VGDA