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