pvresize command is missing option to skip metadata backup

Solution Verified - Updated -

Issue

  • The option available to other LVM commands that alter metadata is not available for the pvresize command, eg:
# pvresize -An /dev/sda2
pvresize: Invalid option -- 'A'
Error during parsing of command line
# man lvextend
[...]
       -A|--autobackup y|n
              Specifies  if  metadata  should be backed up automatically after a change.  Enabling this is strongly advised! See vgcfgbackup(8) for more information.
[...]

Environment

  • Red Hat Enterprise Linux
  • LVM2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content