Hi Robert,

How did you move these files?

The 'mv' operation on existing files in the cephfs tree will ** not ** move 
rados objects between pools. Only new files created in a folder backed by a 
specific pool will fall into that pool. There may be a lock of documentation 
here.

Please read this blog post [1] before taking any actions. It provides a python 
script [2] that helps moving existing files between rados pools.

Regards,
Frédéric.

[1] https://ewal.dev/cephfs-migrating-files-between-pools
[2] https://gist.github.com/ervwalter/5ff6632c930c27a1eb6b07c986d7439b

----- Le 24 Jan 25, à 14:09, Robert Sander r.san...@heinlein-support.de a écrit 
:

> Hi,
> 
> there is an old cluster (9 years) that gets constantly upgraded and is
> currently running version 17.2.7.
> 
> 3 years ago (when running version 16) a new EC pool was added to the
> existing CephFS to be used with the directory layout feature.
> 
> Now it was decided to remove that pool again. On the filesystem level
> all files have been copied to the original replicated pool and then
> deleted. No files or directories have the EC pool in their extended
> attributes referenced.
> 
> But still this EC pool has appr 242 million objects with a total of ca
> 600 TB data stored. This shows up in "ceph df" and "ceph pg dump".
> 
> The objects can be listed with "rados ls" but a "rados stat" or "rados
> get" will yield an error:
> 
> error stat-ing cephfs_data_ec/1001275b3fe.00000241: (2) No such file or
> directory
> 
> How can this be?
> Are these artifacts from not properly removed snapshots?
> 
> Is it really save to remove this pool from CephFS and delete it?
> 
> Regards
> --
> Robert Sander
> Heinlein Support GmbH
> Linux: Akademie - Support - Hosting
> http://www.heinlein-support.de
> 
> Tel: 030-405051-43
> Fax: 030-405051-19
> 
> Zwangsangaben lt. §35a GmbHG:
> HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
> Geschäftsführer: Peer Heinlein  -- Sitz: Berlin
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to