Symantec logo

vxbootsetup

NAME

vxbootsetup - set up system boot information on a Veritas Volume Manager disk

SYNOPSIS

/etc/vx/bin/vxbootsetup [-g diskgroup] [-n] [medianame...]

DESCRIPTION

The vxbootsetup utility configures physical disks so that they can be used to boot the system. Before vxbootsetup is called to configure a disk, mirrors of the root, swap, /usr and /var volumes (if they exist) should be created on the disk. These mirrors should be restricted mirrors of the volume. The vxbootsetup utility configures a disk by writing a boot track at the beginning of the disk and by creating physical disk partitions in the UNIX VTOC that match the mirrors of the root, swap, /usr and /var.

With no medianame arguments, all disks that contain usable mirrors of the root, swap, /usr and /var volumes are configured to be bootable. If medianame arguments are specified, only the named disks are configured.

vxbootsetup requires that the root volume is named rootvol and has a usage type of root. The swap volume is required to be named swapvol and to have a usage type of swap. The volumes containing /usr and /var (if any) are expected to be named usr and var, respectively.

Root, swap, /usr and /var volumes are created when the original system boot disk is encapsulated with the vxencap utility or when Veritas Volume Manager (VxVM) is first set up on the system. (/usr and /var are only encapsulated if they existed on the system; see the Veritas Volume Manager Administrator's Guide and the vxencap(1M) man page for details on encapsulating the boot disk.)

See the chapter on recovery in the Veritas Volume Manager Troubleshooting Guide for detailed information on how the system boots and how VxVM impacts the system boot process.

The following utilities call vxbootsetup automatically: vxmirror, vxrootmir, vxresize, and vxencap. If you use vxassist or vxmake and vxplex to create mirrors of the root volume on a disk, you must call vxbootsetup directly to make that disk bootable.

OPTIONS

-g diskgroup

Specifies the disk group for the operation, either by disk group ID or by disk group name. If this option is not specified, the default disk group is determined using the rules given in the vxdg(1M) manual page.

-n

The default behavior of vxbootsetup is to create partitions for non-system volumes on a disk device. This option prevents such partitions from being created.

NOTES

EFI disks cannot be set up as system boot disks.

SEE ALSO

vxdisksetup(1M), vxedvtoc(1M), vxassist(1M), vxdg(1M), vxevac(1M), vxinstall(1M), vxintro(1M), vxmake(1M), vxmirror(1M), vxplex(1M), vxrootmir(1M), vxresize(1M)

Veritas Volume Manager Administrator's Guide
Veritas Volume Manager Troubleshooting Guide