[lustre-discuss] lfsck repair quota

Fernando Pérez fperez at icm.csic.es
Tue Apr 16 07:24:13 PDT 2019


Thank you Rick.

I followed these steps for the ldiskfs OSTs and MDT, but the quotes for all users is more corrupted than before.

I tried to run e2fsck in ldiskfs OSTs MDT, but the problem was the MDT e2fsck ran very slow ( 10 inodes per second for more than 100 million inodes).

According to the lustre wiki I though that the lfsck could repair corrupted quotes:

http://wiki.lustre.org/Lustre_Quota_Troubleshooting

Regards.

============================================
Fernando Pérez
Institut de Ciències del Mar (CSIC)
Departament Oceanografía Física i Tecnològica
Passeig Marítim de la Barceloneta,37-49
08003 Barcelona
Phone:  (+34) 93 230 96 35
============================================

> El 16 abr 2019, a las 15:34, Mohr Jr, Richard Frank (Rick Mohr) <rmohr at utk.edu> escribió:
> 
> 
>> On Apr 15, 2019, at 10:54 AM, Fernando Perez <fperez at icm.csic.es> wrote:
>> 
>> Could anyone confirm me that the correct way to repair wrong quotes in a ldiskfs mdt is lctl lfsck_start -t layout -A?
> 
> As far as I know, lfsck doesn’t repair quota info. It only fixes internal consistency within Lustre.
> 
> Whenever I have had to repair quotas, I just follow the procedure you did (unmount everything, run “tune2fs -O ^quota <dev>”, run “tune2fs -O quota <dev>”, and then remount).  But all my systems used ldiskfs, so I don’t know if the ZFS OSTs introduce any sort of complication.  (Actually, I am not even sure if/how you can regenerate quota info for ZFS.)
> 
> --
> Rick Mohr
> Senior HPC System Administrator
> National Institute for Computational Sciences
> http://www.nics.tennessee.edu
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190416/b375e057/attachment.html>


More information about the lustre-discuss mailing list