How Increase Lvm Size in Linux?
Contents

How increase opt size in Linux?

You can use lvextend -rL +1G /dev/mapper/rootvg-opt to extend and resize automatically. In case you don’t use -r you have to check which FS you have and resize accordingly.

How reduce VG size in Linux?

Reducing the logical volume involves the below steps.

  1. Unmount the file system.
  2. Check the file system for any errors.
  3. Shrink the file system size.
  4. Reduce the logical volume size.
  5. Re-check the file system for errors (Optional).
  6. Mount the file system.
  7. Check the reduced file system size.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest