[Linux-cluster] sparse-file clone breaks on GFS2

Gionatan Danti g.danti at assyoma.it
Mon Sep 21 15:56:11 UTC 2020


Il 2020-09-21 15:45 Andreas Gruenbacher ha scritto:
> On Mon, Sep 21, 2020 at 3:40 PM Pierre-Philipp Braun
> <pbraun at nethence.com> wrote:
>> In case it matters, I am using vanilla Linux 4.18.20 and not the RHEL
>> nor CentOS with patches.
> 
> It seem that 4.18.20 is missing the relevant parts of the following 
> fixes:
> 
>   a27a0c9b6a2 ("gfs2: gfs2_walk_metadata fix")
>   566a2ab3c90 ("gfs2: Another gfs2_walk_metadata fix")
> 
> Without those fixes, lseek SEEK_HOLE/SEEK_DATa will sometimes report
> garbage, and so cp doesn't know what to copy.
> 
> Andreas

Well, I was just sitting down to create two CentOS 8.2 box for testing, 
but I really think this explains the issue reported by Pierre-Philipp. 
Thanks so much for these valuable information!

Can you confirm that RHEL 8.x includes the above patches?
Regards.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8




More information about the Linux-cluster mailing list