 7dbc71a70a
			
		
	
	7dbc71a70a
	
	
	
		
			
			Updated commit message. Removed the "-" from "system-" when it is a command. Fixed syntax error: removed a "-" is added in step 6. Closes-bug: 1995741 Change-Id: I1c59b66ef6b7ffcd39e41d92fd6fc59e053c4eab Signed-off-by: Elaine Fonaro <elaine.fonaro@windriver.com>
		
			
				
	
	
	
		
			1.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.2 KiB
		
	
	
	
	
	
	
	
Delete a Physical Volume
You can delete a physical volume using the system host-pv-delete
command.
- You must lock a host before you can modify its settings. - ~(keystone_admin)$ system host-lock <hostname>
- A suitable local volume group must exist on the host. For more information, see - Work with Physical Volumes <work-with-physical-volumes>.
- An unused disk or partition must be available on the host. For more information about partitions, see - Work with Disk Partitions <work-with-disk-partitions>.
The syntax of the command is:
system host-pv-delete <hostname> <uuid>where:
- <hostname>
- 
is the name or ID of the host. 
- <uuid>
- 
is the uuid of the physical volume. 
For example, to delete a physical volume from compute-1, use the following command.
~(keystone_admin)]$ system host-pv-delete compute-1 9f93c549-e26c-4d4c-af71-fb84e3fcae63