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]
svadm -h
svadm -v
svadm [-C tag]
svadm [-C tag] -i
svadm [-C tag] -e {-f config_file | volume}
svadm [-C tag] -d {-f config_file | volume}
svadm [-C tag] -r {-f config_file | volume}
The svadm command controls the Storage Volume (SV) driver by providing facilities to enable and disable the SV driver for specified volumes, and to dynamically reconfigure the system.
If you specify no arguments to an svadm command, the utility displays the list of volumes currently under SV control. svadm supports the following options:
-C tag
On a clustered node, limits operations to only those volumes belonging to the cluster resource group, or disk group name, specified by tag. This option is illegal on a system that is not clustered. The special tag, local, can be used to limit operations to only those volumes that cannot switch over to other nodes in the cluster.
-d
Disables the SV devices specified on the command line or in the configuration file. If -C tag is specified with this option, then the volume should be in this cluster disk group.
-e
Enables the SV devices specified on the command line or in the configuration file. Details of the volume are saved in the current configuration. See dscfg(1M). If -C tag is specified with this option, then the volume should be in this cluster disk group.
-f config_file
Specifies a configuration file that contains a list of volumes. A command reads this volume list and then perform the operation. The format of the config_file is a simple list of volume pathnames, one per line. Blank lines and lines starting with the comment character (#) are ignored.
-h
Displays the svadm usage summary.
-i
Displays extended status for the volumes currently under SV control.
-r
When a config_file is specified, reconfigure the running system to match the configuration specified in the config_file. When the -C option is specified, compare the cluster tag for each volume and change it to cluster_tag. If a volume is specified with this option, it is valid only to reconfigure the cluster tag associated with the volume. The -e or -d options should be used to enable or disable single volumes.
-v
Displays the SV version number.
When an SV volume is enabled, normal system call access to the device (see intro(2)) is redirected into the StoreEdge architecture software. This allows standard applications to use StorageTek features such as Sun StorageTek Point-in-Time Copy and Remote Mirror Software.
The svadm command generates an entry in the Availability Suite log file, /var/adm/ds.log (see ds.log(4)), when performing enable (-e) and disable (-d) operations.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
dscfg(1M), ds.log(4), attributes(5), sv(7D)