]>
Commit | Line | Data |
---|---|---|
269930c0 AK |
1 | /* |
2 | * Copyright (C) 2001 Sistina Software | |
3 | * | |
4 | * LVM is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2, or (at your option) | |
7 | * any later version. | |
8 | * | |
9 | * LVM is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with LVM; see the file COPYING. If not, write to | |
16 | * the Free Software Foundation, 59 Temple Place - Suite 330, | |
17 | * Boston, MA 02111-1307, USA. | |
18 | * | |
19 | */ | |
20 | ||
5a52dca9 AK |
21 | /*********** Replace with script? |
22 | xx(e2fsadm, | |
23 | "Resize logical volume and ext2 filesystem", | |
24 | "e2fsadm " | |
25 | "[-d|--debug] " "[-h|--help] " "[-n|--nofsck]" "\n" | |
26 | "\t{[-l|--extents] [+|-]LogicalExtentsNumber |" "\n" | |
27 | "\t [-L|--size] [+|-]LogicalVolumeSize[kKmMgGtT]}" "\n" | |
28 | "\t[-t|--test] " "\n" | |
29 | "\t[-v|--verbose] " "\n" | |
30 | "\t[--version] " "\n" | |
31 | "\tLogicalVolumePath" "\n", | |
32 | ||
33 | extents_ARG, size_ARG, nofsck_ARG, test_ARG) | |
34 | *********/ | |
35 | ||
dcc31da5 AK |
36 | xx(dumpconfig, |
37 | "Dump active configuration", | |
38 | "dumpconfig <filename>\n") | |
39 | ||
269930c0 AK |
40 | xx(help, |
41 | "Display help for commands", | |
a03f2320 | 42 | "help <command>" "\n") |
269930c0 | 43 | |
677a06d5 | 44 | /********* |
269930c0 AK |
45 | xx(lvactivate, |
46 | "Activate logical volume on given partition(s)", | |
e6efb2b0 | 47 | "lvactivate " |
c80325ca AK |
48 | "\t[-d|--debug]\n" |
49 | "\t[-h|--help]\n" | |
50 | "\t[-v|--verbose]\n" | |
e6efb2b0 | 51 | "Logical Volume(s)\n") |
677a06d5 | 52 | ***********/ |
269930c0 AK |
53 | |
54 | xx(lvchange, | |
55 | "Change the attributes of logical volume(s)", | |
56 | "lvchange\n" | |
c80325ca AK |
57 | "\t[-A|--autobackup y|n]\n" |
58 | "\t[-a|--available y|n]\n" | |
59 | "\t[-C|--contiguous y|n]\n" | |
60 | "\t[-d|--debug]\n" | |
0b946db9 | 61 | "\t[-f|--force]\n" |
c80325ca | 62 | "\t[-h|--help]\n" |
5a52dca9 | 63 | "\t[--ignorelockingfailure]\n" |
27f364af | 64 | "\t[-M|--persistent y|n] [--major major] [--minor minor]\n" |
c80325ca AK |
65 | "\t[-P|--partial] " "\n" |
66 | "\t[-p|--permission r|rw]\n" | |
67 | "\t[-r|--readahead ReadAheadSectors]\n" | |
68 | "\t[-t|--test]\n" | |
69 | "\t[-v|--verbose]\n" | |
4c64ed4c | 70 | "\t[--version]" "\n" |
269930c0 AK |
71 | "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n", |
72 | ||
0b946db9 | 73 | autobackup_ARG, available_ARG, contiguous_ARG, force_ARG, |
27f364af | 74 | ignorelockingfailure_ARG, major_ARG, minor_ARG, partial_ARG, permission_ARG, |
c80325ca | 75 | persistent_ARG, readahead_ARG, test_ARG) |
269930c0 AK |
76 | |
77 | xx(lvcreate, | |
78 | "Create a logical volume", | |
03888774 | 79 | "lvcreate " "\n" |
0eb83127 | 80 | "\t[-A|--autobackup {y|n}]\n" |
0eb83127 JT |
81 | "\t[-C|--contiguous {y|n}]\n" |
82 | "\t[-d|--debug]\n" | |
c80325ca | 83 | "\t[-h|-?|--help]\n" |
0eb83127 JT |
84 | "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" |
85 | "\t{-l|--extents LogicalExtentsNumber |\n" | |
86 | "\t -L|--size LogicalVolumeSize[kKmMgGtT]}\n" | |
27f364af | 87 | "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n" |
0eb83127 JT |
88 | "\t[-n|--name LogicalVolumeName]\n" |
89 | "\t[-p|--permission {r|rw}]\n" | |
90 | "\t[-r|--readahead ReadAheadSectors]\n" | |
0eb83127 JT |
91 | "\t[-t|--test]\n" |
92 | "\t[-v|--verbose]\n" | |
93 | "\t[-Z|--zero {y|n}]\n" | |
94 | "\t[--version]\n" | |
c80325ca | 95 | "\tVolumeGroupName [PhysicalVolumePath...]\n\n" |
8b46b545 | 96 | |
c80325ca | 97 | "lvcreate -s|--snapshot\n" |
8b46b545 HM |
98 | "\t[-c|--chunksize]\n" |
99 | "\t[-A|--autobackup {y|n}]\n" | |
100 | "\t[-C|--contiguous {y|n}]\n" | |
101 | "\t[-d|--debug]\n" | |
c80325ca | 102 | "\t[-h|-?|--help]\n" |
8b46b545 HM |
103 | "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" |
104 | "\t{-l|--extents LogicalExtentsNumber |\n" | |
105 | "\t -L|--size LogicalVolumeSize[kKmMgGtT]}\n" | |
27f364af | 106 | "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n" |
8b46b545 HM |
107 | "\t[-n|--name LogicalVolumeName]\n" |
108 | "\t[-p|--permission {r|rw}]\n" | |
109 | "\t[-r|--readahead ReadAheadSectors]\n" | |
110 | "\t[-t|--test]\n" | |
111 | "\t[-v|--verbose]\n" | |
112 | "\t[--version]\n" | |
113 | "\tOriginalLogicalVolume[Path] [PhysicalVolumePath...]\n\n", | |
a03f2320 | 114 | |
27f364af | 115 | autobackup_ARG, chunksize_ARG, contiguous_ARG, extents_ARG, major_ARG, minor_ARG, |
fbbe942c AK |
116 | name_ARG, permission_ARG, persistent_ARG, readahead_ARG, size_ARG, |
117 | snapshot_ARG, stripes_ARG, stripesize_ARG, test_ARG, zero_ARG) | |
269930c0 AK |
118 | |
119 | xx(lvdisplay, | |
120 | "Display information about a logical volume", | |
121 | "lvdisplay\n" | |
c80325ca AK |
122 | "\t[-c|--colon]\n" |
123 | "\t[-d|--debug]\n" | |
124 | "\t[-h|--help]\n" | |
8b46b545 | 125 | "\t[--ignorelockingfailure]\n" |
c80325ca | 126 | "\t[-m|--maps]\n" |
4c64ed4c | 127 | "\t[--nosuffix]\n" |
c80325ca | 128 | "\t[-P|--partial] " "\n" |
4c64ed4c | 129 | "\t[--units hsbkmgtHKMGT]\n" |
c80325ca | 130 | "\t[-v|--verbose]\n" |
4c64ed4c AK |
131 | "\t[--version]" "\n" |
132 | "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n" | |
133 | "\n" | |
134 | "lvdisplay --columns|-C\n" | |
135 | "\t[--aligned]\n" | |
136 | "\t[-d|--debug]\n" | |
137 | "\t[-h|--help]\n" | |
138 | "\t[--ignorelockingfailure]\n" | |
139 | "\t[--noheadings]\n" | |
140 | "\t[--nosuffix]\n" | |
141 | "\t[-o|--options [+]Field[,Field]]\n" | |
142 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
143 | "\t[-P|--partial] " "\n" | |
144 | "\t[--segments]\n" | |
145 | "\t[--separator Separator]\n" | |
146 | "\t[--unbuffered]\n" | |
147 | "\t[--units hsbkmgtHKMGT]\n" | |
148 | "\t[-v|--verbose]\n" | |
149 | "\t[--version]" "\n" | |
150 | "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n", | |
269930c0 | 151 | |
4c64ed4c AK |
152 | aligned_ARG, colon_ARG, columns_ARG, disk_ARG, ignorelockingfailure_ARG, |
153 | maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, sort_ARG, | |
154 | partial_ARG, segments_ARG, separator_ARG, unbuffered_ARG, units_ARG) | |
269930c0 AK |
155 | |
156 | xx(lvextend, | |
157 | "Add space to a logical volume", | |
158 | "lvextend\n" | |
c80325ca AK |
159 | "\t[-A|--autobackup y|n]\n" |
160 | "\t[-d|--debug]\n" | |
161 | "\t[-h|--help]\n" | |
52dc2139 | 162 | "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" |
c80325ca AK |
163 | "\t{-l|--extents [+]LogicalExtentsNumber |\n" |
164 | "\t -L|--size [+]LogicalVolumeSize[kKmMgGtT]}\n" | |
165 | "\t[-t|--test]\n" | |
166 | "\t[-v|--verbose]\n" | |
4c64ed4c | 167 | "\t[--version]" "\n" |
269930c0 AK |
168 | "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n", |
169 | ||
5a52dca9 AK |
170 | autobackup_ARG, extents_ARG, size_ARG, stripes_ARG, |
171 | stripesize_ARG, test_ARG) | |
269930c0 AK |
172 | |
173 | xx(lvmchange, | |
a03f2320 | 174 | "With the device mapper, this is obsolete and does nothing.", |
03888774 | 175 | "lvmchange\n" |
c80325ca AK |
176 | "\t[-d|--debug]\n" |
177 | "\t[-h|--help]\n" | |
178 | "\t[-R|--reset]\n" | |
4c64ed4c AK |
179 | "\t[-v|--verbose]\n" |
180 | "\t[--version]" "\n", | |
269930c0 | 181 | |
a03f2320 | 182 | reset_ARG) |
269930c0 AK |
183 | |
184 | xx(lvmdiskscan, | |
185 | "List devices that may be used as physical volumes", | |
186 | "lvmdiskscan\n" | |
c80325ca AK |
187 | "\t[-d|--debug]\n" |
188 | "\t[-h|--help]\n" | |
4c64ed4c AK |
189 | "\t[-l|--lvmpartition]\n" |
190 | "\t[--version]" "\n", | |
269930c0 AK |
191 | |
192 | lvmpartition_ARG) | |
193 | ||
194 | xx(lvmsadc, | |
195 | "Collect activity data", | |
196 | "lvmsadc\n" | |
c80325ca AK |
197 | "\t[-d|--debug]\n" |
198 | "\t[-h|--help]\n" | |
199 | "\t[-v|--verbose]\n" | |
4c64ed4c | 200 | "\t[--version]" "\n" |
269930c0 AK |
201 | "\t[LogFilePath]\n" ) |
202 | ||
203 | xx(lvmsar, | |
204 | "Create activity report", | |
205 | "lvmsar\n" | |
c80325ca AK |
206 | "\t[-d|--debug]\n" |
207 | "\t[-f|--full]\n" | |
208 | "\t[-h|--help]\n" | |
209 | "\t[-s|--stdin]\n" | |
210 | "\t[-v|--verbose]\n" | |
4c64ed4c | 211 | "\t[--version]" "\n" |
269930c0 AK |
212 | "\tLogFilePath\n", |
213 | ||
8b46b545 | 214 | full_ARG, stdin_ARG) |
269930c0 AK |
215 | |
216 | xx(lvreduce, | |
217 | "Reduce the size of a logical volume", | |
218 | "lvreduce\n" | |
c80325ca AK |
219 | "\t[-A|--autobackup y|n]\n" |
220 | "\t[-d|--debug]\n" | |
221 | "\t[-f|--force]\n" | |
222 | "\t[-h|--help]\n" | |
223 | "\t{-l|--extents [-]LogicalExtentsNumber |\n" | |
224 | "\t -L|--size [-]LogicalVolumeSize[kKmMgGtT]}\n" | |
225 | "\t[-t|--test]\n" | |
226 | "\t[-v|--verbose]\n" | |
4c64ed4c | 227 | "\t[--version]" "\n" |
269930c0 AK |
228 | "\tLogicalVolume[Path]\n", |
229 | ||
230 | autobackup_ARG, force_ARG, extents_ARG, | |
c2d72fd4 | 231 | size_ARG, test_ARG, yes_ARG) |
269930c0 AK |
232 | |
233 | xx(lvremove, | |
234 | "Remove logical volume(s) from the system", | |
235 | "lvremove\n" | |
c80325ca AK |
236 | "\t[-A|--autobackup y|n]\n" |
237 | "\t[-d|--debug]\n" | |
238 | "\t[-f|--force]\n" | |
239 | "\t[-h|--help]\n" | |
240 | "\t[-t|--test]\n" | |
241 | "\t[-v|--verbose]\n" | |
4c64ed4c | 242 | "\t[--version]" "\n" |
269930c0 AK |
243 | "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n", |
244 | ||
c2d72fd4 | 245 | autobackup_ARG, force_ARG, test_ARG) |
269930c0 AK |
246 | |
247 | xx(lvrename, | |
248 | "Rename a logical volume", | |
249 | "lvrename " | |
a03f2320 AK |
250 | "\t[-A|--autobackup {y|n}] " "\n" |
251 | "\t[-d|--debug] " "\n" | |
c80325ca | 252 | "\t[-h|-?|--help] " "\n" |
a03f2320 AK |
253 | "\t[-t|--test] " "\n" |
254 | "\t[-v|--verbose]" "\n" | |
255 | "\t[--version] " "\n" | |
256 | "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n" | |
257 | "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n", | |
269930c0 | 258 | |
c2d72fd4 | 259 | autobackup_ARG, test_ARG) |
269930c0 | 260 | |
03a8a07d AK |
261 | xx(lvresize, |
262 | "Resize a logical volume", | |
263 | "lvresize\n" | |
c80325ca AK |
264 | "\t[-A|--autobackup y|n]\n" |
265 | "\t[-d|--debug]\n" | |
266 | "\t[-h|--help]\n" | |
52dc2139 | 267 | "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" |
c80325ca AK |
268 | "\t{-l|--extents [+|-]LogicalExtentsNumber |\n" |
269 | "\t -L|--size [+|-]LogicalVolumeSize[kKmMgGtT]}\n" | |
c2d72fd4 | 270 | "\t[-t|--test]\n" |
c80325ca | 271 | "\t[-v|--verbose]\n" |
4c64ed4c | 272 | "\t[--version]" "\n" |
03a8a07d AK |
273 | "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n", |
274 | ||
c2d72fd4 AK |
275 | autobackup_ARG, extents_ARG, size_ARG, stripes_ARG, stripesize_ARG, |
276 | test_ARG) | |
03a8a07d | 277 | |
4c64ed4c AK |
278 | xx(lvs, |
279 | "Display information about logical volumes", | |
280 | "lvs" "\n" | |
281 | "\t[--aligned]\n" | |
282 | "\t[-d|--debug]\n" | |
283 | "\t[-h|--help]\n" | |
284 | "\t[--ignorelockingfailure]\n" | |
285 | "\t[--noheadings]\n" | |
286 | "\t[--nosuffix]\n" | |
287 | "\t[-o|--options [+]Field[,Field]]\n" | |
288 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
289 | "\t[-P|--partial] " "\n" | |
290 | "\t[--segments]\n" | |
291 | "\t[--separator Separator]\n" | |
292 | "\t[--unbuffered]\n" | |
293 | "\t[--units hsbkmgtHKMGT]\n" | |
294 | "\t[-v|--verbose]\n" | |
295 | "\t[--version]" "\n" | |
296 | "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n", | |
297 | ||
298 | aligned_ARG, ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, | |
299 | options_ARG, partial_ARG, segments_ARG, separator_ARG, sort_ARG, | |
300 | unbuffered_ARG, units_ARG) | |
301 | ||
269930c0 AK |
302 | xx(lvscan, |
303 | "List all logical volumes in all volume groups", | |
a03f2320 AK |
304 | "lvscan " "\n" |
305 | "\t[-b|--blockdevice] " "\n" | |
306 | "\t[-d|--debug] " "\n" | |
c80325ca | 307 | "\t[-h|-?|--help] " "\n" |
8b46b545 | 308 | "\t[--ignorelockingfailure]\n" |
6b4c9ff7 | 309 | "\t[-P|--partial] " "\n" |
a03f2320 AK |
310 | "\t[-v|--verbose] " "\n" |
311 | "\t[--version]\n", | |
269930c0 | 312 | |
8b46b545 | 313 | blockdevice_ARG, disk_ARG, ignorelockingfailure_ARG, partial_ARG) |
269930c0 AK |
314 | |
315 | xx(pvchange, | |
316 | "Change attributes of physical volume(s)", | |
317 | "pvchange\n" | |
c80325ca AK |
318 | "\t[-A|--autobackup y|n]\n" |
319 | "\t[-d|--debug]\n" | |
320 | "\t[-h|--help]\n" | |
321 | "\t[-v|--verbose]\n" | |
4c64ed4c | 322 | "\t[--version]" "\n" |
c80325ca | 323 | "\t[-a|--all]\n" |
c2d72fd4 | 324 | "\t[-t|--test]\n" |
c80325ca | 325 | "\t[-x|--allocatable y|n]\n" |
269930c0 AK |
326 | "\t[PhysicalVolumePath...]\n", |
327 | ||
8b46b545 | 328 | all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, test_ARG) |
269930c0 AK |
329 | |
330 | xx(pvcreate, | |
331 | "Initialize physical volume(s) for use by LVM", | |
a03f2320 | 332 | "pvcreate " "\n" |
5a52dca9 | 333 | "\t[--restorefile file]\n" |
a03f2320 AK |
334 | "\t[-d|--debug]" "\n" |
335 | "\t[-f[f]|--force [--force]] " "\n" | |
c80325ca | 336 | "\t[-h|-?|--help] " "\n" |
5a52dca9 AK |
337 | "\t[--labelsector sector] " "\n" |
338 | "\t[-M|--metadatatype 1|2]" "\n" | |
339 | "\t[--metadatacopies #copies]" "\n" | |
340 | "\t[--metadatasize MetadataSize[kKmMgGtT]]" "\n" | |
341 | "\t[--setphysicalvolumesize PhysicalVolumeSize[kKmMgGtT]" "\n" | |
a03f2320 | 342 | "\t[-t|--test] " "\n" |
add7dc2d | 343 | "\t[-u|--uuid uuid] " "\n" |
a03f2320 | 344 | "\t[-v|--verbose] " "\n" |
5a52dca9 | 345 | "\t[-y|--yes]" "\n" |
a03f2320 AK |
346 | "\t[--version] " "\n" |
347 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
269930c0 | 348 | |
5a52dca9 AK |
349 | force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG, |
350 | metadatasize_ARG, physicalvolumesize_ARG, restorefile_ARG, uuidstr_ARG, | |
351 | yes_ARG) | |
269930c0 AK |
352 | |
353 | xx(pvdata, | |
354 | "Display the on-disk metadata for physical volume(s)", | |
a03f2320 AK |
355 | "pvdata " "\n" |
356 | "\t[-a|--all] " "\n" | |
357 | "\t[-d|--debug] " "\n" | |
358 | "\t[-E|--physicalextent] " "\n" | |
c80325ca | 359 | "\t[-h|-?|--help]" "\n" |
a03f2320 AK |
360 | "\t[-L|--logicalvolume] " "\n" |
361 | "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n" | |
362 | "\t[-U|--uuidlist] " "\n" | |
363 | "\t[-v[v]|--verbose [--verbose]] " "\n" | |
364 | "\t[-V|--volumegroup]" "\n" | |
365 | "\t[--version] " "\n" | |
366 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
269930c0 AK |
367 | |
368 | all_ARG, logicalextent_ARG, physicalextent_ARG, | |
369 | physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG) | |
370 | ||
371 | xx(pvdisplay, | |
4c64ed4c | 372 | "Display various attributes of physical volume(s)", |
269930c0 | 373 | "pvdisplay\n" |
c80325ca AK |
374 | "\t[-c|--colon]\n" |
375 | "\t[-d|--debug]\n" | |
376 | "\t[-h|--help]\n" | |
8b46b545 | 377 | "\t[--ignorelockingfailure]\n" |
c80325ca | 378 | "\t[-m|--maps]\n" |
4c64ed4c | 379 | "\t[--nosuffix]\n" |
c80325ca | 380 | "\t[-s|--short]\n" |
4c64ed4c | 381 | "\t[--units hsbkmgtHKMGT]\n" |
c80325ca | 382 | "\t[-v|--verbose]\n" |
4c64ed4c AK |
383 | "\t[--version]" "\n" |
384 | "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n" | |
385 | "\n" | |
386 | "pvdisplay --columns|-C\n" | |
387 | "\t[--aligned]\n" | |
388 | "\t[-d|--debug]\n" | |
389 | "\t[-h|--help]\n" | |
390 | "\t[--ignorelockingfailure]\n" | |
391 | "\t[--noheadings]\n" | |
392 | "\t[--nosuffix]\n" | |
393 | "\t[-o|--options [+]Field[,Field]]\n" | |
394 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
395 | "\t[--separator Separator]\n" | |
396 | "\t[--unbuffered]\n" | |
397 | "\t[--units hsbkmgtHKMGT]\n" | |
398 | "\t[-v|--verbose]\n" | |
399 | "\t[--version]" "\n" | |
400 | "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n", | |
269930c0 | 401 | |
4c64ed4c AK |
402 | aligned_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, maps_ARG, |
403 | noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG, short_ARG, | |
404 | sort_ARG, unbuffered_ARG, units_ARG) | |
269930c0 | 405 | |
269930c0 AK |
406 | xx(pvmove, |
407 | "Move extents from one physical volume to another", | |
43ecb8ff | 408 | "pvmove " "\n" |
3a61b054 | 409 | "\t[--abort]\n" |
43ecb8ff | 410 | "\t[-A|--autobackup {y|n}]\n" |
3a61b054 | 411 | "\t[-b|--background]\n" |
43ecb8ff AK |
412 | "\t[-d|--debug]\n " |
413 | "\t[-f|--force]\n" | |
414 | "\t[-h|-?|--help]\n" | |
415 | "\t[-i|--interval seconds]\n" | |
416 | "\t[-t|--test]\n " | |
417 | "\t[-v|--verbose]\n " | |
418 | "\t[--version]\n" | |
57c74fb5 | 419 | "\t[{-n|--name} LogicalVolume]\n" |
43ecb8ff AK |
420 | /* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */ |
421 | "\tSourcePhysicalVolume\n" | |
422 | /* "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n" */ | |
423 | "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n", | |
269930c0 | 424 | |
3a61b054 AK |
425 | abort_ARG, autobackup_ARG, background_ARG, force_ARG, interval_ARG, name_ARG, |
426 | test_ARG) | |
269930c0 | 427 | |
5a52dca9 AK |
428 | xx(pvremove, |
429 | "Remove LVM label(s) from physical volume(s)", | |
430 | "pvremove " "\n" | |
431 | "\t[-d|--debug]" "\n" | |
432 | "\t[-f[f]|--force [--force]] " "\n" | |
c80325ca | 433 | "\t[-h|-?|--help] " "\n" |
5a52dca9 AK |
434 | "\t[-y|--yes]" "\n" |
435 | "\t[-t|--test] " "\n" | |
436 | "\t[-v|--verbose] " "\n" | |
437 | "\t[-y|--yes]" "\n" | |
438 | "\t[--version] " "\n" | |
439 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
440 | ||
441 | force_ARG, test_ARG, yes_ARG) | |
442 | ||
9c42e035 HM |
443 | xx(pvresize, |
444 | "Resize a physical volume in use by a volume group", | |
5a52dca9 AK |
445 | "Not implemented. Use pvcreate options.", |
446 | /*** | |
447 | "pvresize " | |
9c42e035 HM |
448 | "[-A|--autobackup {y|n}] " |
449 | "[-d|--debug] " | |
c80325ca | 450 | "[-h|-?|--help]\n\t" |
9c42e035 HM |
451 | "[-s|--size PhysicalVolumeSize[kKmMgGtT]" "\n" |
452 | "[-v|--verbose] " | |
453 | "[--version]\n\t" | |
454 | "\tPhysicalVolumePath [PhysicalVolumePath...]\n", | |
5a52dca9 | 455 | ***/ |
9c42e035 HM |
456 | autobackup_ARG, physicalvolumesize_ARG) |
457 | ||
4c64ed4c AK |
458 | xx(pvs, |
459 | "Display information about physical volumes", | |
460 | "pvs" "\n" | |
461 | "\t[--aligned]\n" | |
462 | "\t[-d|--debug]" "\n" | |
463 | "\t[-h|-?|--help] " "\n" | |
464 | "\t[--noheadings]\n" | |
465 | "\t[--ignorelockingfailure]\n" | |
466 | "\t[--nosuffix]\n" | |
467 | "\t[-o|--options [+]Field[,Field]]\n" | |
468 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
469 | "\t[--separator Separator]\n" | |
470 | "\t[--unbuffered]\n" | |
471 | "\t[--units hsbkmgtHKMGT]\n" | |
472 | "\t[-v|--verbose]\n" | |
473 | "\t[--version]\n" | |
474 | "\t[PhysicalVolume [PhysicalVolume...]]\n", | |
475 | ||
476 | aligned_ARG, ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, | |
477 | options_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG) | |
478 | ||
269930c0 AK |
479 | xx(pvscan, |
480 | "List all physical volumes", | |
a03f2320 AK |
481 | "pvscan " "\n" |
482 | "\t[-d|--debug] " "\n" | |
c80325ca AK |
483 | "\t{-e|--exported | -n|--novolumegroup} " "\n" |
484 | "\t[-h|-?|--help]" "\n" | |
8b46b545 | 485 | "\t[--ignorelockingfailure]\n" |
6b4c9ff7 | 486 | "\t[-P|--partial] " "\n" |
a03f2320 AK |
487 | "\t[-s|--short] " "\n" |
488 | "\t[-u|--uuid] " "\n" | |
489 | "\t[-v|--verbose] " "\n" | |
490 | "\t[--version]\n", | |
269930c0 | 491 | |
8b46b545 HM |
492 | exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG, partial_ARG, |
493 | short_ARG, uuid_ARG) | |
269930c0 AK |
494 | |
495 | xx(vgcfgbackup, | |
496 | "Backup volume group configuration(s)", | |
a03f2320 AK |
497 | "vgcfgbackup " "\n" |
498 | "\t[-d|--debug] " "\n" | |
952d12a5 | 499 | "\t[-f|--file filename] " "\n" |
c80325ca | 500 | "\t[-h|-?|--help] " "\n" |
8b46b545 | 501 | "\t[--ignorelockingfailure]\n" |
407332cb | 502 | "\t[-P|--partial] " "\n" |
a03f2320 | 503 | "\t[-v|--verbose]" "\n" |
4c64ed4c | 504 | "\t[--version] " "\n" |
2041d905 | 505 | "\t[VolumeGroupName...]\n", |
8b46b545 HM |
506 | |
507 | file_ARG, ignorelockingfailure_ARG, partial_ARG) | |
269930c0 AK |
508 | |
509 | xx(vgcfgrestore, | |
510 | "Restore volume group configuration", | |
a03f2320 AK |
511 | "vgcfgrestore " "\n" |
512 | "\t[-d|--debug] " "\n" | |
952d12a5 | 513 | "\t[-f|--file filename] " "\n" |
a03f2320 | 514 | "\t[-l[l]|--list [--list]]" "\n" |
5a52dca9 | 515 | "\t[-M|--metadatatype 1|2]" "\n" |
a03f2320 AK |
516 | "\t[-n|--name VolumeGroupName] " "\n" |
517 | "\t[-h|--help]" "\n" | |
a03f2320 AK |
518 | "\t[-t|--test] " "\n" |
519 | "\t[-v|--verbose]" "\n" | |
520 | "\t[--version] " "\n" | |
288adea2 | 521 | "\tVolumeGroupName", |
269930c0 | 522 | |
5a52dca9 | 523 | file_ARG, list_ARG, metadatatype_ARG, name_ARG, test_ARG) |
269930c0 AK |
524 | |
525 | xx(vgchange, | |
526 | "Change volume group attributes", | |
a03f2320 AK |
527 | "vgchange" "\n" |
528 | "\t[-A|--autobackup {y|n}] " "\n" | |
f53c6aa6 | 529 | "\t[-P|--partial] " "\n" |
a03f2320 AK |
530 | "\t[-d|--debug] " "\n" |
531 | "\t[-h|--help] " "\n" | |
8b46b545 | 532 | "\t[--ignorelockingfailure]\n" |
a03f2320 AK |
533 | "\t[-t|--test]" "\n" |
534 | "\t[-v|--verbose] " "\n" | |
535 | "\t[--version]" "\n" | |
536 | "\t{-a|--available {y|n} |" "\n" | |
b80f32dd | 537 | "\t -x|--resizeable {y|n} |" "\n" |
a03f2320 AK |
538 | "\t -l|--logicalvolume MaxLogicalVolumes}" "\n" |
539 | "\t[VolumeGroupName...]\n", | |
269930c0 | 540 | |
c80325ca AK |
541 | allocation_ARG, autobackup_ARG, available_ARG, ignorelockingfailure_ARG, |
542 | logicalvolume_ARG, partial_ARG, resizeable_ARG, resizable_ARG, test_ARG) | |
269930c0 AK |
543 | |
544 | xx(vgck, | |
545 | "Check the consistency of volume group(s)", | |
546 | "vgck " | |
c80325ca AK |
547 | "\t[-d|--debug]\n" |
548 | "\t[-h|--help]\n" | |
549 | "\t[-v|--verbose]\n" | |
43ecb8ff | 550 | "\t[--version]" "\n" |
269930c0 AK |
551 | "\t[VolumeGroupName...]\n" ) |
552 | ||
5a52dca9 AK |
553 | xx(vgconvert, |
554 | "Change volume group metadata format", | |
555 | "vgconvert " "\n" | |
556 | "\t[-d|--debug]" "\n" | |
557 | "\t[-h|--help] " "\n" | |
558 | "\t[--labelsector sector] " "\n" | |
559 | "\t[-M|--metadatatype 1|2]" "\n" | |
560 | "\t[--metadatacopies #copies]" "\n" | |
561 | "\t[--metadatasize MetadataSize[kKmMgGtT]]" "\n" | |
562 | "\t[-t|--test] " "\n" | |
563 | "\t[-v|--verbose] " "\n" | |
564 | "\t[--version] " "\n" | |
565 | "\tVolumeGroupName [VolumeGroupName...]\n", | |
566 | ||
567 | force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG, | |
568 | metadatasize_ARG ) | |
569 | ||
269930c0 AK |
570 | xx(vgcreate, |
571 | "Create a volume group", | |
a03f2320 AK |
572 | "vgcreate" "\n" |
573 | "\t[-A|--autobackup {y|n}] " "\n" | |
574 | "\t[-d|--debug]" "\n" | |
25b73380 | 575 | "\t[-h|--help]" "\n" |
a03f2320 | 576 | "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n" |
5a52dca9 | 577 | "\t[-M|--metadatatype 1|2] " "\n" |
a03f2320 | 578 | "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n" |
a03f2320 AK |
579 | "\t[-s|--physicalextentsize PhysicalExtentSize[kKmMgGtT]] " "\n" |
580 | "\t[-t|--test] " "\n" | |
581 | "\t[-v|--verbose]" "\n" | |
582 | "\t[--version] " "\n" | |
583 | "\tVolumeGroupName PhysicalVolume [PhysicalVolume...]\n", | |
269930c0 AK |
584 | |
585 | autobackup_ARG, maxlogicalvolumes_ARG, maxphysicalvolumes_ARG, | |
25b73380 | 586 | metadatatype_ARG, physicalextentsize_ARG, test_ARG) |
269930c0 AK |
587 | |
588 | xx(vgdisplay, | |
589 | "Display volume group information", | |
a03f2320 AK |
590 | "vgdisplay " "\n" |
591 | "\t[-c|--colon | -s|--short | -v|--verbose]" "\n" | |
592 | "\t[-d|--debug] " "\n" | |
593 | "\t[-h|--help] " "\n" | |
5a52dca9 | 594 | "\t[--ignorelockingfailure]" "\n" |
4c64ed4c | 595 | "\t[--nosuffix]\n" |
7ae5a778 | 596 | "\t[-P|--partial] " "\n" |
4c64ed4c | 597 | "\t[--units hsbkmgtHKMGT]\n" |
a03f2320 | 598 | "\t[-A|--activevolumegroups | [-D|--disk]" "\n" |
7ae5a778 | 599 | "\t[--version]" "\n" |
4c64ed4c AK |
600 | "\t[VolumeGroupName [VolumeGroupName...]]\n" |
601 | "\n" | |
602 | "vgdisplay --columns|-C\n" | |
603 | "\t[--aligned]\n" | |
604 | "\t[-d|--debug] " "\n" | |
605 | "\t[-h|--help] " "\n" | |
606 | "\t[--ignorelockingfailure]" "\n" | |
607 | "\t[--noheadings]\n" | |
608 | "\t[--nosuffix]\n" | |
609 | "\t[-o|--options [+]Field[,Field]]\n" | |
610 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
611 | "\t[-P|--partial] " "\n" | |
612 | "\t[--separator Separator]\n" | |
613 | "\t[--unbuffered]\n" | |
614 | "\t[--units hsbkmgtHKMGT]\n" | |
615 | "\t[--verbose]" "\n" | |
616 | "\t[--version]" "\n" | |
617 | "\t[VolumeGroupName [VolumeGroupName...]]\n", | |
269930c0 | 618 | |
4c64ed4c AK |
619 | activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG, disk_ARG, |
620 | ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, | |
621 | partial_ARG, separator_ARG, short_ARG, sort_ARG, unbuffered_ARG, units_ARG) | |
269930c0 AK |
622 | |
623 | xx(vgexport, | |
624 | "Unregister volume group(s) from the system", | |
a03f2320 AK |
625 | "vgexport " "\n" |
626 | "\t[-a|--all] " "\n" | |
627 | "\t[-d|--debug] " "\n" | |
628 | "\t[-h|--help]" "\n" | |
629 | "\t[-v|--verbose] " "\n" | |
630 | "\t[--version] " "\n" | |
631 | "\tVolumeGroupName [VolumeGroupName...]\n", | |
269930c0 | 632 | |
c2d72fd4 | 633 | all_ARG, test_ARG) |
269930c0 AK |
634 | |
635 | xx(vgextend, | |
636 | "Add physical volumes to a volume group", | |
637 | "vgextend\n" | |
c80325ca AK |
638 | "\t[-A|--autobackup y|n]\n" |
639 | "\t[-d|--debug]\n" | |
640 | "\t[-h|--help]\n" | |
641 | "\t[-t|--test]\n" | |
642 | "\t[-v|--verbose]\n" | |
4c64ed4c | 643 | "\t[--version]" "\n" |
a03f2320 | 644 | "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n", |
269930c0 | 645 | |
c2d72fd4 | 646 | autobackup_ARG, test_ARG) |
269930c0 AK |
647 | |
648 | xx(vgimport, | |
649 | "Register exported volume group with system", | |
a03f2320 | 650 | "vgimport " "\n" |
c80325ca | 651 | "\t[-a|--all]\n" |
a03f2320 AK |
652 | "\t[-d|--debug] " "\n" |
653 | "\t[-f|--force] " "\n" | |
654 | "\t[-h|--help] " "\n" | |
655 | "\t[-t|--test] " "\n" | |
656 | "\t[-v|--verbose]" "\n" | |
4c64ed4c | 657 | "\t[--version]" "\n" |
df91af91 | 658 | "\tVolumeGroupName..." "\n", |
269930c0 | 659 | |
df91af91 | 660 | all_ARG, force_ARG, test_ARG) |
269930c0 AK |
661 | |
662 | xx(vgmerge, | |
663 | "Merge volume groups", | |
664 | "vgmerge\n" | |
c80325ca AK |
665 | "\t[-A|--autobackup y|n]\n" |
666 | "\t[-d|--debug]\n" | |
667 | "\t[-h|--help]\n" | |
668 | "\t[-l|--list]\n" | |
669 | "\t[-t|--test]\n" | |
670 | "\t[-v|--verbose]\n" | |
4c64ed4c | 671 | "\t[--version]" "\n" |
269930c0 AK |
672 | "\tDestinationVolumeGroupName SourceVolumeGroupName\n", |
673 | ||
674 | autobackup_ARG, list_ARG, test_ARG) | |
675 | ||
676 | xx(vgmknodes, | |
677 | "Create the special files for volume group devices in /dev", | |
678 | "vgmknodes\n" | |
c80325ca AK |
679 | "\t[-d|--debug]\n" |
680 | "\t[-h|--help]\n" | |
681 | "\t[-v|--verbose]\n" | |
4c64ed4c | 682 | "\t[--version]" "\n" |
269930c0 AK |
683 | "\t[VolumeGroupName...]\n" ) |
684 | ||
685 | xx(vgreduce, | |
686 | "Remove physical volume(s) from a volume group", | |
687 | "vgreduce\n" | |
c80325ca AK |
688 | "\t[-a|--all]\n" |
689 | "\t[-A|--autobackup y|n]\n" | |
690 | "\t[-d|--debug]\n" | |
691 | "\t[-h|--help]\n" | |
a421f743 | 692 | "\t[--removemissing]\n" |
c80325ca AK |
693 | "\t[-t|--test]\n" |
694 | "\t[-v|--verbose]\n" | |
4c64ed4c | 695 | "\t[--version]" "\n" |
269930c0 AK |
696 | "\tVolumeGroupName\n" |
697 | "\t[PhysicalVolumePath...]\n", | |
698 | ||
a421f743 | 699 | all_ARG, autobackup_ARG, removemissing_ARG, test_ARG) |
269930c0 AK |
700 | |
701 | xx(vgremove, | |
702 | "Remove volume group(s)", | |
703 | "vgremove\n" | |
c80325ca AK |
704 | "\t[-d|--debug]\n" |
705 | "\t[-h|--help]\n" | |
706 | "\t[-t|--test]\n" | |
707 | "\t[-v|--verbose]\n" | |
4c64ed4c | 708 | "\t[--version]" "\n" |
c2d72fd4 AK |
709 | "\tVolumeGroupName [VolumeGroupName...]\n", |
710 | ||
711 | test_ARG) | |
269930c0 AK |
712 | |
713 | xx(vgrename, | |
714 | "Rename a volume group", | |
715 | "vgrename\n" | |
c80325ca AK |
716 | "\t[-A|--autobackup y|n]\n" |
717 | "\t[-d|--debug]\n" | |
718 | "\t[-h|--help]\n" | |
719 | "\t[-t|--test]\n" | |
720 | "\t[-v|--verbose]\n" | |
4c64ed4c | 721 | "\t[--version]" "\n" |
a03f2320 | 722 | "\tOldVolumeGroupPath NewVolumeGroupPath |\n" |
269930c0 AK |
723 | "\tOldVolumeGroupName NewVolumeGroupName\n", |
724 | ||
c2d72fd4 | 725 | autobackup_ARG, force_ARG, test_ARG) |
269930c0 | 726 | |
4c64ed4c AK |
727 | xx(vgs, |
728 | "Display information about volume groups", | |
729 | "vgs" "\n" | |
730 | "\t[--aligned]\n" | |
731 | "\t[-d|--debug]\n" | |
732 | "\t[-h|--help]\n" | |
733 | "\t[--ignorelockingfailure]\n" | |
734 | "\t[--noheadings]\n" | |
735 | "\t[--nosuffix]\n" | |
736 | "\t[-o|--options [+]Field[,Field]]\n" | |
737 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
738 | "\t[-P|--partial] " "\n" | |
739 | "\t[--separator Separator]\n" | |
740 | "\t[--unbuffered]\n" | |
741 | "\t[--units hsbkmgtHKMGT]\n" | |
742 | "\t[-v|--verbose]\n" | |
743 | "\t[--version]\n" | |
744 | "\t[VolumeGroupName [VolumeGroupName...]]\n", | |
745 | ||
746 | aligned_ARG, ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, | |
747 | options_ARG, partial_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG) | |
748 | ||
269930c0 AK |
749 | xx(vgscan, |
750 | "Search for all volume groups", | |
751 | "vgscan " | |
c80325ca AK |
752 | "\t[-d|--debug]\n" |
753 | "\t[-h|--help]\n" | |
8b46b545 | 754 | "\t[--ignorelockingfailure]\n" |
c80325ca | 755 | "\t[-P|--partial] " "\n" |
4c64ed4c AK |
756 | "\t[-v|--verbose]\n" |
757 | "\t[--version]" "\n", | |
8b46b545 HM |
758 | |
759 | ignorelockingfailure_ARG, partial_ARG) | |
269930c0 AK |
760 | |
761 | xx(vgsplit, | |
762 | "Move physical volumes into a new volume group", | |
a03f2320 AK |
763 | "vgsplit " "\n" |
764 | "\t[-A|--autobackup {y|n}] " "\n" | |
765 | "\t[-d|--debug] " "\n" | |
766 | "\t[-h|--help] " "\n" | |
767 | "\t[-l|--list]" "\n" | |
5a52dca9 | 768 | "\t[-M|--metadatatype 1|2] " "\n" |
a03f2320 AK |
769 | "\t[-t|--test] " "\n" |
770 | "\t[-v|--verbose] " "\n" | |
771 | "\t[--version]" "\n" | |
772 | "\tExistingVolumeGroupName NewVolumeGroupName" "\n" | |
773 | "\tPhysicalVolumePath [PhysicalVolumePath...]\n", | |
269930c0 | 774 | |
fbbe942c | 775 | autobackup_ARG, list_ARG, metadatatype_ARG, test_ARG) |
fae0c576 AK |
776 | |
777 | xx(version, | |
778 | "Display software and driver version information", | |
779 | "version\n" ) | |
780 |