3557 dumpvp_size is not updated correctly when a dump zvol's size is changed
[unleashed.git] / usr / src / man / man1m / metaimport.1m
blob1c28d9841a882d6f684e1728f532f9deb4afbdaf
1 '\" te
2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH METAIMPORT 1M "Oct 28, 2005"
7 .SH NAME
8 metaimport \- imports disk sets into existing Solaris Volume Manager
9 configurations
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBmetaimport\fR \fB-s\fR \fIsetname\fR [\fB-n\fR] [\fB-f\fR] [\fB-v\fR] [\fIdisks\fR]...
14 .fi
16 .LP
17 .nf
18 \fBmetaimport\fR \fB-r\fR [\fB-v\fR] [\fIdisks\fR]...
19 .fi
21 .LP
22 .nf
23 \fBmetaimport\fR \fB-V\fR
24 .fi
26 .LP
27 .nf
28 \fBmetaimport\fR \fB-?\fR
29 .fi
31 .SH DESCRIPTION
32 .sp
33 .LP
34 The \fBmetaimport\fR command allows the importing of disk sets, including
35 replicated disk sets, into an existing Solaris Volume Manager configuration.
36 Replicated disk sets are disk sets created using remote replication software.
37 .sp
38 .LP
39 The default Solaris Volume Manager configuration specifies a maximum number of
40 disk sets that can be configured. The \fBmetaimport\fR command fails if
41 importing the disk set would result in exceeding the number of disk sets
42 configured on the system. To increase the number of disk sets allowed on a
43 system, see the \fI\fR.
44 .sp
45 .LP
46 Use \fBmetaset\fR(1M) or \fBmetastat\fR(1M) to view the configuration of the
47 imported set.
48 .sp
49 .LP
50 You must run \fBmetaimport\fR as root.
51 .sp
52 .LP
53 \fBmetaimport\fR requires a functional Solaris Volume Manager configuration
54 before it runs.
55 .SH OPTIONS
56 .sp
57 .LP
58 The following options are supported:
59 .sp
60 .ne 2
61 .na
62 \fB\fB-f\fR\fR
63 .ad
64 .RS 14n
65 Force the import, even if a quorum of replicas from the imported disk set is
66 not available. This option could result in corrupt configurations and should
67 only be used when \fBmetaimport\fR fails with the "Insufficient quorum
68 detected; exiting" error. If only a partial disk set is available, this option
69 might be necessary to successfully import. Some or all data could be corrupted
70 or unavailable when importing a partial set or a set lacking a replica quorum.
71 .RE
73 .sp
74 .ne 2
75 .na
76 \fB\fB-n\fR\fR
77 .ad
78 .RS 14n
79 Does not actually perform the operation, but shows the output or errors that
80 would have resulted from the operation, had it been run.
81 .RE
83 .sp
84 .ne 2
85 .na
86 \fB\fB-r\fR\fR
87 .ad
88 .RS 14n
89 Report on the non-configured disk sets found on the system. If no disk device
90 or LUN is specified, \fBmetaimport\fR reports on all non-configured disk sets
91 attached to the system. When the name of one disk is specified,
92 \fBmetaimport\fR reports on the disk set (or virtual LUN) containing the
93 specified disk. If two or more disks are specified, metaimport reports on the
94 set (or sets, if they belong to different disk sets) containing the specified
95 disks. If two or more disks are specified, \fBmetaimport\fR reports on the set
96 (or sets, if they belong to different disk sets) containing the specified
97 disks.
98 .sp
99 This option can be used in conjunction with the \fB-v\fR option to give verbose
100 output on each disk set reported.
104 .ne 2
106 \fB\fB-s\fR \fIsetname\fR\fR
108 .RS 14n
109 Specify the disk set name to use when importing. The imported disk set will be
110 called \fIsetname\fR, without regard to the name it may have had on a different
111 system.
115 .ne 2
117 \fB\fB-v\fR\fR
119 .RS 14n
120 Verbose. Provides detailed information about the \fBmetadb\fR replica location
121 and status. It also provides detailed information about the disk set
122 configuration and status similar to the "\fBmetastat -c\fR" output.
126 .ne 2
128 \fB\fB-V\fR\fR
130 .RS 14n
131 Version information.
135 .ne 2
137 \fB\fB-?\fR\fR
139 .RS 14n
140 Display a help message.
143 .SH EXAMPLES
145 \fBExample 1 \fRImporting a Disk Set
148 The following example creates a disk set called \fBblue\fR and identifies
149 \fBc1t5d0\fR as a disk containing a state database replica from the disk set
150 being imported.
153 .in +2
155 # metaimport -s blue c1t5d0
157 .in -2
161 \fBExample 2 \fRReporting Disk Sets to Import
164 The following example scans all disks and LUNs attached to the system and
165 configured as part of the system. It scans for disks that could be part of a
166 disk set to be imported. Components that are already part of the Solaris Volume
167 Manager configuration are ignored.
171 This use of \fBmetaimport\fR provides suggested forms of the \fBmetaimport\fR
172 command to use to actually import the disk sets that have been found. You can
173 specify a component on the command line to reduce the scope of the scan and
174 generate results more quickly.
177 .in +2
179  # metaimport -r
181 .in -2
184 .SH EXIT STATUS
186 .ne 2
188 \fB\fB0\fR\fR
190 .RS 6n
191 Successful completion.
195 .ne 2
197 \fB\fB>0\fR\fR
199 .RS 6n
200 An error occurred.
203 .SH ATTRIBUTES
206 See \fBattributes\fR(5) for descriptions of the following attributes:
211 box;
212 c | c
213 l | l .
214 ATTRIBUTE TYPE  ATTRIBUTE VALUE
216 Interface Stability     Stable
219 .SH SEE ALSO
222 \fBmdmonitord\fR(1M), \fBmetaclear\fR(1M), \fBmetadb\fR(1M),
223 \fBmetadetach\fR(1M), \fBmetahs\fR(1M), \fBmetainit\fR(1M),
224 \fBmetaoffline\fR(1M), \fBmetaonline\fR(1M), \fBmetaparam\fR(1M),
225 \fBmetarecover\fR(1M), \fBmetareplace\fR(1M), \fBmetaroot\fR(1M),
226 \fBmetaset\fR(1M), \fBmetastat\fR(1M), \fBmetasync\fR(1M), \fBmetattach\fR(1M),
227 \fBmd.tab\fR(4), \fBmd.cf\fR(4), \fBmddb.cf\fR(4), \fBattributes\fR(5)
230 \fI\fR