add partition

Description

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

Syntax

add 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 command.

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.

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.

add 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.

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

Usage

Permissions

add partition requires “sa” permission.

See also

admin disk_space, drop partition