NAME
parremove — remove an existing partition
SYNOPSIS
parremove
-p
PartitionNumber
[-F]
[-k
s_lock:p_lock]
DESCRIPTION
The
parremove
command removes an existing partition. This will
unassign all cells from the partition and destroy the partition definition.
Options and Arguments
parremove
recognizes the following command line options and arguments:
- -p PartitionNumber
Specifies the partition to be removed.
PartitionNumber
specifies the unique partition number (integer) assigned to the partition.
- -F
Forcibly remove the partition.
If the partition is inactive, the partition
is removed.
If the partition is active and if it is the current partition,
the partition is removed.
If the partition is active but is not the current
partition, then the partition will not be removed.
Note:
The partition in which the command is executing is called the current
partition.
- -k s_lock:p_lock
Specifies the lock keys provided by SAM for Stable Complex Configuration Data
and Partition Configuration Data.
The lock keys should always be specified
in pairs. If any lock key is not available,
-1
should be specified. For
example: if the
s_lock
is available but the
p_lock
is not available, then
it should be specified as
-k s_lock:-1.
Note:
The
-k
option is not available to the command line user.
This command fails if a partition is booted/active. This means all
the cells in the partition must be shutdown for reconfiguration
before using the
parremove
command.
This warning does not apply if the partition being deleted is the current
partition and the
-F
option has been specified.
Root permissions are required to run this command.
EXIT STATUS
The
parremove
utility exits with one of the following values:
- 1
Error condition occurred.
EXAMPLES
Remove the partition whose partition number is
2.
AUTHOR
parremove
was developed by the Hewlett-Packard Company.