xref: /titanic_52/usr/src/man/man1m/nscadm.1m (revision 49d3bc91e27cd871b950d56c01398fa2f2e12ab4)
te
Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
nscadm 1M "2 Oct 2007" "SunOS 5.11" "System Administration Commands"
NAME
nscadm - network storage control utility
SYNOPSIS

nscadm freeze device

nscadm unfreeze device

nscadm isfrozen device
DESCRIPTION

The nscadm command performs several network storage control functions.

The nscadm freeze command closes existing references to the specified device, and blocks future accesses. This allows maintenance of virtual volume device drivers (for example, RAID 0, RAID 1, RAID 5) to be performed without shutting down the system.

The nscadm unfreeze command reverses the effects of nscadm freeze for the specified device.

The nscadm isfrozen command returns the current status of the specified device.

OPTIONS

The nscadm command supports the following option.

-h

Display the usage menu.

OPERANDS

The nscadm command line supports the following operand.

device

Specifies the storage device to be acted upon by nscadm.

EXIT STATUS

For the freeze and unfreeze, subcommands nscadm returns the following exit values:

0

Success

255

Error

For the isfrozen subcommand, nscadm returns the following exit values:

0

Device is currently frozen.

1

Device is not currently frozen.

255

Error

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving
SEE ALSO

scmadm(1M), attributes(5)