Re: rados df vs ls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Den ons 13 juli 2022 kl 04:33 skrev stuart.anderson <anderson@xxxxxxxxxxxxxxxx>:
>
>
> > On Jul 6, 2022, at 10:30 AM, stuart.anderson <anderson@xxxxxxxxxxxxxxxx> wrote:
> >
> > I am wondering if it is safe to delete the following pool that rados ls reports is empty, but rados df indicates has a few thousand objects?
>
> Please excuse reposting, but as a Ceph newbie I would really appreciate advice from someone more knowledgeable if it is safe to delete a pool with an empty "rados ls" output even though "rados df" reoprts a a few thousand objects (in a cluster with 500M objects)?

"Safe" depends more on if any client will be looking for these objects or not.

Still, small pools can be dumped to an output file with "rbd export"
IIRC, so I would try that first, to a place with decent amount of
space so I had a backup.
Then remove the pool and if no system or client notices for a
reasonable amount of time, stop keeping the backup. If something
needed the "hidden" objects, re-import the pool again.

> Is there another way to find the objects that rados df is counting?

See if there is an option to list "all" objects or from all namespaces
or similar, that could turn up something.

> Or is something like "fsck" or "scrub" to resync the output of rados ls & df ?

-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux