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