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