Home > Veritas Storage Foundation™ Volume Manager Manual Pages

VXROOTADM (1M)

Maintenance Commands

Table of contents


NAME

vxrootadm - create boot disk snapshots

SYNOPSIS

vxrootadm [-v] [-g srcdg] [-s srcdisk] mksnap targetdisk targetdg

DESCRIPTION

The vxrootadm utility performs basic administrative operations on encapsulated boot disks. Operations include taking snapshots of a boot disk and growing boot volumes. The first operand is a keyword that determines the operation. The remaining operands specify the configuration objects to which the operation is to be applied.

Not more than one instance of the utility can be executed at anytime. Each operation can be applied to only one disk group and one source disk at a time.

The source disk can be the current boot disk by default or another boot disk in a different disk group. If the source disk is ambiguous, a combination of the options -g and -s is necessary.

srcdisk
Specifies the source disk.
srcdg
Specifies the source disk group.
targetdisk
Specifies the target disk.
targetdg
Specifies the target disk group.

NOTES

vxrootadm requires the Storage Foundation Enterprise license.

The specified target disk must be a bootable disk.


KEYWORDS

mksnap
Makes a snapshot of a boot disk for safekeeping in case of failure to the source disk. The targetdisk must have enough capacity to store all volumes on the source disk. The targetdisk should not be in use. The vxrootadm command sets up and adds the disk to the source disk group. vxrootadm mirrors all the volumes from the source disk onto the targetdisk, then the targetdisk splits from the source disk group and vxrootadm creates a new targetdg.


OPTIONS

-g
Specifies the source disk group.
-s
Specifies the source disk.
-v
Verbose mode. Displays current status and other utilities that are called during execution of vxrootadm.

EXAMPLES

Take a snapshot of the boot disk in the disk group, mydg, and put a snapshot of the boot disk on the targetdisk in the new disk group, mynewdg:

\f(CW# vxrootadm -g mydg mksnap sda mynewdg


FILES

/etc/vx/reconfig.d/state.d/vxrootadm
Directory containing the saved file and state information.


SEE ALSO

vxassist(1M), vxbootsetup(1M), vxdg(1M), vxdisk(1M), vxmirror(1M), vxplex(1M), vxprint(1M)

Last updated: 17 Jul 2008
Copyright ©2009 Symantec Corporation
All rights reserved.