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.

1
  • 1
    Welcome to Ask Ubuntu! :-) Please don't post text as pictures, but copy-paste the text instead so we can copy-paste and search too! Also, use the {} button in the toolbar to format it as text as well. Thank you for helping us help you! ;-)
    – Fabby
    Jul 10 '19 at 7:54
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

3
  • Could you please show me a few examples? Jul 10 '19 at 9:01
  • follow my link. also do you have a desktop environement on your ubnutu? your screenshot leads me to believe you're in command-prompt only. if you have a desktop environement than you don't need parted, you can use gparted.
    – tatsu
    Jul 10 '19 at 9:06
  • thank you. resize2fs was last used. Jul 10 '19 at 10:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.