Installing and Managing HP-UX Virtual Partitions (A.01.01)
Monitor and Shell Commands
Removing a Partition
Chapter 592
Removing a Partition
To remove a virtual partition, use vparremove. vparremove purges the
partition from the vPars partition database. Any resources dedicated to
the virtual partition are now free to allocate to a different partition.
You need to shutdown the partition before attempting removal. If the
target partition is running, vparremove will fail.
Example To remove a partition named winona2:
1. If the partition is running, shutdown the partition:
winona2# vparstatus
winona2# shutdown -h
2. From the running partition winona1, verify the target partition
winona2 has entered the down state (for more information on
partition states, see “Obtaining Monitor and Hardware Resource
Information” on page 95):
winona1# vparstatus | grep winona2
winona2 Down Dyn,Auto /stand/vmunix
winona2 1/ 8 2 1 2 0/ 0 1280
3. After the partition is in the down state, remove the partition
winona2:
winona1# vparremove -p winona2
TIP When a partition is removed, data residing on the disk(s) of the target
partition is not removed. If you have removed a partition by accident,
you may be able to recover the partition by immediately re-creating the
same partition with the same assigned resources.