drop partition

Removes a disk partition from the Replication Server.

Syntax

drop partition logical_name

Parameters

Examples

Usage

  • Use drop partition to remove a disk partition. This command first marks the partition as “pending drop.” Once it is marked, no new data is written on the partition.

    After all of the data stored on the partition has been successfully delivered, the partition is dropped.

    Note: If not all the data stored on the partition is ready to drop, drop partition can create confusing behavior. For example, when a partition queue contains a segment that is filled only partially, the queue cannot drop until the segment is filled. Since the partition is designated “pending drop,” the segment cannot fill, and the command fails to drop the partition.
  • For a complete discussion of recovering from failed partitions, see the Replication Server Administration Guide Volume 2.

Permissions

drop partition requires “sa” permission.

Related reference
admin disk_space
alter partition
create partition