Forrest logo
back to the lvextend tool

lvextend:tldr:37e39

lvextend: Increase a volume's size to 100% of the free physical volume space.
$ lvextend --size ${100}%FREE ${logical_volume}
try on your machine

This command is used to extend the size of a logical volume in Linux.

Here's a breakdown of the command:

  • lvextend: This is the command used to extend logical volumes in Linux.
  • --size: This option specifies the new size of the logical volume.
  • ${100}%FREE: This is the argument for the --size option. It specifies that the new size should be 100% of the remaining free space available in the volume group.
  • ${logical_volume}: This is a placeholder for the name of the logical volume that you want to extend. You need to replace ${logical_volume} with the actual name of the logical volume.
This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lvextend tool