ENCINA(8) — Maintenance
NAME
tkadmin recreate lvol - re-creates a deleted logical volume
SYNOPSIS
tkadmin recreate lvol -server servername lvolname pvolname
ARGUMENTS
-server servername Specifies the server affected by the command. The server name is the name that is registered with the DCE Directory Service. If the server name is not specified in the command line, it is retrieved from an environment variable, ENCINA_TK_SERVER.
lvolname Specifies the logical volume to recreate.
pvolname Specifies the physical volume to back the logical volume.
DESCRIPTION
The tkadmin recreate lvol command is used to recreate a deleted logical volume by establishing a mapping to an existing physical volume. This command is used to recreate a logical volume that once existed but had all of its physical volumes destroyed (for example, by a disk crash). This is usually a prelude to restoring the contents of the logical volume from a backup via the tkadmin restore lvols command. The difference between this command and the tkadmin create lvol command is that this makes the contents of the logical volume visible via the same logical volume name that was previously used.
NOTES
This command is not for use on the AIX operating system. “Recreating” logical volumes on AIX is done by remapping the Encina logical volume to the AIX operating system logical volume. You must use the tkadmin remap lvol command to “recreate” a logical volume on AIX.
EXAMPLES
The following command recreates the logical volume named lvol1 by mapping it to the physical volume named pvol1:
% tkadmin recreate lvol lvol1 pvol1
PRIVILEGE REQUIRED
Encina Monitor administer (a) permission to the node manager
Encina RQS administer (a) permission to the RQS server
Encina SFS administer (A) permission to the SFS server
RELATED INFORMATION
tkadmin delete lvol
— March 1997