Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Useful article extending VMware disk extend the logical volume and resize the underlying file system with the lvextend command

    Posted on

    This linked article by Shehu Awwal, Red Hat's "Enable Systadmin" area is very good if you have to extend an LVM with Linux.

    Verified (by me) 2022.07.20

    Environment

    -VMware instances
    - RHEL 7, 8, have not tested on 9 yet

    Issue

    Resolution

    How do I do an lvextend command extend the file system all at once, skipping the "
    xfs_growfs
    " command?

        You can use the -r option of the lvextend command to extend the logical volume and resize the underlying file system with a single command:
    
    lvextend -r -L 3G /dev/myvg/mylv
    

    Another example, to take the remainder of the added storage:

    lvextend -r -l 100%FREE /dev/myvg/mylv
    

    This allows you to SKIP using the command

    xfs_growfs
    mentioned in the original article

    Additional

    • This is a discussion, not a Red Hat solution.

    Regards,
    RJ

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat