Purpose
The REBUILDMAP command rebuilds the cylinder allocation map on a storage device after the block code or cylinder ID control fields of a cylinder index have been manually changed or patched. Such changes will not be effective until the allocation map has been rebuilt.
Rebuilding the map requires a Teradata Database restart, which is performed automatically by REBUILDMAP.
REBUILDMAP can be used only when Teradata Database is not running, and Filer scope is set to a single AMP vproc. For more information on scope, see SCOPE (or VPROC).
Rebuilding the allocation map on a device destroys the existing allocation map. For more information on the proper use of this command to repair large file system structures, see Repairing Cylinders.
Syntax
- cylid
- Specifies the original cylinder ID of the modified cylinder. cylid is the 64-bit identifier of a cylinder, entered as a 16-character hexadecimal number.