Score:0

Increase the disk space of an Ubuntu VMWare guest, GPARTED show all fine but no space

ng flag

Well I look here a guide but I can't understand why I see free space in GParted but not in df -h

I Install VMWare 16 Pro, late Ubuntu 20.04 Server, A basic desktop with tasksel, apache, mariadb and nextcloud. All work fine and sync great.

The guest has a 30Gb disk, late i want to expand to 60Gb. All fine in VMWare (I do the same in another Guest with windows server and work fine)

I come back to ubuntu, go to GParted and expand to all free space. Apply change, reboot and in GParted I see free space but not in df -h. I can't understand what is happening. Since I don't know the sapce that I need for file sync, I need to know how expand the disk in ubuntu.

GParted after expand the disk (Before only have 30Gb)

The result of df -h

The result of fdisk -l

I notice that the unique disk that I have (sda) has 3 partition. And the / is mounted on /dev/mapper/ubuntu--vg-ubuntu--lv, I see there 20Gb and not 40Gb. Why?

Thank to all for help me !!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.