| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > vvxrelayout(1M) |
|
NAMEvxrelayout — convert online storage from one layout to another SYNOPSISvxrelayout [-f] [-g diskgroup] [-o useopt] [-R request_portal] [-t tasktag] [-T taskid] [-U usetype] reverse volume vxrelayout [-f] [-g diskgroup] [-o useopt] [-R request_portal] [-t tasktag] [-T taskid] [-U usetype] start volume vxrelayout status volume vxrelayout help DESCRIPTIONOnline relayout is a process where storage in a volume or a plex is converted from one layout to another maintaining data availability at all times. You can convert any supported Volume Manager layout to another and change the stripe width or the number columns. You can also do just stripe width and column changes. The transformation of a volume or a plex must be initiated using the vxassist(1M) utility. vxassist creates necessary infrastructure and storage needed to perform the layout transformation and invokes vxrelayout internally to actually perform the transformation. Because vxrelayout depends on vxassist to do all the setup before a layout transformation can begin, the vxassist utility must be used to initiate any layout transformation. The vxtask(1M) utility can monitor the state of an ongoing transformation. Because these transformations are time consuming (mainly depending on the volume size and chunk size), they can be interrupted because of a system crash, I/O failure, or the user voluntarily stopping the transformation process either by aborting the task associated with the transformation using vxtask or by killing the transformation process. It is not advisable to use kill -9 to stop the transformations. The vxrelayout utility can be used to continue or reverse a transformation process because of such interruptions. The Volume Manager responses to possible interruptions are:
The first operand is a keyword that determines whether a layout conversion is to be continued, reversed, or to display the status of any existing transformation in the volume. For example, if a RAID-5 volume is being converted to STRIPED volume, reversal of such an operation will revert all data and storage in STRIPED format to the RAID-5 format. A reversal of a reversal is equivalent to a continue. Even though such a capability of direction change can be used ad infinitum, it has been provided with an objective to react to unforeseen situations. It is advisable that such direction changes are done with care. The direction of a transformation can be determined using the status operation provided in the vxrelayout utility. This command will determine if any plex in the volume is being transformed and display its characteristics. The second operand is the name of the topmost volume to which the plex undergoing relayout is attached. If there are multiple plexes in the volume and only one of them is being transformed, the vxrelayout utility will select the appropriate plex using the supplied volume name. It should be noted that there can only be one relayout operation happening in a volume at any instant of time. A specific disk group can be forced with -g diskgroup. This operation can be applied only to disk groups with version 60 or above (see vxdg(1M)) and only one disk group at a time due to internal implementation constraints. The supported storage layouts are:
See the VERITAS Volume Manager Administrator's Guide for more information. KEYWORDS
OPTIONS
EXIT CODESvxrelayout exits with a non-zero status if the operation fails. A non-zero exit code is not a complete description of the problem; it only indicates the first condition that prevented further execution. See vxintro(1M) for a list of standard exit codes. EXAMPLESCheck the progress of conversion of the volume homevol: vxrelayout status homevol Restart conversion of the volume homevol at a slow rate in the background (layout conversion having previously been stopped by using the pause keyword in vxtask): vxrelayout -o slow,BG start homevol Reverse conversion of the volume homevol (layout conversion having previously been stopped): vxrelayout reverse homevol SEE ALSOkill(1), vxassist(1M), vxdg(1M), vxintro(1M), vxrecover(1M), vxrelocd(1M), vxtask(1M). VERITAS Volume Manager Administrator's Guide |
||||||||||||||||||||||||||||
|
|||||||||||||||