


To display the detailed information about the physical volumes, enter the following ~]# pvdisplayĪfter entering the command, the following information is displayed, for pvdisplay In the following example, the logical volume /dev/mapper/vg00-lv01 uses the ext4 file df -Th | grep "^/dev"

To determine the file system, enter the following ~]# df -Th | grep "^/dev" In this example the partition sda2 is to be adjusted manually. I/O size (minimum/optimal): 512 bytes / 512 bytesĭevice Boot Start End Sectors Size Id Type Sector size (logical/physical): 512 bytes / 512 bytes To view the partitioning of the Logical Volume, type the command ~]# fdisk -lĪfter entering the command, the file system structure is fdisk -lĭisk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors In the above example, the logical volume is /dev/mapper/vg00-lv01. Note the logical volume that is to be expanded. To check the available space of the logical volume, enter the following ~]# df -hĪfter entering the command, the following partitioning is displayed, for example:įilesystem Size Used Avail Use% Mounted on
Volume manager in debian install#
Ubuntu 18.04, Ubuntu 20.04 and Ubuntu ~]# apt-get install cloud-guest-utils After entering the appropriate command, follow the instructions displayed.ĭebian 10 and Debian ~]# apt-get install cloud-utils If this program is not installed on your server, you can install it using the commands below. If you have the distribution Debian 10 or Debian 11 installed on your server, you need to install the growpart program. If you have the distribution Ubuntu 18.04, Ubuntu 20.04 or Ubuntu 22.04 installed on your server, the growpart program is already installed by default.
