Specifying always delete a container, Specifying unconditionally deleting a container, Understanding how to delete a container – HP NetRAID-4M Controller User Manual

Page 254: Specify 9-46, Understanding how to delete a container 9-46

Advertising
background image

9-46

Command Line Interface User’s Guide

Understanding the Container Delete Attributes You Can
Specify

You use the

container delete

command to delete a container.

Before deleting a container, consider the following attributes you
can specify:

Always delete container

Unconditionally delete container

Specifying Always Delete a Container

The

always

attribute indicates whether to delete a container, even if

it has a file system. If a container has a resident file system, the
container and file system are deleted simultaneously.

In the following example, the

container delete

command with

the

/always

switch deletes container 0, which has a resident file

system.

HPN0> container delete /always=TRUE 0

Executing: container delete /always=TRUE 0

Specifying Unconditionally Deleting a Container

The

unconditional

attribute indicates whether to delete a

container, even if the container has open files. A container may or
may not have open files. If a container has open files, the container
can be deleted without manually closing the open files. This switch
is not available in UNIX.

Caution:

Unconditionally deleting a container that is in use

can cause a system crash under some circumstances.

In the following example, the

container delete

command with

the /unconditional switch deletes container 0, which has open files.

HPN0> container delete /unconditional=TRUE 0

Executing: container delete /unconditional=TRUE 0

Understanding How to Delete a Container

This section provides an example that describes how to delete a
container.

!

Advertising