On Apr 16, 2019, at 09:22, Mohr Jr, Richard Frank (Rick Mohr) <rm...@utk.edu> wrote: > >> On Apr 16, 2019, at 10:24 AM, Fernando Pérez <fpe...@icm.csic.es> wrote: >> >> According to the lustre wiki I though that the lfsck could repair corrupted >> quotes: >> >> http://wiki.lustre.org/Lustre_Quota_Troubleshooting > > Keep in mind that page is a few years old, but I assume they were referring > to LFSCK Phase 2 > (http://wiki.lustre.org/LFSCK_Phase_2_-_MDT-OST_Consistency_Solution_Architecture) > which maintains consistency between the MDTs and OSTs. One of the things > that lfsck will do is make sure that the ownership info for a file’s MDT > object matches the ownership of the OST objects for that file. This is > necessary to ensure that quota information reported by Lustre is accurate, > but I don’t believe it is meant to fix any corruption in the quota files > themselves.
Correct, LFSCK will repair the OST object ownership, but does not *directly* repair quota files. That said, if an object is owned by the wrong owner for some reason, changing the ownership _should_ transfer the quota usage properly to the new owner, so in that regard the quota usage should be indirectly repaired by an LFSCK run. Cheers, Andreas --- Andreas Dilger Principal Lustre Architect Whamcloud _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org