Veritas™ Volume Manager Administrator's Guide
- Understanding Veritas Volume Manager
- VxVM and the operating system
- How VxVM handles storage management
- Volume layouts in VxVM
- Online relayout
- Volume resynchronization
- Dirty region logging
- Volume snapshots
- FastResync
- Provisioning new usable storage
- Administering disks
- Disk devices
- Discovering and configuring newly added disk devices
- Discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Changing the disk-naming scheme
- Adding a disk to VxVM
- Rootability
- Displaying disk information
- Removing disks
- Removing and replacing disks
- Administering Dynamic Multi-Pathing
- How DMP works
- Administering DMP using vxdmpadm
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Online dynamic reconfiguration
- Reconfiguring a LUN online that is under DMP control
- Creating and administering disk groups
- About disk groups
- Displaying disk group information
- Creating a disk group
- Importing a disk group
- Moving disk groups between systems
- Handling cloned disks with duplicated identifiers
- Handling conflicting configuration copies
- Reorganizing the contents of disk groups
- Destroying a disk group
- Creating and administering subdisks and plexes
- Displaying plex information
- Reattaching plexes
- Creating volumes
- Types of volume layouts
- Creating a volume
- Using vxassist
- Creating a volume on specific disks
- Creating a mirrored volume
- Creating a striped volume
- Creating a volume using vxmake
- Initializing and starting a volume
- Using rules and persistent attributes to make volume allocation more efficient
- Administering volumes
- Displaying volume information
- Monitoring and controlling tasks
- Reclamation of storage on thin reclamation arrays
- Stopping a volume
- Resizing a volume
- Adding a mirror to a volume
- Preparing a volume for DRL and instant snapshots
- Adding traditional DRL logging to a mirrored volume
- Enabling FastResync on a volume
- Performing online relayout
- Adding a RAID-5 log
- Creating and administering volume sets
- Configuring off-host processing
- Administering hot-relocation
- How hot-relocation works
- Moving relocated subdisks
- Administering cluster functionality (CVM)
- Overview of clustering
- Multiple host failover configurations
- CVM initialization and configuration
- Dirty region logging in cluster environments
- Administering VxVM in cluster environments
- Changing the CVM master manually
- Importing disk groups as shared
- Administering sites and remote mirrors
- About sites and remote mirrors
- Fire drill - testing the configuration
- Changing the site name
- Administering the Remote Mirror configuration
- Failure and recovery scenarios
- Performance monitoring and tuning
- Appendix A. Using Veritas Volume Manager commands
- Appendix B. Configuring Veritas Volume Manager
Controlling Powerfail Timeout
Powerfail Timeout is an attribute of a SCSI disk connected to an HP-UX host. This is used to detect and handle I/O on non-responding disks.
See the pfto
(7) man page.
VxVM uses this mechanism in its Powerfail Timeout (PFTO) feature. You can specify a timeout value for individual VxVM disks using the vxdisk command. If the PFTO setting for a disk I/O is enabled, the underlying driver returns an error without retrying the I/O if the disk timer (PFTO) expires and the I/O does not return from the disk.
You can set the PFTO values on a disk or set of disks within a disk group using the command line. PFTO helps in preventing system hangs due to non-responding disks.
Starting with Storage Foundation release 5.0.1, Powerfail Timeout (PFTO) has the following default values:
Disabled for HP-UX native multi-pathing devices
Enabled for the DMP multi-pathing devices.
The default PFTO value is 30 seconds.
You can change the PFTO settings as required. In some cases, when you upgrade Storage Foundation, the upgrade process resets the PFTO settings for existing devices to the default values. For information about how PFTO settings are handled during various upgrade cases, see the Storage Foundation High Availability Installation Guide.
To set PFTO value on a disk, use the following command:
$ vxdisk -g dg_name set disk_name pfto=value
For example, to set the PFTO value of 50sec on the disk c5t0d6:
$ vxdisk -g testdg set c5t0d6 pfto=50
To set the PFTO on a disk group, use the following command:
$ vxpfto -g dg_name -t 50
For example, to set the PFTO on all disks in the diskgroup testdg:
$ vxpfto -g testdg -t 50
To show the PFTO value and whether PFTO is enabled or disabled for a disk, use one of the following commands:
$ vxprint -g <dg_name> -l <disk_name>
$ vxdisk -g <dg_name> list <disk_name>
The output shows the pftostate
field, which indicates whether PFTO is enabled or disabled. The timeout
field shows the PFTO timeout value.
timeout: 30 pftostate: disabled
The output shows:
Device: c5t0d6 devicetag: c5t0d6 ... timeout: 30 pftostate: disabled ...
To enable or disable PFTO on a disk, use the following command:
$ vxdisk -g dg_name set disk_name pftostate={enabled|disabled}
For example, to disable PFTO on the disk c5t0d6:
$ vxdisk -g testdg set c5t0d6 pftostate=disabled
To enable or disable PFTO on a disk group, use the following command:
$ vxpfto -g dg_name -o pftostate={enabled|disabled}
For example, to disable PFTO on all disks in the diskgroup testdg:
$ vxpfto -g testdg -o pftostate=disabled