lun delete

Removes a particular LUN from the Oracle FS System.

SYNOPSIS

lun ‑delete 
   ‑lun lun‑id‑or‑fqn [,lun‑id‑or‑fqn ]...
   [‑suppressWarnings]

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

The lun ‑delete command removes the specified LUN and all clones, host mappings, and group mappings that are associated with the LUN. If you omit the ‑suppressWarnings option, the Oracle FS System prompts you to confirm the deletion of the clones and the mappings.

Note: Only administrators with primary administrator, admin1, or admin2 roles are authorized to run the lun ‑delete command.

OPTIONS

lun

Specifies the ID or the fully qualified name (FQN) of the LUN. If specifying two or more LUNs, provide a comma-separated list. All clones of the specified LUN are also deleted.

suppressWarnings

Requests that the Oracle FS System not display a message on the command line to warn the administrator that all the Clone LUNs, the host mappings, and the host group mappings will be deleted. If omitted, the Oracle FS System prompts you to confirm the deletion of all Clone LUNs, host mappings, and host group mappings.

EXAMPLE

Task

Remove a LUN from the Oracle FS System, including all the clone LUNs, the host mappings, and the host group mappings that are associated with the LUN.

Parameters
  • The name of the LUN: DISK1

  • The volume group in which the LUN resides: /⁠user1_vg

$ fscli lun ‑delete ‑lun /⁠user1_vg/⁠DISK1