Skip to main content

Increase diskstorage

 

fdisk -l
cfdisk

Next choose "Resize" and then "Write".

fdisk -l <pathtomaindevice> #example path: /dev/sda
parted

Next choose "print" -> "Resizepart". Enter number of device. Then choose "quit".

pvresize <pathtonewdevice>
lvextend -l +100%FREE <pathtolocalpartition>
resize2fs <pathtolocalpartition>
df -h

Then reboot the machine.