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