Hi, I’d like to remove some “spurious" data: root@nerffs03:/# ceph df --- RAW STORAGE --- CLASS SIZE AVAIL USED RAW USED %RAW USED hdd 1.0 PiB 1.0 PiB 47 GiB 47 GiB 0 TOTAL 1.0 PiB 1.0 PiB 47 GiB 47 GiB 0 --- POOLS --- POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL .mgr 1 1 70 MiB 19 209 MiB 0 327 TiB .nfs 3 32 572 B 4 36 KiB 0 327 TiB root@nerffs03:/# as you can see, there are no data pools. The 47GiB could be from previous pools/filesystems that I used for testing. how can I remove this “spurious” data without affecting the OSDs? I was checking "ceph-volume lvm zap”, but I am not sure it this is the right one. (I am running ceph version quincy 17.2.7) Thanks, Giuliano.
Den tors 16 nov. 2023 kl 00:30 skrev Giuliano Maggi <giuliano.maggi.olmedo@gmail.com>:
Hi,
I’d like to remove some “spurious" data:
root@nerffs03:/# ceph df --- RAW STORAGE --- CLASS SIZE AVAIL USED RAW USED %RAW USED hdd 1.0 PiB 1.0 PiB 47 GiB 47 GiB 0 TOTAL 1.0 PiB 1.0 PiB 47 GiB 47 GiB 0 The 47GiB could be from previous pools/filesystems that I used for testing.
Bluestore counts DB/WAL space as "storage" and those areas get a lot of space "used" due to preallocation and things like that, so it looks like your cluster is more used than it actually is, at least if you only count --data-drive space. This is also visible when you create new clusters and haven't written a single byte to it yet, each OSD starts off with some data USED, due to WAL/DB eating some space before first written byte hits the disks. -- May the most significant bit of your life be positive.
participants (2)
-
Giuliano Maggi
-
Janne Johansson