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 freeze device
nscadm unfreeze device
nscadm isfrozen device
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.
The nscadm command supports the following option.
-h
Display the usage menu.
The nscadm command line supports the following operand.
device
Specifies the storage device to be acted upon by nscadm.
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
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
scmadm(1M), attributes(5)