[Lustre-discuss] lustre quota problems
Patrick Winnertz
patrick.winnertz at credativ.de
Wed Jan 9 04:42:13 PST 2008
Am Montag, 7. Januar 2008 14:05:52 schrieb McHale, Therese:
> >What about the 1.6.x tree? Is this fix included in one 1.6.x version,
> > too?
>
> yes. It went into 1.5 and is therefore included in 1.6.x
Mh.. yes.. as you said this fix is included in 1.6.4.1. But the error I
mentioned exists in 1.6.4.1... so maybe a new bug?
Here again the description of the error:
When I set the quota to a given value, I'm able to write exact the amount
which is set which setquota.
After deleting the files it is not possible to rewrite them, this ends up
in zero-sized files.
In order to use this space again I've to reset the quota to 0 0 0 0, write
a file, and then reset the quota to the values i want.
Then I can work again with that quota.
If i don't try to write a file with the quota being set to 0 0 0 0, it
won't work.
Greetings
Patrick Winnertz
ps: I attached two files with a comparison of these two scenarios:
Scenario 1:
setquota $ourvalues
write file
delete file
write file <-- this won't work (dd will state that disc quota is full)
setquota 0 0 0 0
write file } Necessary in order to get the last dd to work.
delete file }
setquota $ourvalues
write file
Scenario 2:
setquota $ourvalues
write file
delete file
write fle <-- again this won't work (zero-sized file)
setquota 0 0 0 0
setquota $ourvalues
write file <-- will also not work (ends up again in a zero-sized file)
--
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
-------------- next part --------------
debian:~# lfs setquota -u credativ 10000 20000 100000 200000 /mnt/lustre_client/
debian:~# su credativ
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
4113+0 DatensÀtze ein
4112+0 DatensÀtze aus
2105344 Bytes (2,1 MB) kopiert, 0,327338 Sekunden, 6,4 MB/s
credativ at debian:/root$ rm /mnt/lustre_client/credativ/testfile
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
1+0 DatensÀtze ein
0+0 DatensÀtze aus
0 Bytes (0 B) kopiert, 0,00455348 Sekunden, 0,0 kB/s
credativ at debian:/root$ exit
exit
debian:~# lfs setquota -u credativ 0 0 0 0 /mnt/lustre_client/
debian:~# su credativ
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
180225+0 DatensÀtze ein
180225+0 DatensÀtze aus
92275200 Bytes (92 MB) kopiert, 6,17184 Sekunden, 15,0 MB/s
credativ at debian:/root$ rm /mnt/lustre_client/credativ/testfile
credativ at debian:/root$ exit
exit
debian:~# lfs setquota -u credativ 10000 20000 100000 200000 /mnt/lustre_client/
debian:~# su credativ
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
7089+0 DatensÀtze ein
7088+0 DatensÀtze aus
3629056 Bytes (3,6 MB) kopiert, 0,442293 Sekunden, 8,2 MB/s
credativ at debian:/root$
-------------- next part --------------
debian:~# lfs setquota -u credativ 10000 20000 100000 200000 /mnt/lustre_client/
debian:~# su credativ
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
7113+0 DatensÀtze ein
7112+0 DatensÀtze aus
3641344 Bytes (3,6 MB) kopiert, 0,439291 Sekunden, 8,3 MB/s
credativ at debian:/root$ rm /mnt/lustre_client/credativ/testfile
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
1+0 DatensÀtze ein
0+0 DatensÀtze aus
0 Bytes (0 B) kopiert, 0,00436864 Sekunden, 0,0 kB/s
credativ at debian:/root$ exit
exit
debian:~# lfs setquota -u credativ 0 0 0 0 /mnt/lustre_client/
debian:~# lfs setquota -u credativ 10000 20000 100000 200000 /mnt/lustre_client/
debian:~# su credativ
credativ at debian:/root$ dd if=/dev/zero of=/mnt/lustre_client/credativ/testfile
dd: Schreiben in â/mnt/lustre_client/credativ/testfileâ: Der zugewiesene Plattenplatz (Quota) ist ÃŒberschritten
1+0 DatensÀtze ein
0+0 DatensÀtze aus
0 Bytes (0 B) kopiert, 0,00344826 Sekunden, 0,0 kB/s
credativ at debian:/root$
More information about the lustre-discuss
mailing list