[Ocfs2-users] Reproducing fragmentation and out of space error

Nick Anderson nick at cmdln.org
Wed May 30 11:55:24 PDT 2012


On 05/30/2012 01:42 PM, Hakan Koseoglu wrote:

> Originally we had this problem way back in 2009. The following could
> replicate it pretty much quickly.
>
> i=1
> until (false) do
>     for k in `seq 1 100`; do
>       mkdir -p testdir-$1-$i/testdir-$1-$i-$k
>       for j in `seq 1 1000`; do
>          echo test123>  testdir-$1-$i/testdir-$1-$i-$k/testfile-$j
>       done
>     done;
>     let i=i+1
> done

Thanks trying it now, just looking at it I suspect I will run out of 
inodes and report out of space error.



More information about the Ocfs2-users mailing list