N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

ProcedureTo Delete Images

Steps
  1. 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 
  2. 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.