scjody@clusterfs.com
2007-May-08 12:15 UTC
[Lustre-devel] [Bug 12326] sanity test 78 undetected failure; fills OST
Please don''t reply to lustre-devel. Instead, comment in Bugzilla by using the following link: https://bugzilla.lustre.org/show_bug.cgi?id=12326 What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bugs@clusterfs.com |scjody@clusterfs.com (In reply to comment #5)> after setstripe we ability to write to all OST''s and need sum all free space.> +F78SIZE=`lfs df $DIR | awk ''{if($1 ~/OST/) {sum+=$4}} END {print sum/1048576}''`No, you can''t fill all OSTs. Striping results in an even distribution, which means that you''re limited by the free space on the smallest OST. Also, I agree with Andreas that we should not remove all files always - but in this case, the file is large enough to cause -ENOSPC problems later if it stays around. Therefore the ''rm'' at the end of the test is the right thing to do.