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