CephFS and multiple volumes - incorrect space displayed

dmcgough

Member
May 23, 2022
2
0
6
First, an actual look at the CLI for real usage. Two CephFS volumes set up, "media" and "archive".

root@host:~# ceph fs volume ls
[
{
"name": "media"
},
{
"name": "archive"
}
]
root@host:~# ceph fs volume info archive --human-readable
{
"mon_addrs": [
"192.168.3.4:6789",
"192.168.3.3:6789",
"192.168.3.2:6789"
],
"pools": {
"data": [
{
"avail": "10.0T",
"name": "archive-data",
"used": "7816G"
}
],
"metadata": [
{
"avail": " 721G",
"name": "archive-metadata",
"used": " 762M"
}
]
}
}
root@host:~# ceph fs volume info media --human-readable
{
"mon_addrs": [
"192.168.3.4:6789",
"192.168.3.3:6789",
"192.168.3.2:6789"
],
"pools": {
"data": [
{
"avail": "5128G",
"name": "media_data",
"used": "20.0T"
}
],
"metadata": [
{
"avail": " 721G",
"name": "media_metadata",
"used": " 806M"
}
]
}
}


1732025701828.png

1732025728863.png

Taken a few seconds apart while deleting data. It appears that the way PVE is parsing CephFS, it is reading the space details of both volumes and summing them? These two volumes are even on different pools on the backend...
 
Last edited:

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!