- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM- Default timeout. for pvchange
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
06-01-2001 09:49 AM
06-01-2001 09:49 AM
LVM- Default timeout. for pvchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 09:59 AM
06-01-2001 09:59 AM
Re: LVM- Default timeout. for pvchange
The default timeout value is driver specific. For the most part, the defaults work fine.
You can use pvdisplay to display the timeout values but if set to default then that is all you know. The one exception I've found that needs to be set are AutoRAID LUN's. There I would set them to 90-120 seconds. You may not be aware that once an alternate link has been used, it does not automatically switch back over once the primary is back up.
REgards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 10:17 AM
06-01-2001 10:17 AM
Re: LVM- Default timeout. for pvchange
It appears from Knowledge Base document #A5166495 that the default value is 30-seconds when the PV TIMEOUT value is set to zero (denoting default behavior).
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 10:23 AM
06-01-2001 10:23 AM
Re: LVM- Default timeout. for pvchange
Also. KB item #KBRC00005073 documents the LVM 'autoswitch' parameter of 11.x.
/begin_quote/
The autoswitch parameter was added with the LVM commands patch PHCO_20870. It causes the display of the setting of the auto-switch-back parameter of the physical device, which can be set using the pvchange command.
pvchange -S y/n is used to set this option.
From the pvchange man page:
On dual controller devices, pvchange sets the permission that controls whether or not the system will automatically switch from the current controller to the original controller after the original controller has recovered from a failure. It also permits you to switch manually to a controller on the device other than the current controller.
Dual Controller devices those disk devices that have more than one physical
path to the disk device. These are usually dedicated disk racks, arrays, etc.
with multiple SCSI or Fibre Channel bus controllers in them, which provide a
secondary path for the system to access the actual disk media in the cabinet.
LVM calls these multiple physical paths to a device "alternate paths" or "pvlinks".
When these paths are configured, one of the paths is designated as the "primary" path by the order in which they are added to the Volume Group. If autoswitch is "on", and the path used to access the device switches to the
alternate because of some failure, when the primary path recovers the path used to access the device will switch back to the primary path. If autoswitch is off, the path will stay switched until the administrator intervenes.
Autoswitch = on is the default setting, and it does not do or mean anything unless you have multiple paths to the physical disk devices.
/end_quote/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2001 10:51 AM
06-05-2001 10:51 AM
Re: LVM- Default timeout. for pvchange
The only way is scripting.
for i in `ls /dev/dsk/*`
do
pvchange -t 120 $i
done
lvlnboot -R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2001 05:09 AM
06-07-2001 05:09 AM
Re: LVM- Default timeout. for pvchange
Default I heard is 30 seconds, however in 11i it is 90 seconds.
You can change it with pvchange -t
Note that an alternate link will not automatically switch unless configured. pvchange -x and pvchange -s for switching policy and force switch. Once your server activates the vg it will use the first instance found in the lvmtab as the pri link.
Later,
Bill