When you delete snapshots and images from the Control Center, they are only marked as deleted; they are not yet deleted from the image server and the I-Fabric. Until you delete them from the image server and the I-Fabric, you will not be able to create snapshots and images with the same names as the ones marked as deleted.
To purge snapshots and images from the image server and the I-Fabric, type the image -lR command from the control plane server to view a list of the images marked as deleted, then execute the image -d command to delete them from the I-Fabric.
Obtain a list of the images using the image command:
image-ls |
Example output when listing images:
IMAGE_ID IMAGE_NAME CUSTOMER SIZE OS STATE 1 solaris8-blade-3001 __grid__ 3004789248 solaris8 READY LOCATION: nfs://3001//images/master-images/solaris8-blade 2 solaris8-blade-3002 __grid__ 3004789248 solaris8 READY LOCATION: nfs://3002//images/master-images/solaris8-blade 3 solaris8-blade-3003 __grid__ 3004789248 solaris8 READY nfs://3003//images/master-images/solaris8-blade |
Type one of the following commands to delete the image:
image -d {-s | customer_name} [-L URL] name
|
image -d [-L URL] image ID |
For example:
image -d -s js-sample-new Delete system image js-sample-new (y/n)? y Queueing request to delete image ... Request (id: 1633) submitted. Waiting for request 1633 to complete... . Deleting image content at: nfs://3001/images/master-images/js-sample size: 0 ip: 10.2.2.1 State: created |
The image -d command deletes an image from the image server and removes the entry for that image from the CPDB. It also scrubs and frees the disk. You then use the Administration dialog of the Control Center to synchronize the Control Center with the CPDB. See the N1 Provisioning Server 3.1, Blades Edition, Control Center Management Guide for details.