CDLab Technology · Providing professional DevOps practice and tools

Blog

Linux - disk reseize on the fly

  Expansion of disk space "on the fly" in Linux-systems is possible both when using LVM and using ext3 / ext4 file systems.   When using LVM on the system We run the fdisk -l command in order to make sure that the volume of the disk (virtual or physical, it does not matter) has increased. fdisk -l Disk /dev/vda: 300 GiB, 322122547200 bytes, 629145600 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xf8e4f5ceDevice Boot Start End Sectors Size Id Type/dev/vda1 * 2048 499711 497664 243M 83 Linux/dev/vda2 501758 629145599 628643842 30G 5 Extended/dev/vda5 501760 629145599 6286 ... See more

Data utworzenia 11.11.2020