1

I have Ubuntu 18.04 server, I have 30 GB of space on my ext4 type manual disk, I want to add another 20 gb. How can I achieve this?

picture of the teminal output for df -h

I did not add a separate disk, I expanded the existing disk.

Eliah Kagan
  • 119,640

1 Answers1

0

the tool you're looking for is resize2fs

Or alternatively parted

check this answer out : https://askubuntu.com/a/517365/307184 you'll have to use it's subcommand resizepart passing it the arguments partitionnumber and endpoint

tatsu
  • 3,346