[Btrfs-users] Requirements for btrfs

Chris mason chris.mason at oracle.com
Thu Jan 17 10:35:04 PST 2008


On Thursday 17 January 2008, Otto Muller wrote:
> Chris mason <chris.mason at oracle.com> wrote:
> > Sorry, how big was your partition?  I haven't tested
> > fully the minimum FS
> > size, but it also varies with how many blocks you
> > plan on changing during a
> > transaction.  So you could have a 256MB partition if
> > you only change a small
> > number of things, but it would run out of space if
> > you constantly rewrote a
> > 256MB file.
>
> partition was 500mb large. and if i can believe to df
> it still have about 15mb free.

Ok, the crash is not surprising in this case.

>
> > This is because the transactions are snapshot based.
> >  So, you need to have
> > enough room for the old copy of any blocks you
> > modify during a commit and the
> > new copy.
>
> one more detail.
> btrfs crashed when i run 'du ./' command... is this a
> "modify" action?

It updates atimes, so yes.

-chris



More information about the Btrfs-users mailing list