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