create partition

Description

Makes a partition available to Replication Server. A partition can be a disk partition or an operating system file.

Syntax

create partition logical_name
on 'physical_name' with size size
[starting at vstart]

Parameters

logical_name

A name for the partition. The name must conform to the rules for identifiers. The name is also used in the drop partition and alter partition commands.

physical_name

The full specification of the partition. This name must be enclosed in single quotation marks.

size

The size, in megabytes, of the partition. Maximum size possible is 1TB.

starting at vstart

Specifies the number of megabytes (vstart) to offset from the beginning of the partition.

Examples

Example 1

Adds a 20MB partition named P1 on the device named /dev/rsd0a:

create partition P1 on '/dev/rsd0a' with size 20

Example 2

Adds a 20MB partition named P1 on the device named /dev/rsd0a. Since an offset of 1MB is specified, however, the total usable partition space available to Replication Server is 19MB:

create partition P1 on '/dev/rsd0a' with size 20
 starting at 1

Usage

Permissions

create partition requires “sa” permission.

See also

admin disk_space, drop partition, alter partition