[ceph-users] Recover files from cephfs data pool

Sergey Malinin hell at newmail.com
Mon Nov 5 16:05:13 PST 2018


What kind of damage have you had? Maybe it is worth trying to get MDS to start and backup valuable data instead of doing long running recovery?


> On 6.11.2018, at 02:59, Rhian Resnick <xantho at sepiidae.com> wrote:
> 
> Sounds like I get to have some fun tonight. 
> 
> On Mon, Nov 5, 2018, 6:39 PM Sergey Malinin <hell at newmail.com <mailto:hell at newmail.com> wrote:
> inode linkage (i.e. folder hierarchy) and file names are stored in omap data of objects in metadata pool. You can write a script that would traverse through all the metadata pool to find out file names correspond to objects in data pool and fetch required files via 'rados get' command.
> 
> > On 6.11.2018, at 02:26, Sergey Malinin <hell at newmail.com <mailto:hell at newmail.com>> wrote:
> > 
> > Yes, 'rados -h'.
> > 
> > 
> >> On 6.11.2018, at 02:25, Rhian Resnick <xantho at sepiidae.com <mailto:xantho at sepiidae.com>> wrote:
> >> 
> >> Does a tool exist to recover files from a cephfs data partition? We are rebuilding metadata but have a user who needs data asap.
> >> _______________________________________________
> >> ceph-users mailing list
> >> ceph-users at lists.ceph.com <mailto:ceph-users at lists.ceph.com>
> >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>
> > 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20181106/054e7ca7/attachment.html>


More information about the ceph-users mailing list