Disk size mismatch?

Allspark

New Member
Jul 16, 2021
7
0
1
44
Hi,

I'm very new to Proxmox here and I've encountered an issue I haven't been able to solve - or at least maybe I'm just not understanding it correctly.

I've allocated 1.5TB for my space on the VM running Ubuntu server. But the server is only reporting a fraction of that, less than 200GB


I was wondering why this is happening and how I can fix it. Here is the information I have but if you need more/different information please let me know.

Thank you.
 

Attachments

  • disk02.PNG
    disk02.PNG
    22.1 KB · Views: 54
  • disk01.PNG
    disk01.PNG
    8.6 KB · Views: 50
hi,

I've allocated 1.5TB for my space on the VM running Ubuntu server. But the server is only reporting a fraction of that, less than 200GB
maybe it's not partitioned.

you could check lsblk -f output in your ubuntu VM to see the disks and partitions
 
hi,


maybe it's not partitioned.

you could check lsblk -f output in your ubuntu VM to see the disks and partitions
Thanks for your reply. Sorry I took so long to get back with this, I was out of town

This is what I came up with when entering your command.

When I boot into GParted it does show me that it at least acknowledges the unused space (I haven't made any modifications at this point)

Since I'm rather new to VMs and how they might manage data I wanted to research this a bit more.

Thanks for any insight you can provide.
 

Attachments

  • drives.PNG
    drives.PNG
    16.7 KB · Views: 48
  • gparted.PNG
    gparted.PNG
    47.2 KB · Views: 45
Looks like you got a 1.5TB volume group (VG) but only a 200GB logical volume (LV) on it. You should google to understand how LVM works. What a PV, a VG and a LV is. You might want to look for a tutorial on how to use the lvextend and resize2fs commands. pvdisplay, vgdisplay and lvdisplay are also always useful to know to see whats going on with your LVM storage.
 
Last edited:
Looks like you got a 1.5TB volume group (VG) but only a 200GB logical volume (LV) on it. You should google to understand how LVM works. What is PV, a VG and a LV is. You might want to look for a tutorial on how to use the lvextend and resize2fs commands. pvdisplay, vgdisplay and lvdisplay are also always useful to know to see whats going on with your LVM storage.

Thanks. I'll research this further. This is what's confusing me currently. It shows the 1.4TB but still only displays the 196GB. I've been following some KBs regarding the commands you listed excluding the resize2fs command and will work on that next.
 

Attachments

  • hmmm.PNG
    hmmm.PNG
    21.6 KB · Views: 31
Now your Partition, PV, VG and LV are 1.46 TB. If you now still only got 200GB you need to grow your filesystem using "resize2fs" so that you filesystem can make use of the full size of that LV.
 
Thank you!

I believe this has now been resolved. My only question remaining would be why Proxmox/Ubuntu did this in the first place when I set it up initially as I always gave it the parameter for 1.5TB upon setup.

But for now, this is what I needed.
 
This has nothing to do with Proxmox. Its just how the latest Ubuntu installer works. If you don't manually setup the partitions while installing it won't use all the space that is available anymore. Read that serveral times the last weeks that people are confused why the Ubuntu partition is so small.
 
Oh I see. Yeah there are a number of things about the latest Ubuntu server install that seem less intuitive than previous versions I'm accustomed to.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!