]>
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" |
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" | |
c1060e13 | 136 | "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\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" |
c1060e13 | 162 | "\t -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\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" |
c1060e13 | 231 | "\t -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\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" |
c1060e13 | 301 | "\t -L|--size [-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\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" |
c1060e13 | 354 | "\t -L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}\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" | |
c1060e13 | 439 | "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\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" | |
c1060e13 MS |
471 | "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n" |
472 | "\t[--dataalignment Alignment[bBsSkKmMgGtTpPeE]]" "\n" | |
04b2a4bd | 473 | "\t[--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]]" "\n" |
c1060e13 | 474 | "\t[--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE]" "\n" |
a03f2320 | 475 | "\t[-t|--test] " "\n" |
add7dc2d | 476 | "\t[-u|--uuid uuid] " "\n" |
a03f2320 | 477 | "\t[-v|--verbose] " "\n" |
5a52dca9 | 478 | "\t[-y|--yes]" "\n" |
2245e1c4 | 479 | "\t[-Z|--zero {y|n}]\n" |
a03f2320 AK |
480 | "\t[--version] " "\n" |
481 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
269930c0 | 482 | |
04b2a4bd MS |
483 | dataalignment_ARG, dataalignmentoffset_ARG, force_ARG, test_ARG, |
484 | labelsector_ARG, metadatatype_ARG, metadatacopies_ARG, metadatasize_ARG, | |
485 | physicalvolumesize_ARG, restorefile_ARG, uuidstr_ARG, yes_ARG, zero_ARG) | |
269930c0 AK |
486 | |
487 | xx(pvdata, | |
488 | "Display the on-disk metadata for physical volume(s)", | |
bf7dea97 | 489 | 0, |
a03f2320 AK |
490 | "pvdata " "\n" |
491 | "\t[-a|--all] " "\n" | |
492 | "\t[-d|--debug] " "\n" | |
493 | "\t[-E|--physicalextent] " "\n" | |
c80325ca | 494 | "\t[-h|-?|--help]" "\n" |
a03f2320 AK |
495 | "\t[-L|--logicalvolume] " "\n" |
496 | "\t[-P[P]|--physicalvolume [--physicalvolume]]" "\n" | |
497 | "\t[-U|--uuidlist] " "\n" | |
498 | "\t[-v[v]|--verbose [--verbose]] " "\n" | |
499 | "\t[-V|--volumegroup]" "\n" | |
500 | "\t[--version] " "\n" | |
501 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
269930c0 AK |
502 | |
503 | all_ARG, logicalextent_ARG, physicalextent_ARG, | |
504 | physicalvolume_ARG, uuidlist_ARG, volumegroup_ARG) | |
505 | ||
506 | xx(pvdisplay, | |
4c64ed4c | 507 | "Display various attributes of physical volume(s)", |
772cac09 | 508 | CACHE_VGMETADATA, |
269930c0 | 509 | "pvdisplay\n" |
c80325ca AK |
510 | "\t[-c|--colon]\n" |
511 | "\t[-d|--debug]\n" | |
512 | "\t[-h|--help]\n" | |
8b46b545 | 513 | "\t[--ignorelockingfailure]\n" |
c80325ca | 514 | "\t[-m|--maps]\n" |
4c64ed4c | 515 | "\t[--nosuffix]\n" |
c80325ca | 516 | "\t[-s|--short]\n" |
4c64ed4c | 517 | "\t[--units hsbkmgtHKMGT]\n" |
c80325ca | 518 | "\t[-v|--verbose]\n" |
4c64ed4c AK |
519 | "\t[--version]" "\n" |
520 | "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n" | |
521 | "\n" | |
522 | "pvdisplay --columns|-C\n" | |
523 | "\t[--aligned]\n" | |
200ef4db | 524 | "\t[-a|--all]\n" |
4c64ed4c AK |
525 | "\t[-d|--debug]\n" |
526 | "\t[-h|--help]\n" | |
527 | "\t[--ignorelockingfailure]\n" | |
528 | "\t[--noheadings]\n" | |
529 | "\t[--nosuffix]\n" | |
530 | "\t[-o|--options [+]Field[,Field]]\n" | |
531 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
532 | "\t[--separator Separator]\n" | |
533 | "\t[--unbuffered]\n" | |
534 | "\t[--units hsbkmgtHKMGT]\n" | |
535 | "\t[-v|--verbose]\n" | |
536 | "\t[--version]" "\n" | |
537 | "\t[PhysicalVolumePath [PhysicalVolumePath...]]\n", | |
269930c0 | 538 | |
200ef4db AK |
539 | aligned_ARG, all_ARG, colon_ARG, columns_ARG, ignorelockingfailure_ARG, |
540 | maps_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, separator_ARG, | |
541 | short_ARG, sort_ARG, unbuffered_ARG, units_ARG) | |
269930c0 | 542 | |
269930c0 AK |
543 | xx(pvmove, |
544 | "Move extents from one physical volume to another", | |
bf7dea97 | 545 | 0, |
43ecb8ff | 546 | "pvmove " "\n" |
3a61b054 | 547 | "\t[--abort]\n" |
43ecb8ff | 548 | "\t[-A|--autobackup {y|n}]\n" |
63bea03e | 549 | "\t[--alloc AllocationPolicy]\n" |
3a61b054 | 550 | "\t[-b|--background]\n" |
43ecb8ff | 551 | "\t[-d|--debug]\n " |
43ecb8ff AK |
552 | "\t[-h|-?|--help]\n" |
553 | "\t[-i|--interval seconds]\n" | |
554 | "\t[-t|--test]\n " | |
555 | "\t[-v|--verbose]\n " | |
556 | "\t[--version]\n" | |
57c74fb5 | 557 | "\t[{-n|--name} LogicalVolume]\n" |
43ecb8ff | 558 | /* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */ |
9bd40d31 | 559 | "\tSourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n" |
43ecb8ff | 560 | "\t[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n", |
269930c0 | 561 | |
3e3d5d85 | 562 | abort_ARG, alloc_ARG, autobackup_ARG, background_ARG, |
00b47204 | 563 | interval_ARG, name_ARG, test_ARG) |
269930c0 | 564 | |
5a52dca9 AK |
565 | xx(pvremove, |
566 | "Remove LVM label(s) from physical volume(s)", | |
bf7dea97 | 567 | 0, |
5a52dca9 AK |
568 | "pvremove " "\n" |
569 | "\t[-d|--debug]" "\n" | |
570 | "\t[-f[f]|--force [--force]] " "\n" | |
c80325ca | 571 | "\t[-h|-?|--help] " "\n" |
5a52dca9 AK |
572 | "\t[-t|--test] " "\n" |
573 | "\t[-v|--verbose] " "\n" | |
574 | "\t[-y|--yes]" "\n" | |
575 | "\t[--version] " "\n" | |
576 | "\tPhysicalVolume [PhysicalVolume...]\n", | |
577 | ||
578 | force_ARG, test_ARG, yes_ARG) | |
579 | ||
4c64ed4c AK |
580 | xx(pvs, |
581 | "Display information about physical volumes", | |
772cac09 | 582 | CACHE_VGMETADATA, |
4c64ed4c AK |
583 | "pvs" "\n" |
584 | "\t[--aligned]\n" | |
c29d2465 | 585 | "\t[-a|--all]\n" |
4c64ed4c AK |
586 | "\t[-d|--debug]" "\n" |
587 | "\t[-h|-?|--help] " "\n" | |
4c64ed4c | 588 | "\t[--ignorelockingfailure]\n" |
ec40d928 AK |
589 | "\t[--nameprefixes]\n" |
590 | "\t[--noheadings]\n" | |
4c64ed4c AK |
591 | "\t[--nosuffix]\n" |
592 | "\t[-o|--options [+]Field[,Field]]\n" | |
593 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
f855ac38 | 594 | "\t[-P|--partial] " "\n" |
1f787aca | 595 | "\t[--rows]\n" |
c54a9405 | 596 | "\t[--segments]\n" |
4c64ed4c | 597 | "\t[--separator Separator]\n" |
e3ad1d19 | 598 | "\t[--trustcache]\n" |
4c64ed4c AK |
599 | "\t[--unbuffered]\n" |
600 | "\t[--units hsbkmgtHKMGT]\n" | |
30ef4c73 | 601 | "\t[--unquoted]\n" |
4c64ed4c AK |
602 | "\t[-v|--verbose]\n" |
603 | "\t[--version]\n" | |
604 | "\t[PhysicalVolume [PhysicalVolume...]]\n", | |
3e3d5d85 | 605 | |
ec40d928 AK |
606 | aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG, |
607 | noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG, | |
1f787aca AK |
608 | rows_ARG, segments_ARG, separator_ARG, sort_ARG, trustcache_ARG, |
609 | unbuffered_ARG, units_ARG, unquoted_ARG) | |
4c64ed4c | 610 | |
269930c0 AK |
611 | xx(pvscan, |
612 | "List all physical volumes", | |
bf7dea97 | 613 | 0, |
a03f2320 AK |
614 | "pvscan " "\n" |
615 | "\t[-d|--debug] " "\n" | |
c80325ca AK |
616 | "\t{-e|--exported | -n|--novolumegroup} " "\n" |
617 | "\t[-h|-?|--help]" "\n" | |
8b46b545 | 618 | "\t[--ignorelockingfailure]\n" |
6b4c9ff7 | 619 | "\t[-P|--partial] " "\n" |
a03f2320 AK |
620 | "\t[-s|--short] " "\n" |
621 | "\t[-u|--uuid] " "\n" | |
622 | "\t[-v|--verbose] " "\n" | |
623 | "\t[--version]\n", | |
269930c0 | 624 | |
8b46b545 HM |
625 | exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG, partial_ARG, |
626 | short_ARG, uuid_ARG) | |
269930c0 | 627 | |
156dd4f1 AK |
628 | xx(segtypes, |
629 | "List available segment types", | |
bf7dea97 | 630 | 0, |
156dd4f1 AK |
631 | "segtypes\n") |
632 | ||
269930c0 AK |
633 | xx(vgcfgbackup, |
634 | "Backup volume group configuration(s)", | |
bf7dea97 | 635 | 0, |
a03f2320 AK |
636 | "vgcfgbackup " "\n" |
637 | "\t[-d|--debug] " "\n" | |
952d12a5 | 638 | "\t[-f|--file filename] " "\n" |
c80325ca | 639 | "\t[-h|-?|--help] " "\n" |
8b46b545 | 640 | "\t[--ignorelockingfailure]\n" |
407332cb | 641 | "\t[-P|--partial] " "\n" |
a03f2320 | 642 | "\t[-v|--verbose]" "\n" |
4c64ed4c | 643 | "\t[--version] " "\n" |
2041d905 | 644 | "\t[VolumeGroupName...]\n", |
8b46b545 HM |
645 | |
646 | file_ARG, ignorelockingfailure_ARG, partial_ARG) | |
269930c0 AK |
647 | |
648 | xx(vgcfgrestore, | |
649 | "Restore volume group configuration", | |
bf7dea97 | 650 | 0, |
a03f2320 AK |
651 | "vgcfgrestore " "\n" |
652 | "\t[-d|--debug] " "\n" | |
952d12a5 | 653 | "\t[-f|--file filename] " "\n" |
a03f2320 | 654 | "\t[-l[l]|--list [--list]]" "\n" |
5a52dca9 | 655 | "\t[-M|--metadatatype 1|2]" "\n" |
a03f2320 AK |
656 | "\t[-n|--name VolumeGroupName] " "\n" |
657 | "\t[-h|--help]" "\n" | |
a03f2320 AK |
658 | "\t[-t|--test] " "\n" |
659 | "\t[-v|--verbose]" "\n" | |
660 | "\t[--version] " "\n" | |
288adea2 | 661 | "\tVolumeGroupName", |
269930c0 | 662 | |
5a52dca9 | 663 | file_ARG, list_ARG, metadatatype_ARG, name_ARG, test_ARG) |
269930c0 AK |
664 | |
665 | xx(vgchange, | |
666 | "Change volume group attributes", | |
bf7dea97 | 667 | CACHE_VGMETADATA, |
a03f2320 AK |
668 | "vgchange" "\n" |
669 | "\t[-A|--autobackup {y|n}] " "\n" | |
63bea03e | 670 | "\t[--alloc AllocationPolicy] " "\n" |
f53c6aa6 | 671 | "\t[-P|--partial] " "\n" |
a03f2320 AK |
672 | "\t[-d|--debug] " "\n" |
673 | "\t[-h|--help] " "\n" | |
8b46b545 | 674 | "\t[--ignorelockingfailure]\n" |
53c774b9 | 675 | "\t[--ignoremonitoring]\n" |
3e3d5d85 | 676 | "\t[--monitor {y|n}]\n" |
da1ba4ed | 677 | "\t[--refresh]\n" |
a03f2320 | 678 | "\t[-t|--test]" "\n" |
15e6db35 | 679 | "\t[-u|--uuid] " "\n" |
a03f2320 AK |
680 | "\t[-v|--verbose] " "\n" |
681 | "\t[--version]" "\n" | |
d6cf4325 | 682 | "\t{-a|--available [e|l]{y|n} |" "\n" |
343a8c92 | 683 | "\t -c|--clustered {y|n} |" "\n" |
b80f32dd | 684 | "\t -x|--resizeable {y|n} |" "\n" |
cf6dd251 | 685 | "\t -l|--logicalvolume MaxLogicalVolumes |" "\n" |
e95d8284 | 686 | "\t -p|--maxphysicalvolumes MaxPhysicalVolumes |" "\n" |
c1060e13 | 687 | "\t -s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE] |" "\n" |
cf6dd251 AK |
688 | "\t --addtag Tag |\n" |
689 | "\t --deltag Tag}\n" | |
a03f2320 | 690 | "\t[VolumeGroupName...]\n", |
269930c0 | 691 | |
a0a23eff | 692 | addtag_ARG, alloc_ARG, allocation_ARG, autobackup_ARG, available_ARG, |
53c774b9 AK |
693 | clustered_ARG, deltag_ARG, ignorelockingfailure_ARG, ignoremonitoring_ARG, |
694 | logicalvolume_ARG, maxphysicalvolumes_ARG, monitor_ARG, partial_ARG, | |
da1ba4ed PR |
695 | physicalextentsize_ARG, refresh_ARG, resizeable_ARG, resizable_ARG, |
696 | test_ARG, uuid_ARG) | |
269930c0 AK |
697 | |
698 | xx(vgck, | |
699 | "Check the consistency of volume group(s)", | |
bf7dea97 | 700 | 0, |
269930c0 | 701 | "vgck " |
c80325ca AK |
702 | "\t[-d|--debug]\n" |
703 | "\t[-h|--help]\n" | |
704 | "\t[-v|--verbose]\n" | |
43ecb8ff | 705 | "\t[--version]" "\n" |
269930c0 AK |
706 | "\t[VolumeGroupName...]\n" ) |
707 | ||
5a52dca9 AK |
708 | xx(vgconvert, |
709 | "Change volume group metadata format", | |
bf7dea97 | 710 | 0, |
5a52dca9 AK |
711 | "vgconvert " "\n" |
712 | "\t[-d|--debug]" "\n" | |
713 | "\t[-h|--help] " "\n" | |
714 | "\t[--labelsector sector] " "\n" | |
715 | "\t[-M|--metadatatype 1|2]" "\n" | |
716 | "\t[--metadatacopies #copies]" "\n" | |
c1060e13 | 717 | "\t[--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]]" "\n" |
5a52dca9 AK |
718 | "\t[-t|--test] " "\n" |
719 | "\t[-v|--verbose] " "\n" | |
720 | "\t[--version] " "\n" | |
721 | "\tVolumeGroupName [VolumeGroupName...]\n", | |
722 | ||
723 | force_ARG, test_ARG, labelsector_ARG, metadatatype_ARG, metadatacopies_ARG, | |
724 | metadatasize_ARG ) | |
725 | ||
269930c0 AK |
726 | xx(vgcreate, |
727 | "Create a volume group", | |
bf7dea97 | 728 | 0, |
a03f2320 AK |
729 | "vgcreate" "\n" |
730 | "\t[-A|--autobackup {y|n}] " "\n" | |
cf6dd251 | 731 | "\t[--addtag Tag] " "\n" |
63bea03e | 732 | "\t[--alloc AllocationPolicy] " "\n" |
147b7d5e | 733 | "\t[-c|--clustered {y|n}] " "\n" |
a03f2320 | 734 | "\t[-d|--debug]" "\n" |
25b73380 | 735 | "\t[-h|--help]" "\n" |
a03f2320 | 736 | "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n" |
5a52dca9 | 737 | "\t[-M|--metadatatype 1|2] " "\n" |
a03f2320 | 738 | "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n" |
c1060e13 | 739 | "\t[-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]] " "\n" |
a03f2320 AK |
740 | "\t[-t|--test] " "\n" |
741 | "\t[-v|--verbose]" "\n" | |
742 | "\t[--version] " "\n" | |
743 | "\tVolumeGroupName PhysicalVolume [PhysicalVolume...]\n", | |
269930c0 | 744 | |
343a8c92 | 745 | addtag_ARG, alloc_ARG, autobackup_ARG, clustered_ARG, maxlogicalvolumes_ARG, |
a0a23eff | 746 | maxphysicalvolumes_ARG, metadatatype_ARG, physicalextentsize_ARG, test_ARG) |
269930c0 AK |
747 | |
748 | xx(vgdisplay, | |
749 | "Display volume group information", | |
bf7dea97 | 750 | 0, |
a03f2320 AK |
751 | "vgdisplay " "\n" |
752 | "\t[-c|--colon | -s|--short | -v|--verbose]" "\n" | |
753 | "\t[-d|--debug] " "\n" | |
754 | "\t[-h|--help] " "\n" | |
5a52dca9 | 755 | "\t[--ignorelockingfailure]" "\n" |
4c64ed4c | 756 | "\t[--nosuffix]\n" |
7ae5a778 | 757 | "\t[-P|--partial] " "\n" |
4c64ed4c | 758 | "\t[--units hsbkmgtHKMGT]\n" |
a03f2320 | 759 | "\t[-A|--activevolumegroups | [-D|--disk]" "\n" |
7ae5a778 | 760 | "\t[--version]" "\n" |
4c64ed4c AK |
761 | "\t[VolumeGroupName [VolumeGroupName...]]\n" |
762 | "\n" | |
763 | "vgdisplay --columns|-C\n" | |
764 | "\t[--aligned]\n" | |
765 | "\t[-d|--debug] " "\n" | |
766 | "\t[-h|--help] " "\n" | |
767 | "\t[--ignorelockingfailure]" "\n" | |
768 | "\t[--noheadings]\n" | |
769 | "\t[--nosuffix]\n" | |
770 | "\t[-o|--options [+]Field[,Field]]\n" | |
771 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
772 | "\t[-P|--partial] " "\n" | |
773 | "\t[--separator Separator]\n" | |
774 | "\t[--unbuffered]\n" | |
775 | "\t[--units hsbkmgtHKMGT]\n" | |
776 | "\t[--verbose]" "\n" | |
777 | "\t[--version]" "\n" | |
778 | "\t[VolumeGroupName [VolumeGroupName...]]\n", | |
269930c0 | 779 | |
4c64ed4c AK |
780 | activevolumegroups_ARG, aligned_ARG, colon_ARG, columns_ARG, disk_ARG, |
781 | ignorelockingfailure_ARG, noheadings_ARG, nosuffix_ARG, options_ARG, | |
bc0d0ce0 | 782 | partial_ARG, short_ARG, separator_ARG, sort_ARG, unbuffered_ARG, units_ARG) |
269930c0 AK |
783 | |
784 | xx(vgexport, | |
785 | "Unregister volume group(s) from the system", | |
bf7dea97 | 786 | 0, |
a03f2320 AK |
787 | "vgexport " "\n" |
788 | "\t[-a|--all] " "\n" | |
789 | "\t[-d|--debug] " "\n" | |
790 | "\t[-h|--help]" "\n" | |
791 | "\t[-v|--verbose] " "\n" | |
792 | "\t[--version] " "\n" | |
793 | "\tVolumeGroupName [VolumeGroupName...]\n", | |
269930c0 | 794 | |
c2d72fd4 | 795 | all_ARG, test_ARG) |
269930c0 AK |
796 | |
797 | xx(vgextend, | |
798 | "Add physical volumes to a volume group", | |
bf7dea97 | 799 | 0, |
269930c0 | 800 | "vgextend\n" |
c80325ca AK |
801 | "\t[-A|--autobackup y|n]\n" |
802 | "\t[-d|--debug]\n" | |
803 | "\t[-h|--help]\n" | |
804 | "\t[-t|--test]\n" | |
805 | "\t[-v|--verbose]\n" | |
4c64ed4c | 806 | "\t[--version]" "\n" |
a03f2320 | 807 | "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n", |
269930c0 | 808 | |
c2d72fd4 | 809 | autobackup_ARG, test_ARG) |
269930c0 AK |
810 | |
811 | xx(vgimport, | |
812 | "Register exported volume group with system", | |
bf7dea97 | 813 | 0, |
a03f2320 | 814 | "vgimport " "\n" |
c80325ca | 815 | "\t[-a|--all]\n" |
a03f2320 AK |
816 | "\t[-d|--debug] " "\n" |
817 | "\t[-f|--force] " "\n" | |
818 | "\t[-h|--help] " "\n" | |
819 | "\t[-t|--test] " "\n" | |
820 | "\t[-v|--verbose]" "\n" | |
4c64ed4c | 821 | "\t[--version]" "\n" |
df91af91 | 822 | "\tVolumeGroupName..." "\n", |
269930c0 | 823 | |
df91af91 | 824 | all_ARG, force_ARG, test_ARG) |
269930c0 AK |
825 | |
826 | xx(vgmerge, | |
827 | "Merge volume groups", | |
bf7dea97 | 828 | 0, |
269930c0 | 829 | "vgmerge\n" |
c80325ca AK |
830 | "\t[-A|--autobackup y|n]\n" |
831 | "\t[-d|--debug]\n" | |
832 | "\t[-h|--help]\n" | |
833 | "\t[-l|--list]\n" | |
834 | "\t[-t|--test]\n" | |
835 | "\t[-v|--verbose]\n" | |
4c64ed4c | 836 | "\t[--version]" "\n" |
269930c0 AK |
837 | "\tDestinationVolumeGroupName SourceVolumeGroupName\n", |
838 | ||
839 | autobackup_ARG, list_ARG, test_ARG) | |
840 | ||
841 | xx(vgmknodes, | |
842 | "Create the special files for volume group devices in /dev", | |
bf7dea97 | 843 | 0, |
269930c0 | 844 | "vgmknodes\n" |
c80325ca AK |
845 | "\t[-d|--debug]\n" |
846 | "\t[-h|--help]\n" | |
0a0f13e6 | 847 | "\t[--ignorelockingfailure]\n" |
da1ba4ed | 848 | "\t[--refresh]\n" |
c80325ca | 849 | "\t[-v|--verbose]\n" |
4c64ed4c | 850 | "\t[--version]" "\n" |
0a0f13e6 AK |
851 | "\t[VolumeGroupName...]\n", |
852 | ||
da1ba4ed | 853 | ignorelockingfailure_ARG, refresh_ARG) |
269930c0 AK |
854 | |
855 | xx(vgreduce, | |
856 | "Remove physical volume(s) from a volume group", | |
bf7dea97 | 857 | 0, |
269930c0 | 858 | "vgreduce\n" |
c80325ca AK |
859 | "\t[-a|--all]\n" |
860 | "\t[-A|--autobackup y|n]\n" | |
861 | "\t[-d|--debug]\n" | |
862 | "\t[-h|--help]\n" | |
c9dcba6b | 863 | "\t[--mirrorsonly]\n" |
a421f743 | 864 | "\t[--removemissing]\n" |
8c5bcdab | 865 | "\t[-f|--force]\n" |
c80325ca AK |
866 | "\t[-t|--test]\n" |
867 | "\t[-v|--verbose]\n" | |
4c64ed4c | 868 | "\t[--version]" "\n" |
269930c0 AK |
869 | "\tVolumeGroupName\n" |
870 | "\t[PhysicalVolumePath...]\n", | |
871 | ||
87ec9484 AK |
872 | all_ARG, autobackup_ARG, force_ARG, mirrorsonly_ARG, removemissing_ARG, |
873 | test_ARG) | |
269930c0 AK |
874 | |
875 | xx(vgremove, | |
876 | "Remove volume group(s)", | |
bf7dea97 | 877 | 0, |
269930c0 | 878 | "vgremove\n" |
c80325ca | 879 | "\t[-d|--debug]\n" |
f603fe64 | 880 | "\t[-f|--force]\n" |
c80325ca AK |
881 | "\t[-h|--help]\n" |
882 | "\t[-t|--test]\n" | |
883 | "\t[-v|--verbose]\n" | |
4c64ed4c | 884 | "\t[--version]" "\n" |
c2d72fd4 AK |
885 | "\tVolumeGroupName [VolumeGroupName...]\n", |
886 | ||
f603fe64 | 887 | force_ARG, test_ARG) |
269930c0 AK |
888 | |
889 | xx(vgrename, | |
890 | "Rename a volume group", | |
bf7dea97 | 891 | 0, |
269930c0 | 892 | "vgrename\n" |
c80325ca AK |
893 | "\t[-A|--autobackup y|n]\n" |
894 | "\t[-d|--debug]\n" | |
895 | "\t[-h|--help]\n" | |
896 | "\t[-t|--test]\n" | |
897 | "\t[-v|--verbose]\n" | |
4c64ed4c | 898 | "\t[--version]" "\n" |
a03f2320 | 899 | "\tOldVolumeGroupPath NewVolumeGroupPath |\n" |
269930c0 AK |
900 | "\tOldVolumeGroupName NewVolumeGroupName\n", |
901 | ||
c2d72fd4 | 902 | autobackup_ARG, force_ARG, test_ARG) |
269930c0 | 903 | |
4c64ed4c AK |
904 | xx(vgs, |
905 | "Display information about volume groups", | |
bf7dea97 | 906 | 0, |
4c64ed4c AK |
907 | "vgs" "\n" |
908 | "\t[--aligned]\n" | |
8211a13c | 909 | "\t[-a|--all]\n" |
4c64ed4c AK |
910 | "\t[-d|--debug]\n" |
911 | "\t[-h|--help]\n" | |
912 | "\t[--ignorelockingfailure]\n" | |
ec40d928 | 913 | "\t[--nameprefixes]\n" |
4c64ed4c AK |
914 | "\t[--noheadings]\n" |
915 | "\t[--nosuffix]\n" | |
916 | "\t[-o|--options [+]Field[,Field]]\n" | |
917 | "\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n" | |
918 | "\t[-P|--partial] " "\n" | |
1f787aca | 919 | "\t[--rows]\n" |
4c64ed4c | 920 | "\t[--separator Separator]\n" |
e3ad1d19 | 921 | "\t[--trustcache]\n" |
4c64ed4c AK |
922 | "\t[--unbuffered]\n" |
923 | "\t[--units hsbkmgtHKMGT]\n" | |
30ef4c73 | 924 | "\t[--unquoted]\n" |
4c64ed4c AK |
925 | "\t[-v|--verbose]\n" |
926 | "\t[--version]\n" | |
927 | "\t[VolumeGroupName [VolumeGroupName...]]\n", | |
3e3d5d85 | 928 | |
ec40d928 AK |
929 | aligned_ARG, all_ARG, ignorelockingfailure_ARG, nameprefixes_ARG, |
930 | noheadings_ARG, nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG, | |
1f787aca | 931 | rows_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG, |
30ef4c73 | 932 | unquoted_ARG) |
4c64ed4c | 933 | |
269930c0 AK |
934 | xx(vgscan, |
935 | "Search for all volume groups", | |
bf7dea97 | 936 | 0, |
269930c0 | 937 | "vgscan " |
c80325ca AK |
938 | "\t[-d|--debug]\n" |
939 | "\t[-h|--help]\n" | |
8b46b545 | 940 | "\t[--ignorelockingfailure]\n" |
5a8fa8c9 | 941 | "\t[--mknodes]\n" |
c80325ca | 942 | "\t[-P|--partial] " "\n" |
3e3d5d85 | 943 | "\t[-v|--verbose]\n" |
4c64ed4c | 944 | "\t[--version]" "\n", |
8b46b545 | 945 | |
5a8fa8c9 | 946 | ignorelockingfailure_ARG, mknodes_ARG, partial_ARG) |
269930c0 AK |
947 | |
948 | xx(vgsplit, | |
1ce224d1 | 949 | "Move physical volumes into a new or existing volume group", |
bf7dea97 | 950 | 0, |
a03f2320 AK |
951 | "vgsplit " "\n" |
952 | "\t[-A|--autobackup {y|n}] " "\n" | |
b8daca85 DW |
953 | "\t[--alloc AllocationPolicy] " "\n" |
954 | "\t[-c|--clustered {y|n}] " "\n" | |
a03f2320 AK |
955 | "\t[-d|--debug] " "\n" |
956 | "\t[-h|--help] " "\n" | |
b8daca85 | 957 | "\t[-l|--maxlogicalvolumes MaxLogicalVolumes]" "\n" |
5a52dca9 | 958 | "\t[-M|--metadatatype 1|2] " "\n" |
85f5392e | 959 | "\t[-n|--name LogicalVolumeName]\n" |
b8daca85 | 960 | "\t[-p|--maxphysicalvolumes MaxPhysicalVolumes] " "\n" |
a03f2320 AK |
961 | "\t[-t|--test] " "\n" |
962 | "\t[-v|--verbose] " "\n" | |
963 | "\t[--version]" "\n" | |
b8daca85 | 964 | "\tSourceVolumeGroupName DestinationVolumeGroupName" "\n" |
85f5392e | 965 | "\t[PhysicalVolumePath...]\n", |
269930c0 | 966 | |
6ab424ac | 967 | alloc_ARG, autobackup_ARG, clustered_ARG, |
b8daca85 | 968 | maxlogicalvolumes_ARG, maxphysicalvolumes_ARG, |
85f5392e | 969 | metadatatype_ARG, name_ARG, test_ARG) |
fae0c576 AK |
970 | |
971 | xx(version, | |
972 | "Display software and driver version information", | |
bf7dea97 | 973 | 0, |
fae0c576 AK |
974 | "version\n" ) |
975 |