NAME
vxrootmir — create a mirror of a VERITAS Volume Manager (VxVM) root disk
SYNOPSIS
/etc/vx/bin/vxrootmir
[-v]
[-t
tasktag]
{disk_medianame|disk_accessname}
DESCRIPTION
The
vxrootmir
command creates mirrors of all of the volumes
on a VxVM rootable boot disk and makes the new disk bootable.
The disk to be used as a mirror can be specified as either
a disk media name (DM) or a disk access name (DA).
If a
disk_medianame
name is specified, then it is validated to make sure
that it exists and has been properly initialized.
This validation includes making sure the private region is at the
same location, has the same length as the primary rootdisk, and
that the sum of the lengths of all of the subdisks located
on the primary root disk will fit within the available space of
the public region of the specified DM.
If a
disk_accessname
name is specified, then it is validated to make sure
it exists, is not in use and that the sum of the lengths of
all of the subdisks on the primary root disk will fit within
the bounds of what will be the public region.
The DA is then initialized to contain the same private region offset and
length as the primary root disk.
A DM name is assigned to it based on the name prefix
rootdisk
with the next available number following it (for example,
rootdisk02,
rootdisk03,
and so on).
All volumes having a subdisk on the primary VxVM root disk
are mirrored on the specified DM or DA.
When the rootvol volume is mirrored,
vxassist(1M)
execs
vxbootsetup(1M)
to set the new disk up as a boot disk.
Options
- -v
Print verbose output. Since mirroring volumes could
take a long time depending on the length of the volume, the
-v
option produces a timestamped informative
message telling the user what operation is taking place.
- -t tasktag
If any tasks are registered to track the progress
of an operation, mark them with the tag
tasktag.
This option is passed to
vxassist
when mirroring volumes, so any child tasks are also tagged with
tasktag.