LCOV - code coverage report
Current view: top level - misc/kabi/lvm2.git/tools - commands.h (source / functions) Hit Total Coverage
Test: unnamed Lines: 48 48 100.0 %
Date: 2010-04-13 Functions: 0 0 -
Branches: 0 0 -

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

Generated by: LCOV version 1.8