About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
How To
Summary
Steps to delete service partition by using command line
Objective
This document helps in deleting service partition by using command line in case GUI not working
Environment
These steps are applied for HMC V7 and later versions
Steps
Use the following steps to delete service partition by using HMC command line:
- First, get service partition information by running the following commands:
Use this command to list all managed systems names.
# lssyscfg -r sys -F name
Then, substitute the managed system name in the next command to get its service partition information:
# lssyscfg -r sys -m <Managed_System_Name> -F name,service_lpar_id,service_lpar_name
Output would be as follows:
name,service_lpar_id,service_lpar_name
<Managed_System_Name>,1,<Service_Partition_Name>
name,service_lpar_id,service_lpar_name
<Managed_System_Name>,1,<Service_Partition_Name>
- Second step is to set service partition as unassigned by using the following command:
# chsyscfg -r sys -m <Managed_System_Name> -i "service_lpar_id=none"
- Now, run lssyscfg command from the first step again to confirm that service partition got unassigned.
Output would be as follows:
name,service_lpar_id,service_lpar_name
<Managed_System_Name>,none,null
name,service_lpar_id,service_lpar_name
<Managed_System_Name>,none,null
- Once service partition got unassigned, it can be deleted by using the following command:
# rmsyscfg -r lpar -m <Managed_System_Name> -n <Service_Partition_Name>
Note: Deleting service partition by using rmsyscfg command without setting it as unassigned generates the following error:An error occurred while deleting the partition named <Service_Partition_Name>.
HSCL3396 Failed to delete the partition with ID 1 since it is the service partition
Document Location
Worldwide
[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SGGSNP","label":"Hardware Management Console V9"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Was this topic helpful?
Document Information
More support for:
Hardware Management Console V9
Software version:
All Version(s)
Document number:
6353321
Modified date:
22 September 2021
UID
ibm16353321
Manage My Notification Subscriptions