rmcosi Command

Purpose

Removes a Common Operating System Image (COSI).

Syntax

rmcosi [-f] [-v] COSI

Description

The rmcosi command removes a Common Operating System Image (COSI) created with the mkcosi command. If the common image to be removed is being used by thin servers, the operation fails unless the force flag (-f) is specified. The -f flag terminates any thin server sessions with the common image so that the COSI can be removed. This command depends on the bos.sysmgt.nim.master fileset being present on the system.

Flags

Item Description
-f Forces the removal of the common image. If the common image is being used by thin servers, the thin servers will be taken offline so that the common image can be removed.
-v Enables verbose debug output when the rmcosi command runs.

Exit Status

Item Description
0 The command completed successfully.
>0 An error occurred.

Security

Access Control: You must have root authority to run the rmcosi command.

Examples

  1. To common image named cosi1, enter:
    rmcosi cosi1 

Location

/usr/sbin/rmcosi

Files

Item Description
/etc/niminfo Contains variables used by NIM.