Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

svadm(1m) [opensolaris man page]

svadm(1M)						  System Administration Commands						 svadm(1M)

NAME
svadm - command line interface to control Availability Suite Storage Volume operations SYNOPSIS
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} DESCRIPTION
The svadm command controls the Storage Volume (SV) driver by providing facilities to enable and disable the SV driver for specified vol- umes, and to dynamically reconfigure the system. OPTIONS
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 con- figuration. 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. USAGE
When an SV volume is enabled, normal system call access to the device (see intro(2)) is redirected into the StoreEdge architecture soft- ware. 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. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWspsvr, SUNWspsvu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dscfg(1M), ds.log(4), attributes(5), sv(7D) SunOS 5.11 2 Oct 2007 svadm(1M)

Check Out this Related Man Page

vgexport(1M)															      vgexport(1M)

NAME
vgexport - export an LVM volume group and its associated logical volumes SYNOPSIS
mapfile] outfile] vg_name mapfile vg_name DESCRIPTION
Using the format of the first command line of the above, the command can be used to remove a volume group from the system. The volume group will be removed without modifying the logical volume information found on the physical volumes. The volume group identified by vg_name is removed from the or file, and the associated device files including the vg_name directory and file are removed from the system. The volume group information and data is untouched on the physical volume. These disks can be imported to another system with the command (see vgimport(1M)). Scan Option Using the format of the second command line of the above, the command generates a mapfile that can be copied to other systems that are part of a high availability cluster (use the option if you do not want to remove the volume group from the system the command is being run from) and the command (see vgimport(1M)) can be used to recreate the volume group. See also vgchange(1M). The mapfile contains a description of the volume group and its associated logical volume(s) (if any). The logical volume information found on the physical volumes is not modi- fied. Options and Arguments recognizes the following options and arguments: vg_name The path name of the volume group. By default, a file named is created in the current directory. This file contains a description of the volume group and its associated logical volume(s) (if any). Use this option to specify a different name for the file, mapfile. This file can be used as input to (see vgimport(1M)). When used with the option, the volume group specified in the mapfile can be shared with other systems in the high availability cluster. Preview the actions to be taken but do not update the or file or remove the devices file. This option is best used in conjunction with the option. Print verbose messages including the names of the physical volumes associated with this volume group. Scan option. When the option is specified, then the options must also be specified. A mapfile is created that can be used to cre- ate volume group entries on other systems in the high availability cluster (with the command). Write the current set of pv_paths for the volume group to the outfile. The outfile may then be used as the infile for the option. If used together with the option the volume group is not exported but the list of pv_paths is still written to the outfile. This may be useful to derive a list of pv_paths for the volume group or to use on another system which is sharing the volume group and which has an identical configuration. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Export the volume group into mapfile The volume group will be removed from the exporting system. Export the volume group and write the disk names into the file Create a mapfile to be copied to other systems in a high availability cluster to build the volume group information for the volume group, Note that the volume group is not removed from the exporting system. The importing systems will create the volume group with the command using the and options. SEE ALSO
vgimport(1M), vgscan(1M). vgexport(1M)
Man Page