Re: PGs lost from cephfs data pool, how to determine which files to restore from backup?

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

 



On Wed, Sep 7, 2016 at 7:44 AM, Michael Sudnick
<michael.sudnick@xxxxxxxxx> wrote:
> I've had to force recreate some PGs on my cephfs data pool due to some
> cascading disk failures in my homelab cluster. Is there a way to easily
> determine which files I need to restore from backup? My metadata pool is
> completely intact.

Assuming you're on Jewel, run a recursive "scrub" on the MDS root via
the admin socket, and all the missing files should get logged in the
local MDS log.

(I'm surprised at this point to discover we don't seem to have any
documentation about how scrubbing works. It's a regular admin socket
command and "ceph daemon mds.<name> help" should get you going where
you need.)
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



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


  Powered by Linux