Question

how to expand memory

Hello, I bought an additional 100gb to my droplet and wanted to add this memory to the main one so that it is used, following this guide https://docs.digitalocean.com/products/volumes/how-to/expand-partitions/ and I got this memory in another section and it is not used https://drive.google.com/file/d/1X8xyB0Kg71-iX2MrkoKAdAle8BuQy4g1/view?usp=sharing


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have the same request/issue as well, I followed the guide and I was able to get to this point:

-bash-4.2# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  100G  0 disk /mnt/volume_lon1_01
vda    253:0    0   80G  0 disk 
├─vda1 253:1    0   80G  0 part /
└─vda2 253:2    0    2M  0 part 
vdb    253:16   0  474K  1 disk 
loop0    7:0    0  3.8G  0 loop /var/tmp

Unsure at this point if what I did was correct or not.

alexdo
Site Moderator
Site Moderator badge
February 2, 2023

Hello @andriistarfish

You can check the filesystems written to your partitions by using the lsblk utility.

Then expand the main partition by following the article for the respective filesystem partition type.

Let us know how it goes.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

KFSys
Site Moderator
Site Moderator badge
February 2, 2023

Hi @andriistarfish,

Yes, you should be checking the article you’ve provided but check the - ‘## Expand the Filesystem of the Last Partition’ part of it.

Please check it out, follow it and see if that will help you