[Lustre-discuss] lustre quota problems
Roland Laifer
Laifer at RZ.Uni-Karlsruhe.DE
Wed Jan 2 02:51:28 PST 2008
Hello,
we had the same problem with our Lustre software from HP (HP SFS).
HP opened CFS bug 12431 (which is not visible to the public and
for us). Therefore, I'm not sure which Lustre version includes
the corresponding fix. HP provided a fix on top of their newest
SFS version which fixed the problem.
Here is a part of the explanation for the problem:
Files which did not decrease the quota when they were deleted had
inode->i_dquota set to NULL which should not happen. The root cause
was in filter_destroy() and filter_commitrw_commit().
Regards,
Roland
--
--------------------------------------------------------------------------
Roland Laifer
Rechenzentrum, Universitaet Karlsruhe (TH), D-76128 Karlsruhe, Germany
Email: Roland.Laifer at rz.uni-karlsruhe.de, Phone: +49 721 608 4861,
Fax: +49 721 32550, Web: www.rz.uni-karlsruhe.de/personen/roland.laifer
--------------------------------------------------------------------------
On Wed, Jan 02, 2008 at 11:27:56AM +0100, Patrick Winnertz wrote:
> Hello,
>
> I've several problems with quota on our testcluster:
>
> When I set the quota for a person to a given value (e.g. the values which
> are provided in the operations manual), I'm able to write exact the amount
> which is set with setquota.
> But when I delete the files(file) I'm not able to use this space again.
>
> Here is what I've done in detail:
> lfs checkquota -ug /mnt/testfs
> lfs setquota -u winnie 307200 309200 10000 11000 /mnt/testfs
>
> Now I wrote one single big file with dd.
> dd if=/dev/zero of=/mnt/testfs/test
>
> As expected it stops writing the file after it is ~300 MB large.
> Removing this file and restarting dd leads to a zero-sized file, because
> the disk quota is exceeded.
>
> Does anybody know this behaviour and know what is wrong here? (I guess some
> values are cached).
>
> Thanks in advance!
> Patrick Winnertz
>
> --
> Patrick Winnertz
> Tel.: +49 (0) 2161 / 4643 - 0
>
> credativ GmbH, HRB Mönchengladbach 12080
> Hohenzollernstr. 133, 41061 Mönchengladbach
> Geschäftsführung: Dr. Michael Meskes, Jörg Folz
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at clusterfs.com
> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
More information about the lustre-discuss
mailing list