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