Deleting a logical partition

You can use the Hardware Management Console (HMC) to delete a logical partition and all of the partition profiles associated with the logical partition.

Before you begin

You cannot delete a logical partition if it is the service logical partition of your managed system. Before you can delete such a logical partition, you must designate another logical partition as the service logical partition of your managed system or remove the service logical partition designation from the logical partition.

Before you delete a logical partition, complete the following steps:

  1. Shut down the logical partition that you plan to delete. For instructions, see Shutting down and restarting logical partitions.
  2. If the logical partition that you plan to delete is a Virtual I/O Server logical partition that is assigned to the shared memory pool (hereafter referred to as a paging VIOS partition), remove the paging VIOS partition from the shared memory pool. For instructions, see Removing a paging VIOS partition from the shared memory pool.

When you delete a logical partition that uses shared memory, the HMC automatically performs the following tasks:

  • The HMC removes the shared memory partition from the shared memory pool.
  • The HMC returns the physical memory that was allocated to the shared memory partition for its I/O devices to the shared memory pool so that the hypervisor can allocate the physical memory to other shared memory partitions.
  • The HMC releases the paging space device that was allocated to the shared memory partition so that it becomes available for other shared memory partitions to use.
Attention: This procedure erases the logical partition and the logical partition configuration data stored on the partition profiles.

About this task

To delete a logical partition, complete the following steps:
  1. In the navigation pane, click the Resources icon The icon represents the Resources function of the HMC.
  2. Click All Partitions. The All Partitions page is displayed.
  3. Select the logical partition and click Tasks > Delete Partition. You can select the Cleanup associated Virtual I/O Server mappings check box and the Delete associated virtual disks check box.
  4. Click OK to confirm.