6.2.11. Removing a Shared Memory Pool

In order for a shared memory pool to be removed, all LPARs that use the shared memory pool must first be shut down:

$ lpar -i osshutdown aix22
$

If the LPARs are still required, they must be reconfigured to LPARs with dedicated memory. This change can only be made in the profile of the LPARs:

$ lpar -p standard chmem aix22 mem_mode=ded
$

After all shared memory LPARs have been stopped, all paging devices can be removed next:

$ vios rmpgdev ms03-vio1 hdisk4
$

Finally, the shared memory pool can be deleted, this is done using the command “ms rmmempool” (remove memory pool):

$ ms rmmempool ms03
$