> On Apr 15, 2019, at 10:54 AM, Fernando Perez <[email protected]> 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

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to