< Previous | Next > | |
Product: Volume Manager Manual Pages for Storage Foundation | |
Manual: Maintenance Commands (1m) |
vxrecoverNAMEvxrecover - perform volume recovery operations SYNOPSISvxrecover [-bcEmnpsvV] [-g diskgroup] [-o options] [-t tasktag] [volume | volume_set | medianame...] DESCRIPTIONThe vxrecover utility performs plex attach, RAID-5 subdisk recovery, and resynchronize operations for the specified volumes, for all volumes under the specified volume sets, or for volumes residing on the disks specified by medianame. If no medianame, volume or volume_set is specified, the operation applies to all volumes, or to all volumes in the specified disk group. If -s is specified, disabled volumes are started. With -s and -n, volumes are started, but no other recovery takes place. Recovery operations are started in an order that prevents two concurrent operations on the same disk. Operations that involve unrelated disks run in parallel. OPTIONSPerforms 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. Operates on cluster-shareable disk groups. This option is used by the cluster reconfiguration utility to effect recovery on volumes in shared disk groups after the failure of a node in the cluster. Do not use -c as a command-line option. Available only if the VERITAS Volume Manager (VxVM) cluster feature is enabled and a license is installed. Starts disabled volumes or plexes even when they are in the EMPTY state. This is useful for starting up volumes restored by the vxmake utility when specified along with the -s option. Limits operation of the command to the given disk group, as specified by disk group ID or disk group name. If no volume or medianame is specified, all disks in this disk group are recovered, otherwise, the volume and medianame are evaluated relative to the given disk group. Without the -g option, if no volume and medianame is specified, all volumes in all imported disk groups are recovered; otherwise, the disk group for each medianame specified is determined based on name uniqueness within all disk groups. Recognizes and enables volumes that were moved as a result of a disk group move, split or join operation. Does not perform any recovery operations. If used with -s, volumes are started, but no other actions are taken. If used with -p, vxrecover only prints a list of startable volumes. Passes the given option arguments to the -o options for the vxplex att and vxvol start operations generated by vxrecover. You can specify an option argument in the form prefix:options to restrict the set of commands that the -o option is applied to. Defined prefixes are:
Prints the list of selected volumes that are startable. For each startable volume, a line is printed containing the volume name, the disk group ID of the volume, the volume's usage type, and a list of state flags pertaining to mirrors of the volume. State flags include:
Starts disabled volumes that are selected by the operation. Volumes are started before any other recovery actions are taken. Volumes are started with the -o delayrecover start option. This requests that any operations that can be delayed in starting a volume are delayed. That is, only those operations necessary to make a volume available for use occur. Other operations, such as mirror resynchronization, attaching of stale plexes and subdisks, and recovery of stale RAID-5 parity, are typically delayed. If any tasks are registered to track the progress of the operation, marks them with the tag tasktag. This option is also passed to any utilities called to perform recoveries, so all tasks registered by any utility to perform the recoveries are also tagged with tasktag. Displays information about each task started by vxrecover. For recovery operations (as opposed to start operations), prints a completion status when each task completes. Displays each command executed by vxrecover. The ouput generated is more verbose than the job descriptions printed with the -v option. EXAMPLESTo recover, in the background, any detached subdisks or plexes that resulted from replacement of a specified disk, use the command: vxrecover -b medianame To monitor the operations, use the command: vxrecover -v medianame FILESStandard defaults file that can be used to determine whether FastResync is used when attaching plexes. See vxplex(1M) for details. SEE ALSOvxintro (1M), vxmake (1M), vxplex (1M), vxvol (1M), vxvset (1M) |
^ Return to Top | < Previous | Next > |
Product: Volume Manager Manual Pages for Storage Foundation | |
Manual: Maintenance Commands (1m) | |
VERITAS Software Corporation
www.veritas.com |