Dear all, I''m trying to enable quota on my lustre file system. Issuing the "lfs quotacheck -ug /lfs01/" command doesn''t produce anything. And "ps aux | grep lfs" command shows that the process is sleeping. I don''t know where to go from here. Any idea to discover what went wrong? thanks in advance, M.Adel
On 16 Jun 2011, at 11:33, Mohamed Adel wrote:> Dear all, > > I''m trying to enable quota on my lustre file system. > Issuing the "lfs quotacheck -ug /lfs01/" command doesn''t produce anything. > And "ps aux | grep lfs" command shows that the process is sleeping. > I don''t know where to go from here. > > Any idea to discover what went wrong?This is correct, look for a kernel process called "quotacheck" on the Lustre servers, when all those threads have exited then lfs should also exit. As came up yesterday this could take a few tens of minutes. Ashley.
Dear Ashley, Thanks for your quick response.> This is correct, look for a kernel process called "quotacheck" on the Lustre servers, when all those threads have exited then lfs should also exit. As came up yesterday this could take a few tens of minutes.Issuing "ps aux | grep quotacheck" command on all lustre servers (mds and oss) didn''t show any "quotacheck" process running though "lfs quotacheck" is still sleeping on the client from which I issued the "lfs quotacheck". Does that mean the processes has finished? or something else went wrong? thanks in advance, M.Adel
On 16 Jun 2011, at 11:54, Mohamed Adel wrote:> Dear Ashley, > > Thanks for your quick response. >> This is correct, look for a kernel process called "quotacheck" on the Lustre servers, when all those threads have exited then lfs should also exit. As came up yesterday this could take a few tens of minutes. > > Issuing "ps aux | grep quotacheck" command on all lustre servers (mds and oss) didn''t show any "quotacheck" process running though "lfs quotacheck" is still sleeping on the client from which I issued the "lfs quotacheck". Does that mean the processes has finished? or something else went wrong?This is what I see when I test it on our cluster here, this is a demo filesystem so very small hence the quotacheck happens very quickly, on a real fs you should see more processes. $ pdsh -a ps auwx | grep quota sabina-client0: root 6621 0.0 0.0 4280 464 pts/1 S+ 13:36 0:00 lfs quotacheck /lustre/sab/client sabina-oss1: root 30278 0.0 0.0 0 0 ? D 13:36 0:00 [quotacheck] sabina-mds1: root 12310 0.0 0.0 61160 776 pts/0 S+ 13:36 0:00 grep quota This is on a 1.8 filesystem, I believe it used to work differently on 1.6. Ashley.