]> sourceware.org Git - lvm2.git/blame - tools/commands.h
Scan all devices for lvmetad if 'pvscan --cache' used without device list.
[lvm2.git] / tools / commands.h
CommitLineData
269930c0 1/*
6606c3ae 2 * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
be684599 3 * Copyright (C) 2004-2007 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
be684599 9 * of the GNU Lesser General Public License v.2.1.
269930c0 10 *
be684599 11 * You should have received a copy of the GNU Lesser 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?
17xx(e2fsadm,
18 "Resize logical volume and ext2 filesystem",
19 "e2fsadm "
20 "[-d|--debug] " "[-h|--help] " "[-n|--nofsck]" "\n"
21 "\t{[-l|--extents] [+|-]LogicalExtentsNumber |" "\n"
c1060e13 22 "\t [-L|--size] [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}" "\n"
5a52dca9
AK
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
31xx(dumpconfig,
32 "Dump active configuration",
b83af516 33 PERMITTED_READ_ONLY,
2eeb2a1f
AK
34 "dumpconfig "
35 "\t[-f|--file filename] " "\n"
36 "[ConfigurationVariable...]\n",
37 file_ARG)
dcc31da5 38
156dd4f1
AK
39xx(formats,
40 "List available metadata formats",
b83af516 41 PERMITTED_READ_ONLY,
156dd4f1
AK
42 "formats\n")
43
269930c0
AK
44xx(help,
45 "Display help for commands",
b83af516 46 PERMITTED_READ_ONLY,
a03f2320 47 "help <command>" "\n")
269930c0 48
677a06d5 49/*********
269930c0
AK
50xx(lvactivate,
51 "Activate logical volume on given partition(s)",
e6efb2b0 52 "lvactivate "
c80325ca
AK
53 "\t[-d|--debug]\n"
54 "\t[-h|--help]\n"
55 "\t[-v|--verbose]\n"
e6efb2b0 56 "Logical Volume(s)\n")
677a06d5 57***********/
269930c0
AK
58
59xx(lvchange,
60 "Change the attributes of logical volume(s)",
b83af516 61 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
269930c0 62 "lvchange\n"
c80325ca 63 "\t[-A|--autobackup y|n]\n"
d6cf4325 64 "\t[-a|--available [e|l]y|n]\n"
cf6dd251 65 "\t[--addtag Tag]\n"
63bea03e 66 "\t[--alloc AllocationPolicy]\n"
c80325ca
AK
67 "\t[-C|--contiguous y|n]\n"
68 "\t[-d|--debug]\n"
cf6dd251 69 "\t[--deltag Tag]\n"
0b946db9 70 "\t[-f|--force]\n"
c80325ca 71 "\t[-h|--help]\n"
5a52dca9 72 "\t[--ignorelockingfailure]\n"
53c774b9 73 "\t[--ignoremonitoring]\n"
3e3d5d85 74 "\t[--monitor {y|n}]\n"
7a8fa6aa 75 "\t[--poll {y|n}]\n"
49886d09 76 "\t[--noudevsync]\n"
27f364af 77 "\t[-M|--persistent y|n] [--major major] [--minor minor]\n"
c80325ca
AK
78 "\t[-P|--partial] " "\n"
79 "\t[-p|--permission r|rw]\n"
b4068515 80 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
71b9fadf 81 "\t[--refresh]\n"
99f247f8 82 "\t[--resync]\n"
d50c6d4b 83 "\t[--sysinit]\n"
c80325ca
AK
84 "\t[-t|--test]\n"
85 "\t[-v|--verbose]\n"
04e023be 86 "\t[-y|--yes]\n"
4c64ed4c 87 "\t[--version]" "\n"
269930c0
AK
88 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
89
a0a23eff 90 alloc_ARG, autobackup_ARG, available_ARG, contiguous_ARG, force_ARG,
53c774b9 91 ignorelockingfailure_ARG, ignoremonitoring_ARG, major_ARG, minor_ARG,
49886d09 92 monitor_ARG, noudevsync_ARG, partial_ARG, permission_ARG, persistent_ARG,
7a8fa6aa 93 poll_ARG, readahead_ARG, resync_ARG, refresh_ARG, addtag_ARG, deltag_ARG,
d50c6d4b 94 sysinit_ARG, test_ARG, yes_ARG)
269930c0 95
1a1f3d3e
AK
96xx(lvconvert,
97 "Change logical volume layout",
bf7dea97 98 0,
1c8b86c7 99 "lvconvert "
7a369d37 100 "[-m|--mirrors Mirrors [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
d3582e02 101 "\t[--type SegmentType]\n"
c26488d3 102 "\t[--repair [--use-policies]]\n"
0c506d9a 103 "\t[--replace PhysicalVolume]\n"
b42eb4c3 104 "\t[-R|--regionsize MirrorLogRegionSize]\n"
1a1f3d3e 105 "\t[--alloc AllocationPolicy]\n"
ba0c495d 106 "\t[-b|--background]\n"
1a1f3d3e 107 "\t[-d|--debug]\n"
476d4633 108 "\t[-f|--force]\n"
1a1f3d3e 109 "\t[-h|-?|--help]\n"
ba0c495d 110 "\t[-i|--interval seconds]\n"
68176be1 111 "\t[--stripes Stripes [-I|--stripesize StripeSize]]\n"
49886d09 112 "\t[--noudevsync]\n"
1a1f3d3e 113 "\t[-v|--verbose]\n"
476d4633 114 "\t[-y|--yes]\n"
1a1f3d3e 115 "\t[--version]" "\n"
1c8b86c7
AK
116 "\tLogicalVolume[Path] [PhysicalVolume[Path]...]\n\n"
117
72e07436 118 "lvconvert "
6d04311e 119 "[--splitmirrors Images --trackchanges]\n"
72e07436
JEB
120 "[--splitmirrors Images --name SplitLogicalVolumeName]\n"
121 "\tLogicalVolume[Path] [SplittablePhysicalVolume[Path]...]\n\n"
122
1c8b86c7
AK
123 "lvconvert "
124 "[-s|--snapshot]\n"
125 "\t[-c|--chunksize]\n"
126 "\t[-d|--debug]\n"
127 "\t[-h|-?|--help]\n"
49886d09 128 "\t[--noudevsync]\n"
1c8b86c7
AK
129 "\t[-v|--verbose]\n"
130 "\t[-Z|--zero {y|n}]\n"
131 "\t[--version]" "\n"
154b64d7
MS
132 "\tOriginalLogicalVolume[Path] SnapshotLogicalVolume[Path]\n\n"
133
134 "lvconvert "
135 "--merge\n"
136 "\t[-b|--background]\n"
137 "\t[-i|--interval seconds]\n"
138 "\t[-d|--debug]\n"
139 "\t[-h|-?|--help]\n"
140 "\t[-v|--verbose]\n"
dc0582ce 141 "\tLogicalVolume[Path]\n",
1a1f3d3e 142
ba0c495d 143 alloc_ARG, background_ARG, chunksize_ARG, corelog_ARG, interval_ARG,
154b64d7 144 merge_ARG, mirrorlog_ARG, mirrors_ARG, name_ARG, noudevsync_ARG,
0c506d9a
JEB
145 regionsize_ARG, repair_ARG, replace_ARG, snapshot_ARG, splitmirrors_ARG,
146 trackchanges_ARG, type_ARG, stripes_long_ARG, stripesize_ARG, test_ARG,
154b64d7 147 use_policies_ARG, yes_ARG, force_ARG, zero_ARG)
1a1f3d3e 148
269930c0
AK
149xx(lvcreate,
150 "Create a logical volume",
bf7dea97 151 0,
03888774 152 "lvcreate " "\n"
0eb83127 153 "\t[-A|--autobackup {y|n}]\n"
453cdee5 154 "\t[-a|--available [e|l]y|n]\n"
cf6dd251 155 "\t[--addtag Tag]\n"
63bea03e 156 "\t[--alloc AllocationPolicy]\n"
0eb83127
JT
157 "\t[-C|--contiguous {y|n}]\n"
158 "\t[-d|--debug]\n"
c80325ca 159 "\t[-h|-?|--help]\n"
a6bc975a
MS
160 "\t[--ignoremonitoring]\n"
161 "\t[--monitor {y|n}]\n"
0eb83127 162 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 163 "\t{-l|--extents LogicalExtentsNumber[%{VG|PVS|FREE}] |\n"
c1060e13 164 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
27f364af 165 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
7a369d37 166 "\t[-m|--mirrors Mirrors [--nosync] [{--mirrorlog {disk|core|mirrored}|--corelog}]]\n"
0eb83127 167 "\t[-n|--name LogicalVolumeName]\n"
49886d09 168 "\t[--noudevsync]\n"
0eb83127 169 "\t[-p|--permission {r|rw}]\n"
b4068515 170 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
60f13f01 171 "\t[-R|--regionsize MirrorLogRegionSize]\n"
0eb83127 172 "\t[-t|--test]\n"
1832f310 173 "\t[--type VolumeType]\n"
0eb83127
JT
174 "\t[-v|--verbose]\n"
175 "\t[-Z|--zero {y|n}]\n"
176 "\t[--version]\n"
c80325ca 177 "\tVolumeGroupName [PhysicalVolumePath...]\n\n"
8b46b545 178
154753db
AK
179 "lvcreate \n"
180 "\t{ {-s|--snapshot} OriginalLogicalVolume[Path] |\n"
f1c2a5af 181 "\t [-s|--snapshot] VolumeGroupName[Path] -V|--virtualsize VirtualSize}\n"
9ac61d2b
AK
182 "\t {-T|--thin} VolumeGroupName[Path][/PoolLogicalVolume] \n"
183 "\t -V|--virtualsize VirtualSize}\n"
8b46b545
HM
184 "\t[-c|--chunksize]\n"
185 "\t[-A|--autobackup {y|n}]\n"
cf6dd251 186 "\t[--addtag Tag]\n"
63bea03e 187 "\t[--alloc AllocationPolicy]\n"
8b46b545
HM
188 "\t[-C|--contiguous {y|n}]\n"
189 "\t[-d|--debug]\n"
c80325ca 190 "\t[-h|-?|--help]\n"
a6bc975a
MS
191 "\t[--ignoremonitoring]\n"
192 "\t[--monitor {y|n}]\n"
8b46b545 193 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 194 "\t{-l|--extents LogicalExtentsNumber[%{VG|FREE|ORIGIN}] |\n"
c1060e13 195 "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
b8cac455 196 "\t[--poolmetadatasize Size[bBsSkKmMgG]]\n"
27f364af 197 "\t[-M|--persistent {y|n}] [--major major] [--minor minor]\n"
8b46b545 198 "\t[-n|--name LogicalVolumeName]\n"
49886d09 199 "\t[--noudevsync]\n"
8b46b545 200 "\t[-p|--permission {r|rw}]\n"
b4068515 201 "\t[-r|--readahead ReadAheadSectors|auto|none]\n"
8b46b545 202 "\t[-t|--test]\n"
9ac61d2b 203 "\t[--thinpool] PoolLogicalVolume\n"
8b46b545
HM
204 "\t[-v|--verbose]\n"
205 "\t[--version]\n"
154753db 206
87f42fda 207 "\t[PhysicalVolumePath...]\n\n",
a03f2320 208
453cdee5
AK
209 addtag_ARG, alloc_ARG, autobackup_ARG, available_ARG, chunksize_ARG,
210 contiguous_ARG, corelog_ARG, extents_ARG, ignoremonitoring_ARG, major_ARG,
211 minor_ARG, mirrorlog_ARG, mirrors_ARG, monitor_ARG, name_ARG, nosync_ARG,
212 noudevsync_ARG, permission_ARG, persistent_ARG, readahead_ARG,
213 regionsize_ARG, size_ARG, snapshot_ARG, stripes_ARG, stripesize_ARG,
9ac61d2b 214 test_ARG, thin_ARG, thinpool_ARG, type_ARG, virtualoriginsize_ARG,
b8cac455 215 poolmetadatasize_ARG, virtualsize_ARG, zero_ARG)
269930c0
AK
216
217xx(lvdisplay,
218 "Display information about a logical volume",
b83af516 219 PERMITTED_READ_ONLY,
269930c0 220 "lvdisplay\n"
8211a13c 221 "\t[-a|--all]\n"
c80325ca
AK
222 "\t[-c|--colon]\n"
223 "\t[-d|--debug]\n"
224 "\t[-h|--help]\n"
8b46b545 225 "\t[--ignorelockingfailure]\n"
c80325ca 226 "\t[-m|--maps]\n"
4c64ed4c 227 "\t[--nosuffix]\n"
c80325ca 228 "\t[-P|--partial] " "\n"
7c638cc2 229 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
c80325ca 230 "\t[-v|--verbose]\n"
4c64ed4c
AK
231 "\t[--version]" "\n"
232 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n"
233 "\n"
234 "lvdisplay --columns|-C\n"
235 "\t[--aligned]\n"
8211a13c 236 "\t[-a|--all]\n"
4c64ed4c
AK
237 "\t[-d|--debug]\n"
238 "\t[-h|--help]\n"
239 "\t[--ignorelockingfailure]\n"
240 "\t[--noheadings]\n"
241 "\t[--nosuffix]\n"
242 "\t[-o|--options [+]Field[,Field]]\n"
243 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
244 "\t[-P|--partial] " "\n"
245 "\t[--segments]\n"
246 "\t[--separator Separator]\n"
247 "\t[--unbuffered]\n"
7c638cc2 248 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
249 "\t[-v|--verbose]\n"
250 "\t[--version]" "\n"
251 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
269930c0 252
7c638cc2 253 aligned_ARG, all_ARG, colon_ARG, columns_ARG,
8211a13c
AK
254 ignorelockingfailure_ARG, maps_ARG, noheadings_ARG, nosuffix_ARG,
255 options_ARG, sort_ARG, partial_ARG, segments_ARG, separator_ARG,
256 unbuffered_ARG, units_ARG)
269930c0
AK
257
258xx(lvextend,
259 "Add space to a logical volume",
bf7dea97 260 0,
269930c0 261 "lvextend\n"
c80325ca 262 "\t[-A|--autobackup y|n]\n"
63bea03e 263 "\t[--alloc AllocationPolicy]\n"
c80325ca 264 "\t[-d|--debug]\n"
dc868e56 265 "\t[-f|--force]\n"
c80325ca 266 "\t[-h|--help]\n"
52dc2139 267 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 268 "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
c1060e13 269 "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
ffb0e538 270 "\t[-m|--mirrors Mirrors]\n"
a80192b6 271 "\t[--nosync]\n"
a341cab7 272 "\t[--use-policies]\n"
1a9ea74d 273 "\t[-n|--nofsck]\n"
49886d09 274 "\t[--noudevsync]\n"
1a9ea74d 275 "\t[-r|--resizefs]\n"
c80325ca 276 "\t[-t|--test]\n"
1832f310 277 "\t[--type VolumeType]\n"
c80325ca 278 "\t[-v|--verbose]\n"
4c64ed4c 279 "\t[--version]" "\n"
269930c0
AK
280 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
281
dc868e56 282 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, mirrors_ARG,
a80192b6 283 nofsck_ARG, nosync_ARG, noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG,
a341cab7 284 stripesize_ARG, test_ARG, type_ARG, use_policies_ARG)
269930c0
AK
285
286xx(lvmchange,
a03f2320 287 "With the device mapper, this is obsolete and does nothing.",
bf7dea97 288 0,
03888774 289 "lvmchange\n"
c80325ca
AK
290 "\t[-d|--debug]\n"
291 "\t[-h|--help]\n"
292 "\t[-R|--reset]\n"
4c64ed4c
AK
293 "\t[-v|--verbose]\n"
294 "\t[--version]" "\n",
269930c0 295
a03f2320 296 reset_ARG)
269930c0
AK
297
298xx(lvmdiskscan,
299 "List devices that may be used as physical volumes",
b83af516 300 PERMITTED_READ_ONLY,
269930c0 301 "lvmdiskscan\n"
c80325ca
AK
302 "\t[-d|--debug]\n"
303 "\t[-h|--help]\n"
4c64ed4c
AK
304 "\t[-l|--lvmpartition]\n"
305 "\t[--version]" "\n",
269930c0
AK
306
307 lvmpartition_ARG)
308
309xx(lvmsadc,
310 "Collect activity data",
bf7dea97 311 0,
269930c0 312 "lvmsadc\n"
c80325ca
AK
313 "\t[-d|--debug]\n"
314 "\t[-h|--help]\n"
315 "\t[-v|--verbose]\n"
4c64ed4c 316 "\t[--version]" "\n"
269930c0
AK
317 "\t[LogFilePath]\n" )
318
319xx(lvmsar,
320 "Create activity report",
bf7dea97 321 0,
269930c0 322 "lvmsar\n"
c80325ca
AK
323 "\t[-d|--debug]\n"
324 "\t[-f|--full]\n"
325 "\t[-h|--help]\n"
326 "\t[-s|--stdin]\n"
327 "\t[-v|--verbose]\n"
4c64ed4c 328 "\t[--version]" "\n"
269930c0
AK
329 "\tLogFilePath\n",
330
8b46b545 331 full_ARG, stdin_ARG)
269930c0
AK
332
333xx(lvreduce,
334 "Reduce the size of a logical volume",
bf7dea97 335 0,
269930c0 336 "lvreduce\n"
c80325ca
AK
337 "\t[-A|--autobackup y|n]\n"
338 "\t[-d|--debug]\n"
339 "\t[-f|--force]\n"
340 "\t[-h|--help]\n"
5bc2af26 341 "\t{-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE|ORIGIN}] |\n"
c1060e13 342 "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
1a9ea74d 343 "\t[-n|--nofsck]\n"
49886d09 344 "\t[--noudevsync]\n"
1a9ea74d 345 "\t[-r|--resizefs]\n"
c80325ca
AK
346 "\t[-t|--test]\n"
347 "\t[-v|--verbose]\n"
04e023be 348 "\t[-y|--yes]\n"
4c64ed4c 349 "\t[--version]" "\n"
269930c0
AK
350 "\tLogicalVolume[Path]\n",
351
49886d09
PR
352 autobackup_ARG, force_ARG, extents_ARG, nofsck_ARG, noudevsync_ARG,
353 resizefs_ARG, size_ARG, test_ARG, yes_ARG)
269930c0
AK
354
355xx(lvremove,
356 "Remove logical volume(s) from the system",
bf7dea97 357 0,
269930c0 358 "lvremove\n"
c80325ca
AK
359 "\t[-A|--autobackup y|n]\n"
360 "\t[-d|--debug]\n"
361 "\t[-f|--force]\n"
362 "\t[-h|--help]\n"
49886d09 363 "\t[--noudevsync]\n"
c80325ca
AK
364 "\t[-t|--test]\n"
365 "\t[-v|--verbose]\n"
4c64ed4c 366 "\t[--version]" "\n"
269930c0
AK
367 "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
368
49886d09 369 autobackup_ARG, force_ARG, noudevsync_ARG, test_ARG)
269930c0
AK
370
371xx(lvrename,
372 "Rename a logical volume",
bf7dea97 373 0,
33d6fe9b 374 "lvrename\n"
a03f2320
AK
375 "\t[-A|--autobackup {y|n}] " "\n"
376 "\t[-d|--debug] " "\n"
c80325ca 377 "\t[-h|-?|--help] " "\n"
49886d09 378 "\t[--noudevsync]\n"
a03f2320
AK
379 "\t[-t|--test] " "\n"
380 "\t[-v|--verbose]" "\n"
381 "\t[--version] " "\n"
382 "\t{ OldLogicalVolumePath NewLogicalVolumePath |" "\n"
383 "\t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName }\n",
269930c0 384
49886d09 385 autobackup_ARG, noudevsync_ARG, test_ARG)
269930c0 386
03a8a07d
AK
387xx(lvresize,
388 "Resize a logical volume",
bf7dea97 389 0,
03a8a07d 390 "lvresize\n"
c80325ca 391 "\t[-A|--autobackup y|n]\n"
63bea03e 392 "\t[--alloc AllocationPolicy]\n"
c80325ca 393 "\t[-d|--debug]\n"
dc868e56 394 "\t[-f|--force]\n"
c80325ca 395 "\t[-h|--help]\n"
52dc2139 396 "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
5bc2af26 397 "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] |\n"
c1060e13 398 "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\n"
1a9ea74d 399 "\t[-n|--nofsck]\n"
49886d09 400 "\t[--noudevsync]\n"
1a9ea74d 401 "\t[-r|--resizefs]\n"
c2d72fd4 402 "\t[-t|--test]\n"
1832f310 403 "\t[--type VolumeType]\n"
c80325ca 404 "\t[-v|--verbose]\n"
4c64ed4c 405 "\t[--version]" "\n"
03a8a07d
AK
406 "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n",
407
dc868e56 408 alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, nofsck_ARG,
49886d09
PR
409 noudevsync_ARG, resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG,
410 test_ARG, type_ARG)
03a8a07d 411
4c64ed4c
AK
412xx(lvs,
413 "Display information about logical volumes",
b83af516 414 PERMITTED_READ_ONLY,
4c64ed4c 415 "lvs" "\n"
8211a13c 416 "\t[-a|--all]\n"
4c64ed4c
AK
417 "\t[--aligned]\n"
418 "\t[-d|--debug]\n"
419 "\t[-h|--help]\n"
420 "\t[--ignorelockingfailure]\n"
ec40d928 421 "\t[--nameprefixes]\n"
4c64ed4c
AK
422 "\t[--noheadings]\n"
423 "\t[--nosuffix]\n"
424 "\t[-o|--options [+]Field[,Field]]\n"
425 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
426 "\t[-P|--partial] " "\n"
1f787aca 427 "\t[--rows]\n"
4c64ed4c
AK
428 "\t[--segments]\n"
429 "\t[--separator Separator]\n"
e3ad1d19 430 "\t[--trustcache]\n"
4c64ed4c 431 "\t[--unbuffered]\n"
7c638cc2 432 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 433 "\t[--unquoted]\n"
4c64ed4c
AK
434 "\t[-v|--verbose]\n"
435 "\t[--version]" "\n"
436 "\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
3e3d5d85 437
ec40d928
AK
438 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
439 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca
AK
440 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
441 unbuffered_ARG, units_ARG, unquoted_ARG)
4c64ed4c 442
269930c0
AK
443xx(lvscan,
444 "List all logical volumes in all volume groups",
b83af516 445 PERMITTED_READ_ONLY,
a03f2320 446 "lvscan " "\n"
191abde9 447 "\t[-a|--all]\n"
a03f2320
AK
448 "\t[-b|--blockdevice] " "\n"
449 "\t[-d|--debug] " "\n"
c80325ca 450 "\t[-h|-?|--help] " "\n"
8b46b545 451 "\t[--ignorelockingfailure]\n"
6b4c9ff7 452 "\t[-P|--partial] " "\n"
a03f2320
AK
453 "\t[-v|--verbose] " "\n"
454 "\t[--version]\n",
269930c0 455
7c638cc2 456 all_ARG, blockdevice_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
457
458xx(pvchange,
459 "Change attributes of physical volume(s)",
bf7dea97 460 0,
269930c0 461 "pvchange\n"
15e6db35 462 "\t[-a|--all]\n"
c80325ca
AK
463 "\t[-A|--autobackup y|n]\n"
464 "\t[-d|--debug]\n"
96c3c464 465 "\t[-f|--force]\n"
c80325ca 466 "\t[-h|--help]\n"
c2d72fd4 467 "\t[-t|--test]\n"
15e6db35 468 "\t[-u|--uuid]\n"
c80325ca 469 "\t[-x|--allocatable y|n]\n"
88fc1b14 470 "\t[--metadataignore y|n]\n"
15e6db35 471 "\t[-v|--verbose]\n"
cf6dd251
AK
472 "\t[--addtag Tag]\n"
473 "\t[--deltag Tag]\n"
15e6db35 474 "\t[--version]" "\n"
269930c0
AK
475 "\t[PhysicalVolumePath...]\n",
476
cf6dd251 477 all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, deltag_ARG,
96c3c464 478 addtag_ARG, force_ARG, metadataignore_ARG, test_ARG, uuid_ARG)
269930c0 479
3bf5f6f5
AK
480xx(pvresize,
481 "Resize physical volume(s)",
bf7dea97 482 0,
3bf5f6f5
AK
483 "pvresize " "\n"
484 "\t[-d|--debug]" "\n"
485 "\t[-h|-?|--help] " "\n"
c1060e13 486 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
3bf5f6f5
AK
487 "\t[-t|--test] " "\n"
488 "\t[-v|--verbose] " "\n"
489 "\t[--version] " "\n"
490 "\tPhysicalVolume [PhysicalVolume...]\n",
491
492 physicalvolumesize_ARG, test_ARG)
493
cc5a4e1d
DW
494xx(pvck,
495 "Check the consistency of physical volume(s)",
bf7dea97 496 0,
cc5a4e1d
DW
497 "pvck "
498 "\t[-d|--debug]\n"
499 "\t[-h|--help]\n"
d915579c 500 "\t[--labelsector sector] " "\n"
cc5a4e1d
DW
501 "\t[-v|--verbose]\n"
502 "\t[--version]" "\n"
d915579c
DW
503 "\tPhysicalVolume [PhysicalVolume...]\n",
504
505 labelsector_ARG)
cc5a4e1d 506
269930c0
AK
507xx(pvcreate,
508 "Initialize physical volume(s) for use by LVM",
bf7dea97 509 0,
a03f2320 510 "pvcreate " "\n"
dff22466 511 "\t[--norestorefile]\n"
5a52dca9 512 "\t[--restorefile file]\n"
a03f2320
AK
513 "\t[-d|--debug]" "\n"
514 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 515 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
516 "\t[--labelsector sector] " "\n"
517 "\t[-M|--metadatatype 1|2]" "\n"
0ddb66ef 518 "\t[--pvmetadatacopies #copies]" "\n"
c1060e13
MS
519 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
520 "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n"
04b2a4bd 521 "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n"
c1060e13 522 "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n"
a03f2320 523 "\t[-t|--test] " "\n"
add7dc2d 524 "\t[-u|--uuid uuid] " "\n"
a03f2320 525 "\t[-v|--verbose] " "\n"
5a52dca9 526 "\t[-y|--yes]" "\n"
2245e1c4 527 "\t[-Z|--zero {y|n}]\n"
a03f2320
AK
528 "\t[--version] " "\n"
529 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0 530
04b2a4bd 531 dataalignment_ARG, dataalignmentoffset_ARG, force_ARG, test_ARG,
dff22466
MS
532 labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
533 metadatasize_ARG, metadataignore_ARG, norestorefile_ARG,
534 physicalvolumesize_ARG, pvmetadatacopies_ARG,
a5bf7001 535 restorefile_ARG, uuidstr_ARG, yes_ARG, zero_ARG)
269930c0
AK
536
537xx(pvdata,
538 "Display the on-disk metadata for physical volume(s)",
bf7dea97 539 0,
a03f2320
AK
540 "pvdata " "\n"
541 "\t[-a|--all] " "\n"
542 "\t[-d|--debug] " "\n"
543 "\t[-E|--physicalextent] " "\n"
c80325ca 544 "\t[-h|-?|--help]" "\n"
a03f2320
AK
545 "\t[-L|--logicalvolume] " "\n"
546 "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n"
547 "\t[-U|--uuidlist] " "\n"
548 "\t[-v[v]|--verbose [--verbose]] " "\n"
549 "\t[-V|--volumegroup]" "\n"
550 "\t[--version] " "\n"
551 "\tPhysicalVolume [PhysicalVolume...]\n",
269930c0
AK
552
553 all_ARG, logicalextent_ARG, physicalextent_ARG,
554 physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG)
555
556xx(pvdisplay,
4c64ed4c 557 "Display various attributes of physical volume(s)",
b83af516 558 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
269930c0 559 "pvdisplay\n"
c80325ca
AK
560 "\t[-c|--colon]\n"
561 "\t[-d|--debug]\n"
562 "\t[-h|--help]\n"
8b46b545 563 "\t[--ignorelockingfailure]\n"
c80325ca 564 "\t[-m|--maps]\n"
4c64ed4c 565 "\t[--nosuffix]\n"
c80325ca 566 "\t[-s|--short]\n"
7c638cc2 567 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
c80325ca 568 "\t[-v|--verbose]\n"
4c64ed4c
AK
569 "\t[--version]" "\n"
570 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n"
571 "\n"
572 "pvdisplay --columns|-C\n"
573 "\t[--aligned]\n"
200ef4db 574 "\t[-a|--all]\n"
4c64ed4c
AK
575 "\t[-d|--debug]\n"
576 "\t[-h|--help]\n"
577 "\t[--ignorelockingfailure]\n"
578 "\t[--noheadings]\n"
579 "\t[--nosuffix]\n"
580 "\t[-o|--options [+]Field[,Field]]\n"
581 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
582 "\t[--separator Separator]\n"
583 "\t[--unbuffered]\n"
7c638cc2 584 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
585 "\t[-v|--verbose]\n"
586 "\t[--version]" "\n"
587 "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n",
269930c0 588
200ef4db
AK
589 aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG,
590 maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG,
591 short_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0 592
269930c0
AK
593xx(pvmove,
594 "Move extents from one physical volume to another",
bf7dea97 595 0,
43ecb8ff 596 "pvmove " "\n"
3a61b054 597 "\t[--abort]\n"
43ecb8ff 598 "\t[-A|--autobackup {y|n}]\n"
63bea03e 599 "\t[--alloc AllocationPolicy]\n"
3a61b054 600 "\t[-b|--background]\n"
43ecb8ff 601 "\t[-d|--debug]\n "
43ecb8ff
AK
602 "\t[-h|-?|--help]\n"
603 "\t[-i|--interval seconds]\n"
49886d09 604 "\t[--noudevsync]\n"
43ecb8ff
AK
605 "\t[-t|--test]\n "
606 "\t[-v|--verbose]\n "
607 "\t[--version]\n"
57c74fb5 608 "\t[{-n|--name} LogicalVolume]\n"
43ecb8ff 609/* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
9bd40d31 610 "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n"
43ecb8ff 611 "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
269930c0 612
3e3d5d85 613 abort_ARG, alloc_ARG, autobackup_ARG, background_ARG,
49886d09 614 interval_ARG, name_ARG, noudevsync_ARG, test_ARG)
269930c0 615
5a52dca9
AK
616xx(pvremove,
617 "Remove LVM label(s) from physical volume(s)",
bf7dea97 618 0,
5a52dca9
AK
619 "pvremove " "\n"
620 "\t[-d|--debug]" "\n"
621 "\t[-f[f]|--force [--force]] " "\n"
c80325ca 622 "\t[-h|-?|--help] " "\n"
5a52dca9
AK
623 "\t[-t|--test] " "\n"
624 "\t[-v|--verbose] " "\n"
625 "\t[-y|--yes]" "\n"
626 "\t[--version] " "\n"
627 "\tPhysicalVolume [PhysicalVolume...]\n",
628
629 force_ARG, test_ARG, yes_ARG)
630
4c64ed4c
AK
631xx(pvs,
632 "Display information about physical volumes",
b83af516 633 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
4c64ed4c 634 "pvs" "\n"
c29d2465 635 "\t[-a|--all]\n"
7c638cc2 636 "\t[--aligned]\n"
4c64ed4c
AK
637 "\t[-d|--debug]" "\n"
638 "\t[-h|-?|--help] " "\n"
4c64ed4c 639 "\t[--ignorelockingfailure]\n"
ec40d928
AK
640 "\t[--nameprefixes]\n"
641 "\t[--noheadings]\n"
4c64ed4c
AK
642 "\t[--nosuffix]\n"
643 "\t[-o|--options [+]Field[,Field]]\n"
644 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
f855ac38 645 "\t[-P|--partial] " "\n"
1f787aca 646 "\t[--rows]\n"
c54a9405 647 "\t[--segments]\n"
4c64ed4c 648 "\t[--separator Separator]\n"
e3ad1d19 649 "\t[--trustcache]\n"
4c64ed4c 650 "\t[--unbuffered]\n"
7c638cc2 651 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 652 "\t[--unquoted]\n"
4c64ed4c
AK
653 "\t[-v|--verbose]\n"
654 "\t[--version]\n"
655 "\t[PhysicalVolume [PhysicalVolume...]]\n",
3e3d5d85 656
ec40d928
AK
657 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
658 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca
AK
659 rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG,
660 unbuffered_ARG, units_ARG, unquoted_ARG)
4c64ed4c 661
269930c0
AK
662xx(pvscan,
663 "List all physical volumes",
b83af516 664 PERMITTED_READ_ONLY,
a03f2320 665 "pvscan " "\n"
35216ca6 666 "\t[--cache [DevicePath...]] " "\n"
a03f2320 667 "\t[-d|--debug] " "\n"
c80325ca
AK
668 "\t{-e|--exported | -n|--novolumegroup} " "\n"
669 "\t[-h|-?|--help]" "\n"
8b46b545 670 "\t[--ignorelockingfailure]\n"
6b4c9ff7 671 "\t[-P|--partial] " "\n"
a03f2320
AK
672 "\t[-s|--short] " "\n"
673 "\t[-u|--uuid] " "\n"
674 "\t[-v|--verbose] " "\n"
675 "\t[--version]\n",
269930c0 676
d742cdf3
AK
677 cache_ARG, exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG,
678 partial_ARG, short_ARG, uuid_ARG)
269930c0 679
156dd4f1
AK
680xx(segtypes,
681 "List available segment types",
b83af516 682 PERMITTED_READ_ONLY,
156dd4f1
AK
683 "segtypes\n")
684
269930c0
AK
685xx(vgcfgbackup,
686 "Backup volume group configuration(s)",
b83af516 687 PERMITTED_READ_ONLY,
a03f2320
AK
688 "vgcfgbackup " "\n"
689 "\t[-d|--debug] " "\n"
952d12a5 690 "\t[-f|--file filename] " "\n"
c80325ca 691 "\t[-h|-?|--help] " "\n"
8b46b545 692 "\t[--ignorelockingfailure]\n"
407332cb 693 "\t[-P|--partial] " "\n"
a03f2320 694 "\t[-v|--verbose]" "\n"
4c64ed4c 695 "\t[--version] " "\n"
2041d905 696 "\t[VolumeGroupName...]\n",
8b46b545
HM
697
698 file_ARG, ignorelockingfailure_ARG, partial_ARG)
269930c0
AK
699
700xx(vgcfgrestore,
701 "Restore volume group configuration",
bf7dea97 702 0,
a03f2320
AK
703 "vgcfgrestore " "\n"
704 "\t[-d|--debug] " "\n"
952d12a5 705 "\t[-f|--file filename] " "\n"
a03f2320 706 "\t[-l[l]|--list [--list]]" "\n"
5a52dca9 707 "\t[-M|--metadatatype 1|2]" "\n"
a03f2320 708 "\t[-h|--help]" "\n"
a03f2320
AK
709 "\t[-t|--test] " "\n"
710 "\t[-v|--verbose]" "\n"
711 "\t[--version] " "\n"
288adea2 712 "\tVolumeGroupName",
269930c0 713
ff403ee2 714 file_ARG, list_ARG, metadatatype_ARG, test_ARG)
269930c0
AK
715
716xx(vgchange,
717 "Change volume group attributes",
b83af516 718 CACHE_VGMETADATA | PERMITTED_READ_ONLY,
a03f2320
AK
719 "vgchange" "\n"
720 "\t[-A|--autobackup {y|n}] " "\n"
63bea03e 721 "\t[--alloc AllocationPolicy] " "\n"
f53c6aa6 722 "\t[-P|--partial] " "\n"
a03f2320
AK
723 "\t[-d|--debug] " "\n"
724 "\t[-h|--help] " "\n"
8b46b545 725 "\t[--ignorelockingfailure]\n"
53c774b9 726 "\t[--ignoremonitoring]\n"
3e3d5d85 727 "\t[--monitor {y|n}]\n"
1779cc34 728 "\t[--[vg]metadatacopies #copies] " "\n"
7a8fa6aa 729 "\t[--poll {y|n}]\n"
49886d09 730 "\t[--noudevsync]\n"
da1ba4ed 731 "\t[--refresh]\n"
d50c6d4b 732 "\t[--sysinit]\n"
a03f2320 733 "\t[-t|--test]" "\n"
15e6db35 734 "\t[-u|--uuid] " "\n"
a03f2320
AK
735 "\t[-v|--verbose] " "\n"
736 "\t[--version]" "\n"
d6cf4325 737 "\t{-a|--available [e|l]{y|n} |" "\n"
343a8c92 738 "\t -c|--clustered {y|n} |" "\n"
b80f32dd 739 "\t -x|--resizeable {y|n} |" "\n"
cf6dd251 740 "\t -l|--logicalvolume MaxLogicalVolumes |" "\n"
e95d8284 741 "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n"
c1060e13 742 "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n"
cf6dd251
AK
743 "\t --addtag Tag |\n"
744 "\t --deltag Tag}\n"
a03f2320 745 "\t[VolumeGroupName...]\n",
269930c0 746
a0a23eff 747 addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, available_ARG,
53c774b9 748 clustered_ARG, deltag_ARG, ignorelockingfailure_ARG, ignoremonitoring_ARG,
49886d09 749 logicalvolume_ARG, maxphysicalvolumes_ARG, monitor_ARG, noudevsync_ARG,
1779cc34
DW
750 metadatacopies_ARG, vgmetadatacopies_ARG, partial_ARG,
751 physicalextentsize_ARG, poll_ARG, refresh_ARG, resizeable_ARG,
d50c6d4b 752 resizable_ARG, sysinit_ARG, test_ARG, uuid_ARG)
269930c0
AK
753
754xx(vgck,
755 "Check the consistency of volume group(s)",
bf7dea97 756 0,
269930c0 757 "vgck "
c80325ca
AK
758 "\t[-d|--debug]\n"
759 "\t[-h|--help]\n"
760 "\t[-v|--verbose]\n"
43ecb8ff 761 "\t[--version]" "\n"
269930c0
AK
762 "\t[VolumeGroupName...]\n" )
763
5a52dca9
AK
764xx(vgconvert,
765 "Change volume group metadata format",
bf7dea97 766 0,
5a52dca9
AK
767 "vgconvert " "\n"
768 "\t[-d|--debug]" "\n"
769 "\t[-h|--help] " "\n"
770 "\t[--labelsector sector] " "\n"
771 "\t[-M|--metadatatype 1|2]" "\n"
0ddb66ef 772 "\t[--pvmetadatacopies #copies]" "\n"
c1060e13 773 "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n"
5a52dca9
AK
774 "\t[-t|--test] " "\n"
775 "\t[-v|--verbose] " "\n"
776 "\t[--version] " "\n"
777 "\tVolumeGroupName [VolumeGroupName...]\n",
778
779 force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG,
0ddb66ef 780 pvmetadatacopies_ARG, metadatasize_ARG )
5a52dca9 781
269930c0
AK
782xx(vgcreate,
783 "Create a volume group",
bf7dea97 784 0,
a03f2320
AK
785 "vgcreate" "\n"
786 "\t[-A|--autobackup {y|n}] " "\n"
cf6dd251 787 "\t[--addtag Tag] " "\n"
63bea03e 788 "\t[--alloc AllocationPolicy] " "\n"
147b7d5e 789 "\t[-c|--clustered {y|n}] " "\n"
a03f2320 790 "\t[-d|--debug]" "\n"
25b73380 791 "\t[-h|--help]" "\n"
a03f2320 792 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
5a52dca9 793 "\t[-M|--metadatatype 1|2] " "\n"
9e111ef6 794 "\t[--[vg]metadatacopies #copies] " "\n"
a03f2320 795 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
c1060e13 796 "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n"
a03f2320
AK
797 "\t[-t|--test] " "\n"
798 "\t[-v|--verbose]" "\n"
799 "\t[--version] " "\n"
a7dfe4f2
DW
800 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
801 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
269930c0 802
343a8c92 803 addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG,
2e201936
DW
804 maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG,
805 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatasize_ARG,
9e111ef6
DW
806 pvmetadatacopies_ARG, metadatacopies_ARG, vgmetadatacopies_ARG,
807 dataalignment_ARG, dataalignmentoffset_ARG)
269930c0
AK
808
809xx(vgdisplay,
810 "Display volume group information",
b83af516 811 PERMITTED_READ_ONLY,
a03f2320 812 "vgdisplay " "\n"
7c638cc2 813 "\t[-A|--activevolumegroups]" "\n"
a03f2320
AK
814 "\t[-c|--colon | -s|--short | -v|--verbose]" "\n"
815 "\t[-d|--debug] " "\n"
816 "\t[-h|--help] " "\n"
5a52dca9 817 "\t[--ignorelockingfailure]" "\n"
4c64ed4c 818 "\t[--nosuffix]\n"
7ae5a778 819 "\t[-P|--partial] " "\n"
7c638cc2 820 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
7ae5a778 821 "\t[--version]" "\n"
4c64ed4c
AK
822 "\t[VolumeGroupName [VolumeGroupName...]]\n"
823 "\n"
824 "vgdisplay --columns|-C\n"
825 "\t[--aligned]\n"
826 "\t[-d|--debug] " "\n"
827 "\t[-h|--help] " "\n"
828 "\t[--ignorelockingfailure]" "\n"
829 "\t[--noheadings]\n"
830 "\t[--nosuffix]\n"
831 "\t[-o|--options [+]Field[,Field]]\n"
832 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
833 "\t[-P|--partial] " "\n"
834 "\t[--separator Separator]\n"
835 "\t[--unbuffered]\n"
7c638cc2 836 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
4c64ed4c
AK
837 "\t[--verbose]" "\n"
838 "\t[--version]" "\n"
839 "\t[VolumeGroupName [VolumeGroupName...]]\n",
269930c0 840
7c638cc2 841 activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG,
4c64ed4c 842 ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG,
bc0d0ce0 843 partial_ARG, short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG)
269930c0
AK
844
845xx(vgexport,
846 "Unregister volume group(s) from the system",
bf7dea97 847 0,
a03f2320
AK
848 "vgexport " "\n"
849 "\t[-a|--all] " "\n"
850 "\t[-d|--debug] " "\n"
851 "\t[-h|--help]" "\n"
852 "\t[-v|--verbose] " "\n"
853 "\t[--version] " "\n"
854 "\tVolumeGroupName [VolumeGroupName...]\n",
269930c0 855
c2d72fd4 856 all_ARG, test_ARG)
269930c0
AK
857
858xx(vgextend,
859 "Add physical volumes to a volume group",
bf7dea97 860 0,
269930c0 861 "vgextend\n"
c80325ca 862 "\t[-A|--autobackup y|n]\n"
49908a9a 863 "\t[--restoremissing]\n"
c80325ca 864 "\t[-d|--debug]\n"
96c3c464 865 "\t[-f|--force]\n"
c80325ca
AK
866 "\t[-h|--help]\n"
867 "\t[-t|--test]\n"
868 "\t[-v|--verbose]\n"
4c64ed4c 869 "\t[--version]" "\n"
a7dfe4f2 870 "\t[ PHYSICAL DEVICE OPTIONS ] " "\n"
a03f2320 871 "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
269930c0 872
2e201936
DW
873 autobackup_ARG, test_ARG,
874 force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatatype_ARG,
0ddb66ef 875 metadatasize_ARG, pvmetadatacopies_ARG, metadatacopies_ARG,
49908a9a
PR
876 metadataignore_ARG, dataalignment_ARG, dataalignmentoffset_ARG,
877 restoremissing_ARG)
269930c0
AK
878
879xx(vgimport,
880 "Register exported volume group with system",
bf7dea97 881 0,
a03f2320 882 "vgimport " "\n"
c80325ca 883 "\t[-a|--all]\n"
a03f2320
AK
884 "\t[-d|--debug] " "\n"
885 "\t[-f|--force] " "\n"
886 "\t[-h|--help] " "\n"
887 "\t[-t|--test] " "\n"
888 "\t[-v|--verbose]" "\n"
4c64ed4c 889 "\t[--version]" "\n"
df91af91 890 "\tVolumeGroupName..." "\n",
269930c0 891
df91af91 892 all_ARG, force_ARG, test_ARG)
269930c0
AK
893
894xx(vgmerge,
895 "Merge volume groups",
bf7dea97 896 0,
269930c0 897 "vgmerge\n"
c80325ca
AK
898 "\t[-A|--autobackup y|n]\n"
899 "\t[-d|--debug]\n"
900 "\t[-h|--help]\n"
901 "\t[-l|--list]\n"
902 "\t[-t|--test]\n"
903 "\t[-v|--verbose]\n"
4c64ed4c 904 "\t[--version]" "\n"
269930c0
AK
905 "\tDestinationVolumeGroupName SourceVolumeGroupName\n",
906
907 autobackup_ARG, list_ARG, test_ARG)
908
909xx(vgmknodes,
910 "Create the special files for volume group devices in /dev",
bf7dea97 911 0,
269930c0 912 "vgmknodes\n"
c80325ca
AK
913 "\t[-d|--debug]\n"
914 "\t[-h|--help]\n"
0a0f13e6 915 "\t[--ignorelockingfailure]\n"
da1ba4ed 916 "\t[--refresh]\n"
c80325ca 917 "\t[-v|--verbose]\n"
4c64ed4c 918 "\t[--version]" "\n"
0a0f13e6
AK
919 "\t[VolumeGroupName...]\n",
920
da1ba4ed 921 ignorelockingfailure_ARG, refresh_ARG)
269930c0
AK
922
923xx(vgreduce,
924 "Remove physical volume(s) from a volume group",
bf7dea97 925 0,
269930c0 926 "vgreduce\n"
c80325ca
AK
927 "\t[-a|--all]\n"
928 "\t[-A|--autobackup y|n]\n"
929 "\t[-d|--debug]\n"
930 "\t[-h|--help]\n"
c9dcba6b 931 "\t[--mirrorsonly]\n"
a421f743 932 "\t[--removemissing]\n"
8c5bcdab 933 "\t[-f|--force]\n"
c80325ca
AK
934 "\t[-t|--test]\n"
935 "\t[-v|--verbose]\n"
4c64ed4c 936 "\t[--version]" "\n"
269930c0
AK
937 "\tVolumeGroupName\n"
938 "\t[PhysicalVolumePath...]\n",
939
87ec9484
AK
940 all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG,
941 test_ARG)
269930c0
AK
942
943xx(vgremove,
944 "Remove volume group(s)",
bf7dea97 945 0,
269930c0 946 "vgremove\n"
c80325ca 947 "\t[-d|--debug]\n"
f603fe64 948 "\t[-f|--force]\n"
c80325ca 949 "\t[-h|--help]\n"
49886d09 950 "\t[--noudevsync]\n"
c80325ca
AK
951 "\t[-t|--test]\n"
952 "\t[-v|--verbose]\n"
4c64ed4c 953 "\t[--version]" "\n"
c2d72fd4
AK
954 "\tVolumeGroupName [VolumeGroupName...]\n",
955
49886d09 956 force_ARG, noudevsync_ARG, test_ARG)
269930c0
AK
957
958xx(vgrename,
959 "Rename a volume group",
bf7dea97 960 0,
269930c0 961 "vgrename\n"
c80325ca
AK
962 "\t[-A|--autobackup y|n]\n"
963 "\t[-d|--debug]\n"
964 "\t[-h|--help]\n"
965 "\t[-t|--test]\n"
966 "\t[-v|--verbose]\n"
4c64ed4c 967 "\t[--version]" "\n"
a03f2320 968 "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
269930c0
AK
969 "\tOldVolumeGroupName NewVolumeGroupName\n",
970
c2d72fd4 971 autobackup_ARG, force_ARG, test_ARG)
269930c0 972
4c64ed4c
AK
973xx(vgs,
974 "Display information about volume groups",
b83af516 975 PERMITTED_READ_ONLY,
4c64ed4c
AK
976 "vgs" "\n"
977 "\t[--aligned]\n"
8211a13c 978 "\t[-a|--all]\n"
4c64ed4c
AK
979 "\t[-d|--debug]\n"
980 "\t[-h|--help]\n"
981 "\t[--ignorelockingfailure]\n"
ec40d928 982 "\t[--nameprefixes]\n"
4c64ed4c
AK
983 "\t[--noheadings]\n"
984 "\t[--nosuffix]\n"
985 "\t[-o|--options [+]Field[,Field]]\n"
986 "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
987 "\t[-P|--partial] " "\n"
1f787aca 988 "\t[--rows]\n"
4c64ed4c 989 "\t[--separator Separator]\n"
e3ad1d19 990 "\t[--trustcache]\n"
4c64ed4c 991 "\t[--unbuffered]\n"
7c638cc2 992 "\t[--units hHbBsSkKmMgGtTpPeE]\n"
30ef4c73 993 "\t[--unquoted]\n"
4c64ed4c
AK
994 "\t[-v|--verbose]\n"
995 "\t[--version]\n"
996 "\t[VolumeGroupName [VolumeGroupName...]]\n",
3e3d5d85 997
ec40d928
AK
998 aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG,
999 noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
1f787aca 1000 rows_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG,
30ef4c73 1001 unquoted_ARG)
4c64ed4c 1002
269930c0
AK
1003xx(vgscan,
1004 "Search for all volume groups",
b83af516 1005 PERMITTED_READ_ONLY,
269930c0 1006 "vgscan "
c80325ca
AK
1007 "\t[-d|--debug]\n"
1008 "\t[-h|--help]\n"
8b46b545 1009 "\t[--ignorelockingfailure]\n"
5a8fa8c9 1010 "\t[--mknodes]\n"
c80325ca 1011 "\t[-P|--partial] " "\n"
3e3d5d85 1012 "\t[-v|--verbose]\n"
4c64ed4c 1013 "\t[--version]" "\n",
8b46b545 1014
5a8fa8c9 1015 ignorelockingfailure_ARG, mknodes_ARG, partial_ARG)
269930c0
AK
1016
1017xx(vgsplit,
1ce224d1 1018 "Move physical volumes into a new or existing volume group",
bf7dea97 1019 0,
a03f2320
AK
1020 "vgsplit " "\n"
1021 "\t[-A|--autobackup {y|n}] " "\n"
b8daca85
DW
1022 "\t[--alloc AllocationPolicy] " "\n"
1023 "\t[-c|--clustered {y|n}] " "\n"
a03f2320
AK
1024 "\t[-d|--debug] " "\n"
1025 "\t[-h|--help] " "\n"
b8daca85 1026 "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n"
5a52dca9 1027 "\t[-M|--metadatatype 1|2] " "\n"
458a107e 1028 "\t[--[vg]metadatacopies #copies] " "\n"
85f5392e 1029 "\t[-n|--name LogicalVolumeName]\n"
b8daca85 1030 "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n"
a03f2320
AK
1031 "\t[-t|--test] " "\n"
1032 "\t[-v|--verbose] " "\n"
1033 "\t[--version]" "\n"
b8daca85 1034 "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n"
85f5392e 1035 "\t[PhysicalVolumePath...]\n",
269930c0 1036
6ab424ac 1037 alloc_ARG, autobackup_ARG, clustered_ARG,
b8daca85 1038 maxlogicalvolumes_ARG, maxphysicalvolumes_ARG,
458a107e 1039 metadatatype_ARG, vgmetadatacopies_ARG, name_ARG, test_ARG)
fae0c576
AK
1040
1041xx(version,
1042 "Display software and driver version information",
b83af516 1043 PERMITTED_READ_ONLY,
fae0c576
AK
1044 "version\n" )
1045
This page took 0.254547 seconds and 5 git commands to generate.