Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing and Managing HP-UX Virtual Partitions (vPars) > Chapter 5 Monitor and Shell Commands

Removing a Partition

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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”):

    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.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.