1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Corrected lvcreate synopsis.

Added --ignorelockingflag to synopsis where missing.
This commit is contained in:
Heinz Mauelshagen 2002-11-28 15:27:29 +00:00
parent 66a8d8b4b2
commit 8b46b545c6

View File

@ -42,7 +42,7 @@ xx(lvactivate,
"Activate logical volume on given partition(s)", "Activate logical volume on given partition(s)",
"lvactivate " "lvactivate "
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"Logical Volume(s)\n") "Logical Volume(s)\n")
***********/ ***********/
@ -54,7 +54,7 @@ xx(lvchange,
"\t[-a/--available y/n]\n" "\t[-a/--available y/n]\n"
"\t[-C/--contiguous y/n]\n" "\t[-C/--contiguous y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[--ignorelockingfailure]\n" "\t[--ignorelockingfailure]\n"
"\t[-M/--persistent y/n] [--minor minor]\n" "\t[-M/--persistent y/n] [--minor minor]\n"
"\t[-P/--partial] " "\n" "\t[-P/--partial] " "\n"
@ -65,15 +65,14 @@ xx(lvchange,
"\tLogicalVolume[Path] [LogicalVolume[Path]...]\n", "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
autobackup_ARG, available_ARG, contiguous_ARG, autobackup_ARG, available_ARG, contiguous_ARG,
minor_ARG, persistent_ARG, partial_ARG, ignorelockingfailure_ARG, minor_ARG, persistent_ARG, partial_ARG,
permission_ARG, readahead_ARG, test_ARG, permission_ARG, readahead_ARG, test_ARG)
ignorelockingfailure_ARG)
xx(lvcreate, xx(lvcreate,
"Create a logical volume", "Create a logical volume",
"Original logical volume synopsis:\n\n"
"lvcreate " "\n" "lvcreate " "\n"
"\t[-A|--autobackup {y|n}]\n" "\t[-A|--autobackup {y|n}]\n"
"\t[-c|--chunksize]\n"
"\t[-C|--contiguous {y|n}]\n" "\t[-C|--contiguous {y|n}]\n"
"\t[-d|--debug]\n" "\t[-d|--debug]\n"
"\t[-h|--help]\n" "\t[-h|--help]\n"
@ -84,12 +83,31 @@ xx(lvcreate,
"\t[-n|--name LogicalVolumeName]\n" "\t[-n|--name LogicalVolumeName]\n"
"\t[-p|--permission {r|rw}]\n" "\t[-p|--permission {r|rw}]\n"
"\t[-r|--readahead ReadAheadSectors]\n" "\t[-r|--readahead ReadAheadSectors]\n"
"\t[-s|--snapshot]\n"
"\t[-t|--test]\n" "\t[-t|--test]\n"
"\t[-v|--verbose]\n" "\t[-v|--verbose]\n"
"\t[-Z|--zero {y|n}]\n" "\t[-Z|--zero {y|n}]\n"
"\t[--version]\n" "\t[--version]\n"
"\tVolumeGroupName [PhysicalVolumePath...]\n\n", "\tVolumeGroupName [PhysicalVolumePath...]\n\n\n"
"Snapshot logical volume synopsis:\n\n"
"lvcreate " "\n"
"\t-s|--snapshot\n"
"\t[-c|--chunksize]\n"
"\t[-A|--autobackup {y|n}]\n"
"\t[-C|--contiguous {y|n}]\n"
"\t[-d|--debug]\n"
"\t[-h|--help]\n"
"\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
"\t{-l|--extents LogicalExtentsNumber |\n"
"\t -L|--size LogicalVolumeSize[kKmMgGtT]}\n"
"\t[-M|--persistent {y|n}] [--minor minor]\n"
"\t[-n|--name LogicalVolumeName]\n"
"\t[-p|--permission {r|rw}]\n"
"\t[-r|--readahead ReadAheadSectors]\n"
"\t[-t|--test]\n"
"\t[-v|--verbose]\n"
"\t[--version]\n"
"\tOriginalLogicalVolume[Path] [PhysicalVolumePath...]\n\n",
autobackup_ARG, chunksize_ARG, contiguous_ARG, extents_ARG, minor_ARG, autobackup_ARG, chunksize_ARG, contiguous_ARG, extents_ARG, minor_ARG,
name_ARG, permission_ARG, persistent_ARG, readahead_ARG, size_ARG, name_ARG, permission_ARG, persistent_ARG, readahead_ARG, size_ARG,
@ -100,21 +118,21 @@ xx(lvdisplay,
"lvdisplay\n" "lvdisplay\n"
"\t[-c/--colon]\n" "\t[-c/--colon]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[--ignorelockingfailure]\n"
"\t[-m/--maps]\n" "\t[-m/--maps]\n"
"\t[-P/--partial] " "\n" "\t[-P/--partial] " "\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tLogicalVolume[Path] [LogicalVolume[Path]...]\n", "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
colon_ARG, disk_ARG, maps_ARG, partial_ARG, colon_ARG, disk_ARG, ignorelockingfailure_ARG, maps_ARG, partial_ARG)
ignorelockingfailure_ARG)
xx(lvextend, xx(lvextend,
"Add space to a logical volume", "Add space to a logical volume",
"lvextend\n" "lvextend\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
"\t{-l/--extents [+]LogicalExtentsNumber |\n" "\t{-l/--extents [+]LogicalExtentsNumber |\n"
"\t -L/--size [+]LogicalVolumeSize[kKmMgGtT]}\n" "\t -L/--size [+]LogicalVolumeSize[kKmMgGtT]}\n"
@ -129,7 +147,7 @@ xx(lvmchange,
"With the device mapper, this is obsolete and does nothing.", "With the device mapper, this is obsolete and does nothing.",
"lvmchange\n" "lvmchange\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-R/--reset]\n" "\t[-R/--reset]\n"
"\t[-v/--verbose]\n", "\t[-v/--verbose]\n",
@ -139,7 +157,7 @@ xx(lvmdiskscan,
"List devices that may be used as physical volumes", "List devices that may be used as physical volumes",
"lvmdiskscan\n" "lvmdiskscan\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-l/--lvmpartition]\n", "\t[-l/--lvmpartition]\n",
lvmpartition_ARG) lvmpartition_ARG)
@ -148,7 +166,7 @@ xx(lvmsadc,
"Collect activity data", "Collect activity data",
"lvmsadc\n" "lvmsadc\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\t[LogFilePath]\n" ) "\t[LogFilePath]\n" )
@ -157,12 +175,12 @@ xx(lvmsar,
"lvmsar\n" "lvmsar\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-f/--full]\n" "\t[-f/--full]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-s/--stdin]\n" "\t[-s/--stdin]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tLogFilePath\n", "\tLogFilePath\n",
full_ARG, stdin_ARG) full_ARG, stdin_ARG)
xx(lvreduce, xx(lvreduce,
"Reduce the size of a logical volume", "Reduce the size of a logical volume",
@ -170,7 +188,7 @@ xx(lvreduce,
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-f/--force]\n" "\t[-f/--force]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t{-l/--extents [-]LogicalExtentsNumber |\n" "\t{-l/--extents [-]LogicalExtentsNumber |\n"
"\t -L/--size [-]LogicalVolumeSize[kKmMgGtT]}\n" "\t -L/--size [-]LogicalVolumeSize[kKmMgGtT]}\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
@ -186,7 +204,7 @@ xx(lvremove,
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-f/--force]\n" "\t[-f/--force]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tLogicalVolume[Path] [LogicalVolume[Path]...]\n", "\tLogicalVolume[Path] [LogicalVolume[Path]...]\n",
@ -212,7 +230,7 @@ xx(lvresize,
"lvresize\n" "lvresize\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n"
"\t{-l/--extents [+/-]LogicalExtentsNumber |\n" "\t{-l/--extents [+/-]LogicalExtentsNumber |\n"
"\t -L/--size [+/-]LogicalVolumeSize[kKmMgGtT]}\n" "\t -L/--size [+/-]LogicalVolumeSize[kKmMgGtT]}\n"
@ -229,25 +247,26 @@ xx(lvscan,
"\t[-b|--blockdevice] " "\n" "\t[-b|--blockdevice] " "\n"
"\t[-d|--debug] " "\n" "\t[-d|--debug] " "\n"
"\t[-h|--help] " "\n" "\t[-h|--help] " "\n"
"\t[--ignorelockingfailure]\n"
"\t[-P|--partial] " "\n" "\t[-P|--partial] " "\n"
"\t[-v|--verbose] " "\n" "\t[-v|--verbose] " "\n"
"\t[--version]\n", "\t[--version]\n",
blockdevice_ARG, disk_ARG, partial_ARG, ignorelockingfailure_ARG); blockdevice_ARG, disk_ARG, ignorelockingfailure_ARG, partial_ARG)
xx(pvchange, xx(pvchange,
"Change attributes of physical volume(s)", "Change attributes of physical volume(s)",
"pvchange\n" "pvchange\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\t[-a/--all]\n" "\t[-a/--all]\n"
"\t[-t|--test]\n" "\t[-t|--test]\n"
"\t[-x/--allocatable y/n]\n" "\t[-x/--allocatable y/n]\n"
"\t[PhysicalVolumePath...]\n", "\t[PhysicalVolumePath...]\n",
all_ARG, autobackup_ARG, allocatable_ARG, allocation_ARG, test_ARG) all_ARG, allocatable_ARG, allocation_ARG, autobackup_ARG, test_ARG)
xx(pvcreate, xx(pvcreate,
"Initialize physical volume(s) for use by LVM", "Initialize physical volume(s) for use by LVM",
@ -295,13 +314,14 @@ xx(pvdisplay,
"pvdisplay\n" "pvdisplay\n"
"\t[-c/--colon]\n" "\t[-c/--colon]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[--ignorelockingfailure]\n"
"\t[-m/--maps]\n" "\t[-m/--maps]\n"
"\t[-s/--short]\n" "\t[-s/--short]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tPhysicalVolumePath [PhysicalVolumePath...]\n", "\tPhysicalVolumePath [PhysicalVolumePath...]\n",
colon_ARG, maps_ARG, short_ARG, ignorelockingfailure_ARG) colon_ARG, ignorelockingfailure_ARG, maps_ARG, short_ARG)
xx(pvmove, xx(pvmove,
"Move extents from one physical volume to another", "Move extents from one physical volume to another",
@ -317,7 +337,7 @@ xx(pvmove,
"SourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n\t" "SourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]}\n\t"
"[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n", "[DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...]\n",
autobackup_ARG, force_ARG, name_ARG, test_ARG) autobackup_ARG, force_ARG, name_ARG, test_ARG)
xx(pvremove, xx(pvremove,
"Remove LVM label(s) from physical volume(s)", "Remove LVM label(s) from physical volume(s)",
@ -355,14 +375,15 @@ xx(pvscan,
"\t[-d|--debug] " "\n" "\t[-d|--debug] " "\n"
"\t{-e|--exported | -n/--novolumegroup} " "\n" "\t{-e|--exported | -n/--novolumegroup} " "\n"
"\t[-h|--help]" "\n" "\t[-h|--help]" "\n"
"\t[--ignorelockingfailure]\n"
"\t[-P|--partial] " "\n" "\t[-P|--partial] " "\n"
"\t[-s|--short] " "\n" "\t[-s|--short] " "\n"
"\t[-u|--uuid] " "\n" "\t[-u|--uuid] " "\n"
"\t[-v|--verbose] " "\n" "\t[-v|--verbose] " "\n"
"\t[--version]\n", "\t[--version]\n",
exported_ARG, novolumegroup_ARG, partial_ARG, short_ARG, uuid_ARG, exported_ARG, ignorelockingfailure_ARG, novolumegroup_ARG, partial_ARG,
ignorelockingfailure_ARG) short_ARG, uuid_ARG)
xx(vgcfgbackup, xx(vgcfgbackup,
"Backup volume group configuration(s)", "Backup volume group configuration(s)",
@ -370,11 +391,13 @@ xx(vgcfgbackup,
"\t[-d|--debug] " "\n" "\t[-d|--debug] " "\n"
"\t[-f|--file filename] " "\n" "\t[-f|--file filename] " "\n"
"\t[-h|--help] " "\n" "\t[-h|--help] " "\n"
"\t[--ignorelockingfailure]\n"
"\t[-P|--partial] " "\n" "\t[-P|--partial] " "\n"
"\t[-v|--verbose]" "\n" "\t[-v|--verbose]" "\n"
"\t[-V|--version] " "\n" "\t[-V|--version] " "\n"
"\t[VolumeGroupName...]\n", "\t[VolumeGroupName...]\n",
file_ARG, partial_ARG, ignorelockingfailure_ARG)
file_ARG, ignorelockingfailure_ARG, partial_ARG)
xx(vgcfgrestore, xx(vgcfgrestore,
"Restore volume group configuration", "Restore volume group configuration",
@ -399,6 +422,7 @@ xx(vgchange,
"\t[-P|--partial] " "\n" "\t[-P|--partial] " "\n"
"\t[-d|--debug] " "\n" "\t[-d|--debug] " "\n"
"\t[-h|--help] " "\n" "\t[-h|--help] " "\n"
"\t[--ignorelockingfailure]\n"
"\t[-t|--test]" "\n" "\t[-t|--test]" "\n"
"\t[-v|--verbose] " "\n" "\t[-v|--verbose] " "\n"
"\t[--version]" "\n" "\t[--version]" "\n"
@ -407,15 +431,14 @@ xx(vgchange,
"\t -l|--logicalvolume MaxLogicalVolumes}" "\n" "\t -l|--logicalvolume MaxLogicalVolumes}" "\n"
"\t[VolumeGroupName...]\n", "\t[VolumeGroupName...]\n",
autobackup_ARG, available_ARG, logicalvolume_ARG, partial_ARG, autobackup_ARG, available_ARG, ignorelockingfailure_ARG, logicalvolume_ARG,
resizeable_ARG, resizable_ARG, allocation_ARG, partial_ARG, resizeable_ARG, resizable_ARG, allocation_ARG, test_ARG)
test_ARG, ignorelockingfailure_ARG)
xx(vgck, xx(vgck,
"Check the consistency of volume group(s)", "Check the consistency of volume group(s)",
"vgck " "vgck "
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\t[VolumeGroupName...]\n" ) "\t[VolumeGroupName...]\n" )
@ -466,8 +489,8 @@ xx(vgdisplay,
"\t[--version]" "\n" "\t[--version]" "\n"
"\t[VolumeGroupName...] ]\n", "\t[VolumeGroupName...] ]\n",
activevolumegroups_ARG, colon_ARG, disk_ARG, short_ARG, partial_ARG, activevolumegroups_ARG, colon_ARG, disk_ARG, ignorelockingfailure_ARG,
ignorelockingfailure_ARG) short_ARG, partial_ARG)
xx(vgexport, xx(vgexport,
"Unregister volume group(s) from the system", "Unregister volume group(s) from the system",
@ -486,7 +509,7 @@ xx(vgextend,
"vgextend\n" "vgextend\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n", "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
@ -511,7 +534,7 @@ xx(vgmerge,
"vgmerge\n" "vgmerge\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-l/--list]\n" "\t[-l/--list]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
@ -523,7 +546,7 @@ xx(vgmknodes,
"Create the special files for volume group devices in /dev", "Create the special files for volume group devices in /dev",
"vgmknodes\n" "vgmknodes\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\t[VolumeGroupName...]\n" ) "\t[VolumeGroupName...]\n" )
@ -533,7 +556,7 @@ xx(vgreduce,
"\t[-a/--all]\n" "\t[-a/--all]\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tVolumeGroupName\n" "\tVolumeGroupName\n"
@ -545,7 +568,7 @@ xx(vgremove,
"Remove volume group(s)", "Remove volume group(s)",
"vgremove\n" "vgremove\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tVolumeGroupName [VolumeGroupName...]\n", "\tVolumeGroupName [VolumeGroupName...]\n",
@ -557,7 +580,7 @@ xx(vgrename,
"vgrename\n" "vgrename\n"
"\t[-A/--autobackup y/n]\n" "\t[-A/--autobackup y/n]\n"
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[-t/--test]\n" "\t[-t/--test]\n"
"\t[-v/--verbose]\n" "\t[-v/--verbose]\n"
"\tOldVolumeGroupPath NewVolumeGroupPath |\n" "\tOldVolumeGroupPath NewVolumeGroupPath |\n"
@ -569,10 +592,12 @@ xx(vgscan,
"Search for all volume groups", "Search for all volume groups",
"vgscan " "vgscan "
"\t[-d/--debug]\n" "\t[-d/--debug]\n"
"\t[-h/-?/--help]\n" "\t[-h/--help]\n"
"\t[--ignorelockingfailure]\n"
"\t[-P/--partial] " "\n" "\t[-P/--partial] " "\n"
"\t[-v/--verbose]\n" , "\t[-v/--verbose]\n" ,
partial_ARG, ignorelockingfailure_ARG)
ignorelockingfailure_ARG, partial_ARG)
xx(vgsplit, xx(vgsplit,
"Move physical volumes into a new volume group", "Move physical volumes into a new volume group",