vxencap - encapsulate partitions on a new disk
/etc/vx/bin/vxencap [ -N ] [ -g diskgroup ] [ -c ] [medianame=]accessname
/etc/vx/bin/vxencap -k [ -a ]
The vxencap script identifies any partitions on the specified disk that could be used for file systems or special areas such as swap devices, and then generates volumes to cover those areas on the disk. This process is known as encapsulation. In the case of partitions that contain file systems, the entries in /etc/vfstab will be modified to use the new volume devices.
vxencap is generally called from the vxdiskadm menus or else is called at installation time from the vxinstall script. A reboot may be necessary to complete the process of encapsulation.
- Specify that the changes that have been logged to be made during the next reboot should not be
committed. In the usual case of operation of this command, any system failure before the
reboot will cause the operations to be completed on the next reboot. With the -N flag
specified, the changes will be left uncompleted and the operation aborted should the system
fail at any point before the successful configuration change. This is accomplished by not
creating the usual /etc/vx/reconfig.d/state.d/reconfig commit file.
- -g diskgroup
- Place the encapsulated disk into the disk group specified by disk group ID or disk group name.
- This option tells the command to create a disk group if the one specified does not exist. This option
is only useful if a disk group is also supplied using the -g option.
- This option aborts encapsulation requests. Used with the -a flag specified all encapsulation
requests are aborted.
- This option specifies that all encapsulation requests are to be handled by this command. This option
is only useful with the -k flag specified.
© 1997 The Santa Cruz Operation, Inc. All rights reserved.