List Disk Size Incorrect

theb2b

New Member
Sep 22, 2024
8
0
1
Installed Proxmox on a seperate 500 GB SSD disk, then mounted a 4.8 TB raid 6 drive. Added the new disk to pve, but it is reporting disk size as 72.72 GB, I formatted the disk as ext4 disk, is this why or is there another reason?

fdisk -l
Device Start End Sectors Size Type
/dev/sdc1 2048 9372170239 9372168192 4.4T Linux filesystem

Container type is set to Disk Image

The raid disk is to be used for storage of VM images only.
 
I assume the raid6 disk isn't mounted yet and you see with "df /raid-mount-dir" instead the size of your "/" filesystem ?!
 
Yes the raid is mounted and setup as a storage location when I view it node 'pve' shows the following:
Usage 9.24% (6.72 GB of 72.72 GB

Using the findmnt --df I get the following
/dev/sdc1 ext4 4.3T 369.7G 3.7T 8% /mnt/storage
 
What does "df -h" say ?
Probably you have just 72 GB LVM(-thin) space free and you didn't define in datacenter your 4TB disk as "dir" yet ?
 
root@pve:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 2.4M 13G 1% /run
/dev/mapper/pve-root 68G 6.3G 58G 10% /
tmpfs 63G 55M 63G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
efivarfs 304K 206K 94K 69% /sys/firmware/efi/efivars
/dev/sdc1 4.4T 370G 3.8T 9% /mnt/storage
/dev/sda2 1022M 12M 1011M 2% /boot/efi
/dev/fuse 128M 16K 128M 1% /etc/pve
tmpfs 13G 0 13G 0% /run/user/0
 
Yes the raid is mounted and setup as a storage location when I view it node 'pve' shows the following:
Usage 9.24% (6.72 GB of 72.72 GB
This is "/" shown in power of 1000 (like df -H) and
/dev/mapper/pve-root 68G 6.3G 58G 10% /
this is "/" shown in power of 1024 (in df -h).

So indead you have a 4TB (raided) disk mounted (under /mnt/storage) but not defined in datacenter as "dir" yet if you want to use it with a filesystem (otherwise you don't take a filesystem onto, don't mount it and define it as LVM or LVM-thin for block usage).
 
Last edited:
Ok, how do I do that, I'm a real newbe to Proxmox, really appreciate all this help,
 
Left "Datacenter" -> mid "Storage" -> right top "Add" -> "Directory" -> ID eg. "4T-storage", Directory "/mnt/storage" -> "Add" button and you are done.
 
Thank you that did it, now having run through this with your guidance I now see where I made my error, I needed to create a directory which I was starting to suspect reading your responses. Again thanks for your help.
 

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!