Hi, I got one cephfs with one volume and subvolumes with a erasure coding. If I don't set any quota when I run df on the client I got 0ccbc438-d109-4c5f-b47b-70f8df707c2c/vo 5,8P 78T 5,8P 2% /vo The 78T seem to be the size use by ceph on disk (on the hardware I mean). And I find that very good. But If I set a quota setfattr -n ceph.quota.max_bytes -v 109951162777600 vo then on the same client I got 0ccbc438-d109-4c5f-b47b-70f8df707c2c/vo 100T 51T 50T 51% /vo and that are the size of the data (I using erasure 4/2 so 51*1.5 ~ 77 To) Is they are any way to keep the first answer ? Regards -- Albert SHIH 🦫 🐸 France Heure locale/Local time: jeu. 22 févr. 2024 08:44:17 CET
Le 22/02/2024 à 18:07:51+0300, Konstantin Shalygin a écrit Hi, Thanks.
Yes you can, this controlled by option
client quota df = false
But I'm unable to make it work. Is this the correct syntaxe ? [global] fsid = *********************************** mon_host = [v2:10.0.1.184:3300/0,v1:10.0.1.184:6789/0] [v2:10.0.1.185:3300/0,v1:10.0.1.185:6789/0] [v2:10.0.1.186:3300/0,v1:10.0.1.186:6789/0] [v2:145.23 8.187.187:3300/0,v1:10.0.1.187:6789/0] [v2:10.0.1.188:3300/0,v1:10.0.1.188:6789/0] [client] quota df = false And if I check the documentation https://docs.ceph.com/en/quincy/cephfs/quota/ the purpose of the quota df = false is to show available space = total space - used space instead of available space = quota limit - used space but what I want is available space = quota limit - used space on hardware so if I use 3 replicas that's mean when I write 100G of data available space = quota limite - 100G x 3 Regards JAS -- Albert SHIH 🦫 🐸 Observatoire de Paris France Heure locale/Local time: sam. 24 févr. 2024 10:09:12 CET
participants (2)
-
Albert Shih
-
Konstantin Shalygin