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