HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
p
parremove(1M) parremove(1M)
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 parti-
tion.
-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 avail-
able, 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 shut-
down for reconfiguration before using the parremove command. This warning does not apply if the parti-
tion 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:
0 Successful completion.
1 Error condition occurred.
EXAMPLES
Remove the partition whose partition number is 2.
parremove -p 2
AUTHOR
parremove was developed by the Hewlett-Packard Company.
SEE ALSO
fruled(1), parstatus(1), partition(1), frupower(1M), parcreate(1M), parmodify(1M), parunlock(1M).
HP-UX Release 11i: December 2000 − 1 − Section 1M−−623
___
___