Re: [lustre-discuss] lfsck repair quota

2019-04-17 Thread Andreas Dilger
rtial: 0 >> namespace_osts_co-failed: 0 >> namespace_osts_co-stopped: 0 >> namespace_osts_co-paused: 0 >> namespace_osts_unknown: 0 >> namespace_repaired: 4550034 > > > > = > Fernando Pérez > Institut de Ciències del

Re: [lustre-discuss] lfsck repair quota

2019-04-17 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On Apr 17, 2019, at 4:32 AM, Fernando Perez wrote: > > I tried to run the e2fsck in the mdt three years ago and the logs shows a lot > of this kind of messages: > >> Unattached inode 26977505 >> Connect to /lost+found? yes >> Inode 26977505 ref count is 2, should be 1. Fix? yes > > In fact

Re: [lustre-discuss] lfsck repair quota

2019-04-17 Thread Yong, Fan
f Fernando Perez Sent: Wednesday, April 17, 2019 4:33 PM To: lustre-discuss@lists.lustre.org Subject: Re: [lustre-discuss] lfsck repair quota Dear Martin. I tried to run the e2fsck in the mdt three years ago and the logs shows a lot of this kind of messages: > Unattached inode 26977505 >

Re: [lustre-discuss] lfsck repair quota

2019-04-17 Thread Martin Hecht
Dear Fernando, I'm not sure if those files contribute to the quota, but I would assume that the ones on the OSTs consume disk quota and the ones on the MDT consume inode quota. As long as they are in the lost+found directory they are not visible to the users, but they may contain data which

Re: [lustre-discuss] lfsck repair quota

2019-04-17 Thread Fernando Perez
: Re: [lustre-discuss] lfsck repair quota 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

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Fernando Pérez
-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 20:43, Martin Hecht escribió: > > Are there a lot of inodes moved to lo

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Andreas Dilger
On Apr 16, 2019, at 07:34, Mohr Jr, Richard Frank (Rick Mohr) wrote: > >> On Apr 15, 2019, at 10:54 AM, Fernando Perez 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

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Andreas Dilger
On Apr 16, 2019, at 09:22, Mohr Jr, Richard Frank (Rick Mohr) wrote: > >> On Apr 16, 2019, at 10:24 AM, Fernando Pérez wrote: >> >> According to the lustre wiki I though that the lfsck could repair corrupted >> quotes: >> >> http://wiki.lustre.org/Lustre_Quota_Troubleshooting > > Keep in

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Martin Hecht
Are there a lot of inodes moved to lost+found by the fsck, which contribute to the occupied quota now? - Ursprüngliche Mail - Von: Fernando Pérez An: lustre-discuss@lists.lustre.org Gesendet: Tue, 16 Apr 2019 16:24:13 +0200 (CEST) Betreff: Re: [lustre-discuss] lfsck repair quota Thank

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Fernando Pérez
Thank you Rick. Then, does anyone know how repair corrupted quotes? 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

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On Apr 16, 2019, at 10:24 AM, Fernando Pérez 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

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Fernando Pérez
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

Re: [lustre-discuss] lfsck repair quota

2019-04-16 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On Apr 15, 2019, at 10:54 AM, Fernando Perez 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

Re: [lustre-discuss] lfsck repair quota

2019-04-15 Thread Fernando Perez
Dear lustre users, Could anyone confirm me that the correct way to repair wrong quotes in a ldiskfs mdt is lctl lfsck_start -t layout -A? Thanks in advance. Regards. = Fernando Pérez Institut de Ciències del Mar (CSIC) Departament Oceanografía