2001-09-25 16:49:28 +04:00
/*
2004-03-30 23:35:44 +04:00
* Copyright ( C ) 2001 - 2004 Sistina Software , Inc . All rights reserved .
* Copyright ( C ) 2004 Red Hat , Inc . All rights reserved .
2001-09-25 16:49:28 +04:00
*
2004-03-30 23:35:44 +04:00
* This file is part of LVM2 .
2001-09-25 16:49:28 +04:00
*
2004-03-30 23:35:44 +04:00
* This copyrighted material is made available to anyone wishing to use ,
* modify , copy , or redistribute it subject to the terms and conditions
* of the GNU General Public License v .2 .
2001-09-25 16:49:28 +04:00
*
* You should have received a copy of the GNU General Public License
2004-03-30 23:35:44 +04:00
* along with this program ; if not , write to the Free Software Foundation ,
* Inc . , 59 Temple Place , Suite 330 , Boston , MA 02111 - 1307 USA
2001-09-25 16:49:28 +04:00
*/
2002-11-18 17:04:08 +03:00
/*********** Replace with script?
xx ( e2fsadm ,
" Resize logical volume and ext2 filesystem " ,
" e2fsadm "
" [-d|--debug] " " [-h|--help] " " [-n|--nofsck] " " \n "
" \t {[-l|--extents] [+|-]LogicalExtentsNumber | " " \n "
" \t [-L|--size] [+|-]LogicalVolumeSize[kKmMgGtT]} " " \n "
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t LogicalVolumePath " " \n " ,
extents_ARG , size_ARG , nofsck_ARG , test_ARG )
* * * * * * * * */
2003-10-16 00:17:19 +04:00
xx ( dumpconfig ,
" Dump active configuration " ,
" dumpconfig <filename> \n " )
2004-09-14 20:42:46 +04:00
xx ( formats ,
" List available metadata formats " ,
" formats \n " )
2001-09-25 16:49:28 +04:00
xx ( help ,
" Display help for commands " ,
2001-12-03 23:23:53 +03:00
" help <command> " " \n " )
2001-09-25 16:49:28 +04:00
2001-10-08 22:44:22 +04:00
/*********
2001-09-25 16:49:28 +04:00
xx ( lvactivate ,
" Activate logical volume on given partition(s) " ,
2001-10-04 14:13:07 +04:00
" lvactivate "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-v|--verbose] \n "
2001-10-04 14:13:07 +04:00
" Logical Volume(s) \n " )
2001-10-08 22:44:22 +04:00
* * * * * * * * * * */
2001-09-25 16:49:28 +04:00
xx ( lvchange ,
" Change the attributes of logical volume(s) " ,
" lvchange \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
2004-11-12 18:59:09 +03:00
" \t [-a|--available [e|l]y|n] \n "
2004-03-08 20:19:15 +03:00
" \t [--addtag Tag] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2002-11-29 18:02:57 +03:00
" \t [-C|--contiguous y|n] \n "
" \t [-d|--debug] \n "
2004-03-08 20:19:15 +03:00
" \t [--deltag Tag] \n "
2003-07-11 21:10:19 +04:00
" \t [-f|--force] \n "
2002-11-29 18:02:57 +03:00
" \t [-h|--help] \n "
2002-11-18 17:04:08 +03:00
" \t [--ignorelockingfailure] \n "
2003-04-02 23:14:43 +04:00
" \t [-M|--persistent y|n] [--major major] [--minor minor] \n "
2002-11-29 18:02:57 +03:00
" \t [-P|--partial] " " \n "
" \t [-p|--permission r|rw] \n "
" \t [-r|--readahead ReadAheadSectors] \n "
2004-03-27 00:24:03 +03:00
" \t [--refresh] \n "
2002-11-29 18:02:57 +03:00
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t LogicalVolume[Path] [LogicalVolume[Path]...] \n " ,
2004-05-19 02:12:53 +04:00
alloc_ARG , autobackup_ARG , available_ARG , contiguous_ARG , force_ARG ,
2003-04-02 23:14:43 +04:00
ignorelockingfailure_ARG , major_ARG , minor_ARG , partial_ARG , permission_ARG ,
2004-03-27 00:24:03 +03:00
persistent_ARG , readahead_ARG , refresh_ARG , addtag_ARG , deltag_ARG ,
2004-03-08 20:19:15 +03:00
test_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvcreate ,
" Create a logical volume " ,
2002-02-11 14:43:17 +03:00
" lvcreate " " \n "
2002-02-18 13:59:51 +03:00
" \t [-A|--autobackup {y|n}] \n "
2004-03-08 20:19:15 +03:00
" \t [--addtag Tag] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2002-02-18 13:59:51 +03:00
" \t [-C|--contiguous {y|n}] \n "
" \t [-d|--debug] \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] \n "
2002-02-18 13:59:51 +03:00
" \t [-i|--stripes Stripes [-I|--stripesize StripeSize]] \n "
" \t {-l|--extents LogicalExtentsNumber | \n "
" \t -L|--size LogicalVolumeSize[kKmMgGtT]} \n "
2003-04-02 23:14:43 +04:00
" \t [-M|--persistent {y|n}] [--major major] [--minor minor] \n "
2002-02-18 13:59:51 +03:00
" \t [-n|--name LogicalVolumeName] \n "
" \t [-p|--permission {r|rw}] \n "
" \t [-r|--readahead ReadAheadSectors] \n "
" \t [-t|--test] \n "
2004-05-11 20:01:58 +04:00
" \t [--type VolumeType] \n "
2002-02-18 13:59:51 +03:00
" \t [-v|--verbose] \n "
" \t [-Z|--zero {y|n}] \n "
" \t [--version] \n "
2002-11-29 18:02:57 +03:00
" \t VolumeGroupName [PhysicalVolumePath...] \n \n "
2002-11-28 18:27:29 +03:00
2002-11-29 18:02:57 +03:00
" lvcreate -s|--snapshot \n "
2002-11-28 18:27:29 +03:00
" \t [-c|--chunksize] \n "
" \t [-A|--autobackup {y|n}] \n "
2004-03-08 20:19:15 +03:00
" \t [--addtag Tag] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2002-11-28 18:27:29 +03:00
" \t [-C|--contiguous {y|n}] \n "
" \t [-d|--debug] \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] \n "
2002-11-28 18:27:29 +03:00
" \t [-i|--stripes Stripes [-I|--stripesize StripeSize]] \n "
" \t {-l|--extents LogicalExtentsNumber | \n "
" \t -L|--size LogicalVolumeSize[kKmMgGtT]} \n "
2003-04-02 23:14:43 +04:00
" \t [-M|--persistent {y|n}] [--major major] [--minor minor] \n "
2002-11-28 18:27:29 +03:00
" \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 "
" \t OriginalLogicalVolume[Path] [PhysicalVolumePath...] \n \n " ,
2001-12-03 23:23:53 +03:00
2004-05-19 02:12:53 +04:00
addtag_ARG , alloc_ARG , autobackup_ARG , chunksize_ARG , contiguous_ARG ,
extents_ARG , major_ARG , minor_ARG , name_ARG , permission_ARG ,
persistent_ARG , readahead_ARG , size_ARG , snapshot_ARG , stripes_ARG ,
stripesize_ARG , test_ARG , type_ARG , zero_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvdisplay ,
" Display information about a logical volume " ,
" lvdisplay \n "
2002-11-29 18:02:57 +03:00
" \t [-c|--colon] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2002-11-29 18:02:57 +03:00
" \t [-m|--maps] \n "
2002-12-12 23:55:49 +03:00
" \t [--nosuffix] \n "
2002-11-29 18:02:57 +03:00
" \t [-P|--partial] " " \n "
2002-12-12 23:55:49 +03:00
" \t [--units hsbkmgtHKMGT] \n "
2002-11-29 18:02:57 +03:00
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
" \t [LogicalVolume[Path] [LogicalVolume[Path]...]] \n "
" \n "
" lvdisplay --columns|-C \n "
" \t [--aligned] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [--ignorelockingfailure] \n "
" \t [--noheadings] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [-P|--partial] " " \n "
" \t [--segments] \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [-v|--verbose] \n "
" \t [--version] " " \n "
" \t [LogicalVolume[Path] [LogicalVolume[Path]...]] \n " ,
2001-09-25 16:49:28 +04:00
2002-12-12 23:55:49 +03:00
aligned_ARG , colon_ARG , columns_ARG , disk_ARG , ignorelockingfailure_ARG ,
maps_ARG , noheadings_ARG , nosuffix_ARG , options_ARG , sort_ARG ,
partial_ARG , segments_ARG , separator_ARG , unbuffered_ARG , units_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvextend ,
" Add space to a logical volume " ,
" lvextend \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2001-11-27 16:42:37 +03:00
" \t [-i|--stripes Stripes [-I|--stripesize StripeSize]] \n "
2002-11-29 18:02:57 +03:00
" \t {-l|--extents [+]LogicalExtentsNumber | \n "
" \t -L|--size [+]LogicalVolumeSize[kKmMgGtT]} \n "
2004-06-15 21:23:49 +04:00
" \t [-n|--nofsck] \n "
" \t [-r|--resizefs] \n "
2002-11-29 18:02:57 +03:00
" \t [-t|--test] \n "
2004-05-11 20:01:58 +04:00
" \t [--type VolumeType] \n "
2002-11-29 18:02:57 +03:00
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t LogicalVolume[Path] [ PhysicalVolumePath... ] \n " ,
2004-06-15 21:23:49 +04:00
alloc_ARG , autobackup_ARG , extents_ARG , nofsck_ARG , resizefs_ARG ,
size_ARG , stripes_ARG , stripesize_ARG , test_ARG , type_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvmchange ,
2001-12-03 23:23:53 +03:00
" With the device mapper, this is obsolete and does nothing. " ,
2002-02-11 14:43:17 +03:00
" lvmchange \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-R|--reset] \n "
2002-12-12 23:55:49 +03:00
" \t [-v|--verbose] \n "
" \t [--version] " " \n " ,
2001-09-25 16:49:28 +04:00
2001-12-03 23:23:53 +03:00
reset_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvmdiskscan ,
" List devices that may be used as physical volumes " ,
" lvmdiskscan \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2002-12-12 23:55:49 +03:00
" \t [-l|--lvmpartition] \n "
" \t [--version] " " \n " ,
2001-09-25 16:49:28 +04:00
lvmpartition_ARG )
xx ( lvmsadc ,
" Collect activity data " ,
" lvmsadc \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t [LogFilePath] \n " )
xx ( lvmsar ,
" Create activity report " ,
" lvmsar \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-f|--full] \n "
" \t [-h|--help] \n "
" \t [-s|--stdin] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t LogFilePath \n " ,
2002-11-28 18:27:29 +03:00
full_ARG , stdin_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvreduce ,
" Reduce the size of a logical volume " ,
" lvreduce \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-f|--force] \n "
" \t [-h|--help] \n "
" \t {-l|--extents [-]LogicalExtentsNumber | \n "
" \t -L|--size [-]LogicalVolumeSize[kKmMgGtT]} \n "
2004-06-15 21:23:49 +04:00
" \t [-n|--nofsck] \n "
" \t [-r|--resizefs] \n "
2002-11-29 18:02:57 +03:00
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t LogicalVolume[Path] \n " ,
2004-06-15 21:23:49 +04:00
autobackup_ARG , force_ARG , extents_ARG , nofsck_ARG , resizefs_ARG ,
2001-11-28 21:03:11 +03:00
size_ARG , test_ARG , yes_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvremove ,
" Remove logical volume(s) from the system " ,
" lvremove \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-f|--force] \n "
" \t [-h|--help] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t LogicalVolume[Path] [LogicalVolume[Path]...] \n " ,
2001-11-28 21:03:11 +03:00
autobackup_ARG , force_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( lvrename ,
" Rename a logical volume " ,
" lvrename "
2001-12-03 23:23:53 +03:00
" \t [-A|--autobackup {y|n}] " " \n "
" \t [-d|--debug] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t { OldLogicalVolumePath NewLogicalVolumePath | " " \n "
" \t VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName } \n " ,
2001-09-25 16:49:28 +04:00
2001-11-28 21:03:11 +03:00
autobackup_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
2001-11-13 17:17:50 +03:00
xx ( lvresize ,
" Resize a logical volume " ,
" lvresize \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2001-11-27 16:42:37 +03:00
" \t [-i|--stripes Stripes [-I|--stripesize StripeSize]] \n "
2002-11-29 18:02:57 +03:00
" \t {-l|--extents [+|-]LogicalExtentsNumber | \n "
" \t -L|--size [+|-]LogicalVolumeSize[kKmMgGtT]} \n "
2004-06-15 21:23:49 +04:00
" \t [-n|--nofsck] \n "
" \t [-r|--resizefs] \n "
2001-11-28 21:03:11 +03:00
" \t [-t|--test] \n "
2004-05-11 20:01:58 +04:00
" \t [--type VolumeType] \n "
2002-11-29 18:02:57 +03:00
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-11-13 17:17:50 +03:00
" \t LogicalVolume[Path] [ PhysicalVolumePath... ] \n " ,
2004-06-15 21:23:49 +04:00
alloc_ARG , autobackup_ARG , extents_ARG , nofsck_ARG , resizefs_ARG ,
size_ARG , stripes_ARG , stripesize_ARG , test_ARG , type_ARG )
2001-11-13 17:17:50 +03:00
2002-12-12 23:55:49 +03:00
xx ( lvs ,
" Display information about logical volumes " ,
" lvs " " \n "
" \t [--aligned] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [--ignorelockingfailure] \n "
" \t [--noheadings] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [-P|--partial] " " \n "
" \t [--segments] \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [-v|--verbose] \n "
" \t [--version] " " \n "
" \t [LogicalVolume[Path] [LogicalVolume[Path]...]] \n " ,
2004-03-26 15:09:33 +03:00
aligned_ARG , ignorelockingfailure_ARG , noheadings_ARG , nolocking_ARG ,
nosuffix_ARG , options_ARG , partial_ARG , segments_ARG , separator_ARG ,
sort_ARG , unbuffered_ARG , units_ARG )
2002-12-12 23:55:49 +03:00
2001-09-25 16:49:28 +04:00
xx ( lvscan ,
" List all logical volumes in all volume groups " ,
2001-12-03 23:23:53 +03:00
" lvscan " " \n "
" \t [-b|--blockdevice] " " \n "
" \t [-d|--debug] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2002-04-30 21:12:37 +04:00
" \t [-P|--partial] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-v|--verbose] " " \n "
" \t [--version] \n " ,
2001-09-25 16:49:28 +04:00
2002-11-28 18:27:29 +03:00
blockdevice_ARG , disk_ARG , ignorelockingfailure_ARG , partial_ARG )
2001-09-25 16:49:28 +04:00
xx ( pvchange ,
" Change attributes of physical volume(s) " ,
" pvchange \n "
2004-01-13 21:42:05 +03:00
" \t [-a|--all] \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2001-11-28 21:03:11 +03:00
" \t [-t|--test] \n "
2004-01-13 21:42:05 +03:00
" \t [-u|--uuid] \n "
2002-11-29 18:02:57 +03:00
" \t [-x|--allocatable y|n] \n "
2004-01-13 21:42:05 +03:00
" \t [-v|--verbose] \n "
2004-03-08 20:19:15 +03:00
" \t [--addtag Tag] \n "
" \t [--deltag Tag] \n "
2004-01-13 21:42:05 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t [PhysicalVolumePath...] \n " ,
2004-03-08 20:19:15 +03:00
all_ARG , allocatable_ARG , allocation_ARG , autobackup_ARG , deltag_ARG ,
addtag_ARG , test_ARG , uuid_ARG )
2001-09-25 16:49:28 +04:00
xx ( pvcreate ,
" Initialize physical volume(s) for use by LVM " ,
2001-12-03 23:23:53 +03:00
" pvcreate " " \n "
2002-11-18 17:04:08 +03:00
" \t [--restorefile file] \n "
2001-12-03 23:23:53 +03:00
" \t [-d|--debug] " " \n "
" \t [-f[f]|--force [--force]] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2002-11-18 17:04:08 +03:00
" \t [--labelsector sector] " " \n "
" \t [-M|--metadatatype 1|2] " " \n "
" \t [--metadatacopies #copies] " " \n "
" \t [--metadatasize MetadataSize[kKmMgGtT]] " " \n "
" \t [--setphysicalvolumesize PhysicalVolumeSize[kKmMgGtT] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-t|--test] " " \n "
2002-01-16 21:10:08 +03:00
" \t [-u|--uuid uuid] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-v|--verbose] " " \n "
2002-11-18 17:04:08 +03:00
" \t [-y|--yes] " " \n "
2005-01-05 20:25:25 +03:00
" \t [-Z|--zero {y|n}] \n "
2001-12-03 23:23:53 +03:00
" \t [--version] " " \n "
" \t PhysicalVolume [PhysicalVolume...] \n " ,
2001-09-25 16:49:28 +04:00
2002-11-18 17:04:08 +03:00
force_ARG , test_ARG , labelsector_ARG , metadatatype_ARG , metadatacopies_ARG ,
metadatasize_ARG , physicalvolumesize_ARG , restorefile_ARG , uuidstr_ARG ,
2005-01-05 20:25:25 +03:00
yes_ARG , zero_ARG )
2001-09-25 16:49:28 +04:00
xx ( pvdata ,
" Display the on-disk metadata for physical volume(s) " ,
2001-12-03 23:23:53 +03:00
" pvdata " " \n "
" \t [-a|--all] " " \n "
" \t [-d|--debug] " " \n "
" \t [-E|--physicalextent] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-L|--logicalvolume] " " \n "
" \t [-P[P]|--physicalvolume [--physicalvolume]] " " \n "
" \t [-U|--uuidlist] " " \n "
" \t [-v[v]|--verbose [--verbose]] " " \n "
" \t [-V|--volumegroup] " " \n "
" \t [--version] " " \n "
" \t PhysicalVolume [PhysicalVolume...] \n " ,
2001-09-25 16:49:28 +04:00
all_ARG , logicalextent_ARG , physicalextent_ARG ,
physicalvolume_ARG , uuidlist_ARG , volumegroup_ARG )
xx ( pvdisplay ,
2002-12-12 23:55:49 +03:00
" Display various attributes of physical volume(s) " ,
2001-09-25 16:49:28 +04:00
" pvdisplay \n "
2002-11-29 18:02:57 +03:00
" \t [-c|--colon] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2002-11-29 18:02:57 +03:00
" \t [-m|--maps] \n "
2002-12-12 23:55:49 +03:00
" \t [--nosuffix] \n "
2002-11-29 18:02:57 +03:00
" \t [-s|--short] \n "
2002-12-12 23:55:49 +03:00
" \t [--units hsbkmgtHKMGT] \n "
2002-11-29 18:02:57 +03:00
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
" \t [PhysicalVolumePath [PhysicalVolumePath...]] \n "
" \n "
" pvdisplay --columns|-C \n "
" \t [--aligned] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [--ignorelockingfailure] \n "
" \t [--noheadings] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [-v|--verbose] \n "
" \t [--version] " " \n "
" \t [PhysicalVolumePath [PhysicalVolumePath...]] \n " ,
2001-09-25 16:49:28 +04:00
2002-12-12 23:55:49 +03:00
aligned_ARG , colon_ARG , columns_ARG , ignorelockingfailure_ARG , maps_ARG ,
noheadings_ARG , nosuffix_ARG , options_ARG , separator_ARG , short_ARG ,
sort_ARG , unbuffered_ARG , units_ARG )
2001-09-25 16:49:28 +04:00
xx ( pvmove ,
" Move extents from one physical volume to another " ,
2003-04-30 19:28:17 +04:00
" pvmove " " \n "
2003-05-06 16:08:58 +04:00
" \t [--abort] \n "
2003-04-30 19:28:17 +04:00
" \t [-A|--autobackup {y|n}] \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] \n "
2003-05-06 16:08:58 +04:00
" \t [-b|--background] \n "
2003-04-30 19:28:17 +04:00
" \t [-d|--debug] \n "
" \t [-f|--force] \n "
" \t [-h|-?|--help] \n "
" \t [-i|--interval seconds] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
" \t [--version] \n "
2003-09-15 19:01:36 +04:00
" \t [{-n|--name} LogicalVolume] \n "
2003-04-30 19:28:17 +04:00
/* "\t[{-n|--name} LogicalVolume[:LogicalExtent[-LogicalExtent]...]]\n" */
2004-08-18 22:49:29 +04:00
" \t SourcePhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]} \n "
2003-04-30 19:28:17 +04:00
" \t [DestinationPhysicalVolume[:PhysicalExtent[-PhysicalExtent]...]...] \n " ,
2001-09-25 16:49:28 +04:00
2004-09-14 17:59:17 +04:00
abort_ARG , alloc_ARG , autobackup_ARG , background_ARG , force_ARG ,
interval_ARG , name_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
2002-11-18 17:04:08 +03:00
xx ( pvremove ,
" Remove LVM label(s) from physical volume(s) " ,
" pvremove " " \n "
" \t [-d|--debug] " " \n "
" \t [-f[f]|--force [--force]] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2002-11-18 17:04:08 +03:00
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [-y|--yes] " " \n "
" \t [--version] " " \n "
" \t PhysicalVolume [PhysicalVolume...] \n " ,
force_ARG , test_ARG , yes_ARG )
2002-02-25 18:32:58 +03:00
xx ( pvresize ,
" Resize a physical volume in use by a volume group " ,
2002-11-18 17:04:08 +03:00
" Not implemented. Use pvcreate options. " ,
/***
" pvresize "
2002-02-25 18:32:58 +03:00
" [-A|--autobackup {y|n}] "
" [-d|--debug] "
2002-11-29 18:02:57 +03:00
" [-h|-?|--help] \n \t "
2002-02-25 18:32:58 +03:00
" [-s|--size PhysicalVolumeSize[kKmMgGtT] " " \n "
" [-v|--verbose] "
" [--version] \n \t "
" \t PhysicalVolumePath [PhysicalVolumePath...] \n " ,
2002-11-18 17:04:08 +03:00
* * */
2002-02-25 18:32:58 +03:00
autobackup_ARG , physicalvolumesize_ARG )
2002-12-12 23:55:49 +03:00
xx ( pvs ,
" Display information about physical volumes " ,
" pvs " " \n "
" \t [--aligned] \n "
2004-06-19 23:27:00 +04:00
" \t [-a|--all] \n "
2002-12-12 23:55:49 +03:00
" \t [-d|--debug] " " \n "
" \t [-h|-?|--help] " " \n "
" \t [--noheadings] \n "
" \t [--ignorelockingfailure] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [-v|--verbose] \n "
" \t [--version] \n "
" \t [PhysicalVolume [PhysicalVolume...]] \n " ,
2004-06-19 23:27:00 +04:00
aligned_ARG , all_ARG , ignorelockingfailure_ARG , noheadings_ARG ,
nolocking_ARG , nosuffix_ARG , options_ARG , separator_ARG , sort_ARG ,
unbuffered_ARG , units_ARG )
2002-12-12 23:55:49 +03:00
2001-09-25 16:49:28 +04:00
xx ( pvscan ,
" List all physical volumes " ,
2001-12-03 23:23:53 +03:00
" pvscan " " \n "
" \t [-d|--debug] " " \n "
2002-11-29 18:02:57 +03:00
" \t {-e|--exported | -n|--novolumegroup} " " \n "
" \t [-h|-?|--help] " " \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2002-04-30 21:12:37 +04:00
" \t [-P|--partial] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-s|--short] " " \n "
" \t [-u|--uuid] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] \n " ,
2001-09-25 16:49:28 +04:00
2002-11-28 18:27:29 +03:00
exported_ARG , ignorelockingfailure_ARG , novolumegroup_ARG , partial_ARG ,
short_ARG , uuid_ARG )
2001-09-25 16:49:28 +04:00
2004-09-14 20:42:46 +04:00
xx ( segtypes ,
" List available segment types " ,
" segtypes \n " )
2001-09-25 16:49:28 +04:00
xx ( vgcfgbackup ,
" Backup volume group configuration(s) " ,
2001-12-03 23:23:53 +03:00
" vgcfgbackup " " \n "
" \t [-d|--debug] " " \n "
2002-01-09 22:16:48 +03:00
" \t [-f|--file filename] " " \n "
2002-11-29 18:02:57 +03:00
" \t [-h|-?|--help] " " \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2002-07-11 18:09:26 +04:00
" \t [-P|--partial] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-v|--verbose] " " \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-12-20 19:05:14 +03:00
" \t [VolumeGroupName...] \n " ,
2002-11-28 18:27:29 +03:00
file_ARG , ignorelockingfailure_ARG , partial_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgcfgrestore ,
" Restore volume group configuration " ,
2001-12-03 23:23:53 +03:00
" vgcfgrestore " " \n "
" \t [-d|--debug] " " \n "
2002-01-09 22:16:48 +03:00
" \t [-f|--file filename] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-l[l]|--list [--list]] " " \n "
2002-11-18 17:04:08 +03:00
" \t [-M|--metadatatype 1|2] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-n|--name VolumeGroupName] " " \n "
" \t [-h|--help] " " \n "
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
2002-01-16 00:28:04 +03:00
" \t VolumeGroupName " ,
2001-09-25 16:49:28 +04:00
2002-11-18 17:04:08 +03:00
file_ARG , list_ARG , metadatatype_ARG , name_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgchange ,
" Change volume group attributes " ,
2001-12-03 23:23:53 +03:00
" vgchange " " \n "
" \t [-A|--autobackup {y|n}] " " \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] " " \n "
2002-01-29 20:23:33 +03:00
" \t [-P|--partial] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2001-12-03 23:23:53 +03:00
" \t [-t|--test] " " \n "
2004-01-13 21:42:05 +03:00
" \t [-u|--uuid] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
2004-11-12 18:59:09 +03:00
" \t {-a|--available [e|l]{y|n} | " " \n "
2002-01-10 18:09:51 +03:00
" \t -x|--resizeable {y|n} | " " \n "
2004-03-08 20:19:15 +03:00
" \t -l|--logicalvolume MaxLogicalVolumes | " " \n "
" \t --addtag Tag | \n "
" \t --deltag Tag} \n "
2001-12-03 23:23:53 +03:00
" \t [VolumeGroupName...] \n " ,
2001-09-25 16:49:28 +04:00
2004-05-19 02:12:53 +04:00
addtag_ARG , alloc_ARG , allocation_ARG , autobackup_ARG , available_ARG ,
deltag_ARG , ignorelockingfailure_ARG , logicalvolume_ARG , partial_ARG ,
resizeable_ARG , resizable_ARG , test_ARG , uuid_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgck ,
" Check the consistency of volume group(s) " ,
" vgck "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-v|--verbose] \n "
2003-04-30 19:28:17 +04:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t [VolumeGroupName...] \n " )
2002-11-18 17:04:08 +03:00
xx ( vgconvert ,
" Change volume group metadata format " ,
" vgconvert " " \n "
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
" \t [--labelsector sector] " " \n "
" \t [-M|--metadatatype 1|2] " " \n "
" \t [--metadatacopies #copies] " " \n "
" \t [--metadatasize MetadataSize[kKmMgGtT]] " " \n "
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t VolumeGroupName [VolumeGroupName...] \n " ,
force_ARG , test_ARG , labelsector_ARG , metadatatype_ARG , metadatacopies_ARG ,
metadatasize_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgcreate ,
" Create a volume group " ,
2001-12-03 23:23:53 +03:00
" vgcreate " " \n "
" \t [-A|--autobackup {y|n}] " " \n "
2004-03-08 20:19:15 +03:00
" \t [--addtag Tag] " " \n "
2004-11-16 21:09:32 +03:00
" \t [--alloc AllocationPolicy] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-d|--debug] " " \n "
2002-04-24 22:20:51 +04:00
" \t [-h|--help] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-l|--maxlogicalvolumes MaxLogicalVolumes] " " \n "
2002-11-18 17:04:08 +03:00
" \t [-M|--metadatatype 1|2] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-p|--maxphysicalvolumes MaxPhysicalVolumes] " " \n "
" \t [-s|--physicalextentsize PhysicalExtentSize[kKmMgGtT]] " " \n "
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t VolumeGroupName PhysicalVolume [PhysicalVolume...] \n " ,
2001-09-25 16:49:28 +04:00
2004-05-19 02:12:53 +04:00
addtag_ARG , alloc_ARG , autobackup_ARG , maxlogicalvolumes_ARG ,
maxphysicalvolumes_ARG , metadatatype_ARG , physicalextentsize_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgdisplay ,
" Display volume group information " ,
2001-12-03 23:23:53 +03:00
" vgdisplay " " \n "
" \t [-c|--colon | -s|--short | -v|--verbose] " " \n "
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
2002-11-18 17:04:08 +03:00
" \t [--ignorelockingfailure] " " \n "
2002-12-12 23:55:49 +03:00
" \t [--nosuffix] \n "
2002-01-30 18:33:12 +03:00
" \t [-P|--partial] " " \n "
2002-12-12 23:55:49 +03:00
" \t [--units hsbkmgtHKMGT] \n "
2001-12-03 23:23:53 +03:00
" \t [-A|--activevolumegroups | [-D|--disk] " " \n "
2002-01-30 18:33:12 +03:00
" \t [--version] " " \n "
2002-12-12 23:55:49 +03:00
" \t [VolumeGroupName [VolumeGroupName...]] \n "
" \n "
" vgdisplay --columns|-C \n "
" \t [--aligned] \n "
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
" \t [--ignorelockingfailure] " " \n "
" \t [--noheadings] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [-P|--partial] " " \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [--verbose] " " \n "
" \t [--version] " " \n "
" \t [VolumeGroupName [VolumeGroupName...]] \n " ,
2001-09-25 16:49:28 +04:00
2002-12-12 23:55:49 +03:00
activevolumegroups_ARG , aligned_ARG , colon_ARG , columns_ARG , disk_ARG ,
ignorelockingfailure_ARG , noheadings_ARG , nosuffix_ARG , options_ARG ,
2004-12-22 00:40:36 +03:00
partial_ARG , short_ARG , separator_ARG , sort_ARG , unbuffered_ARG , units_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgexport ,
" Unregister volume group(s) from the system " ,
2001-12-03 23:23:53 +03:00
" vgexport " " \n "
" \t [-a|--all] " " \n "
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t VolumeGroupName [VolumeGroupName...] \n " ,
2001-09-25 16:49:28 +04:00
2001-11-28 21:03:11 +03:00
all_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgextend ,
" Add physical volumes to a volume group " ,
" vgextend \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-12-03 23:23:53 +03:00
" \t VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] \n " ,
2001-09-25 16:49:28 +04:00
2001-11-28 21:03:11 +03:00
autobackup_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgimport ,
" Register exported volume group with system " ,
2001-12-03 23:23:53 +03:00
" vgimport " " \n "
2002-11-29 18:02:57 +03:00
" \t [-a|--all] \n "
2001-12-03 23:23:53 +03:00
" \t [-d|--debug] " " \n "
" \t [-f|--force] " " \n "
" \t [-h|--help] " " \n "
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2002-01-29 22:19:37 +03:00
" \t VolumeGroupName... " " \n " ,
2001-09-25 16:49:28 +04:00
2002-01-29 22:19:37 +03:00
all_ARG , force_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgmerge ,
" Merge volume groups " ,
" vgmerge \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-l|--list] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t DestinationVolumeGroupName SourceVolumeGroupName \n " ,
autobackup_ARG , list_ARG , test_ARG )
xx ( vgmknodes ,
" Create the special files for volume group devices in /dev " ,
" vgmknodes \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t [VolumeGroupName...] \n " )
xx ( vgreduce ,
" Remove physical volume(s) from a volume group " ,
" vgreduce \n "
2002-11-29 18:02:57 +03:00
" \t [-a|--all] \n "
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2003-01-18 00:04:26 +03:00
" \t [--removemissing] \n "
2002-11-29 18:02:57 +03:00
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-09-25 16:49:28 +04:00
" \t VolumeGroupName \n "
" \t [PhysicalVolumePath...] \n " ,
2003-01-18 00:04:26 +03:00
all_ARG , autobackup_ARG , removemissing_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgremove ,
" Remove volume group(s) " ,
" vgremove \n "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-11-28 21:03:11 +03:00
" \t VolumeGroupName [VolumeGroupName...] \n " ,
test_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgrename ,
" Rename a volume group " ,
" vgrename \n "
2002-11-29 18:02:57 +03:00
" \t [-A|--autobackup y|n] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [-t|--test] \n "
" \t [-v|--verbose] \n "
2002-12-12 23:55:49 +03:00
" \t [--version] " " \n "
2001-12-03 23:23:53 +03:00
" \t OldVolumeGroupPath NewVolumeGroupPath | \n "
2001-09-25 16:49:28 +04:00
" \t OldVolumeGroupName NewVolumeGroupName \n " ,
2001-11-28 21:03:11 +03:00
autobackup_ARG , force_ARG , test_ARG )
2001-09-25 16:49:28 +04:00
2002-12-12 23:55:49 +03:00
xx ( vgs ,
" Display information about volume groups " ,
" vgs " " \n "
" \t [--aligned] \n "
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
" \t [--ignorelockingfailure] \n "
" \t [--noheadings] \n "
" \t [--nosuffix] \n "
" \t [-o|--options [+]Field[,Field]] \n "
" \t [-O|--sort [+|-]key1[,[+|-]key2[,...]]] \n "
" \t [-P|--partial] " " \n "
" \t [--separator Separator] \n "
" \t [--unbuffered] \n "
" \t [--units hsbkmgtHKMGT] \n "
" \t [-v|--verbose] \n "
" \t [--version] \n "
" \t [VolumeGroupName [VolumeGroupName...]] \n " ,
2004-03-26 15:09:33 +03:00
aligned_ARG , ignorelockingfailure_ARG , noheadings_ARG , nolocking_ARG ,
nosuffix_ARG , options_ARG , partial_ARG , separator_ARG , sort_ARG ,
unbuffered_ARG , units_ARG )
2002-12-12 23:55:49 +03:00
2001-09-25 16:49:28 +04:00
xx ( vgscan ,
" Search for all volume groups " ,
" vgscan "
2002-11-29 18:02:57 +03:00
" \t [-d|--debug] \n "
" \t [-h|--help] \n "
2002-11-28 18:27:29 +03:00
" \t [--ignorelockingfailure] \n "
2003-11-14 17:03:48 +03:00
" \t [--mknodes] \n "
2002-11-29 18:02:57 +03:00
" \t [-P|--partial] " " \n "
2002-12-12 23:55:49 +03:00
" \t [-v|--verbose] \n "
" \t [--version] " " \n " ,
2002-11-28 18:27:29 +03:00
2003-11-14 17:03:48 +03:00
ignorelockingfailure_ARG , mknodes_ARG , partial_ARG )
2001-09-25 16:49:28 +04:00
xx ( vgsplit ,
" Move physical volumes into a new volume group " ,
2001-12-03 23:23:53 +03:00
" vgsplit " " \n "
" \t [-A|--autobackup {y|n}] " " \n "
" \t [-d|--debug] " " \n "
" \t [-h|--help] " " \n "
" \t [-l|--list] " " \n "
2002-11-18 17:04:08 +03:00
" \t [-M|--metadatatype 1|2] " " \n "
2001-12-03 23:23:53 +03:00
" \t [-t|--test] " " \n "
" \t [-v|--verbose] " " \n "
" \t [--version] " " \n "
" \t ExistingVolumeGroupName NewVolumeGroupName " " \n "
" \t PhysicalVolumePath [PhysicalVolumePath...] \n " ,
2001-09-25 16:49:28 +04:00
2002-05-31 23:30:51 +04:00
autobackup_ARG , list_ARG , metadatatype_ARG , test_ARG )
2002-01-17 19:39:24 +03:00
xx ( version ,
" Display software and driver version information " ,
" version \n " )