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