Home > Veritas Storage Foundation™ Volume Manager Manual Pages
VXROOTADM (1M) |
|
Maintenance Commands |
Table of contents
vxrootadm - create boot disk snapshots
, grow system volumes
vxrootadm
[-v]
[-g srcdg]
[-s srcdisk]
mksnap
targetdisk
targetdg
vxrootadm
[-v]
[-g srcdg]
[-s srcdisk]
grow
targetdisk
volume-name=new-size
vxrootadm
grow
continue
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.
vxrootadm requires the Storage Foundation Enterprise license.
The specified target disk must be a bootable disk.
-
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.
-
grow
-
Grows boot volumes such as
rootvol,
swapvol,
usr,
var,
opt,
and
home.
The
targetdisk
must have enough capacity to store all the boot volumes on the source disk
plus additional growth sizes.
The
targetdisk
should not be in use.
The
vxrootadm
command sets up
and adds the disk to the source disk group.
vxrootadm
grows specified boot volumes from the source disk to the newly
specified sizes and the results are moved to the
targetdisk.
If
vxrootadm
grows boot volumes from the current boot disk,
multiple reboots are required to complete the operation.
-
continue
-
The
vxrootadm
command continues with the growing operation after each reboot,
if you initiated the operation on the current boot disk.
-
-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.
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 c0t2d0s2 mynewdg
-
Grow the
rootvol
to the length of 15GB and
swapvol
to the length of 8GB on the source boot disk in the disk group,
mydg,
and designate the new boot disk as the target disk c0t2d0s2:
-
\f(CW# vxrootadm -g mydg grow c0t2d0s2 rootvol=15g swapvol=8g
-
-
/etc/vx/reconfig.d/state.d/vxrootadm
-
Directory containing the saved file and state information.
vxassist(1M),
vxbootsetup(1M),
vxdg(1M),
vxdisk(1M),
vxmirror(1M),
vxplex(1M),
vxprint(1M)
Last updated: 31 Aug 2008
Copyright ©2009 Symantec Corporation
All rights reserved.