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