public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [MISFEATURE] Size reporting on small devices
@ 2009-05-06 16:53 Michael Raskin
  2009-05-06 20:27 ` Michael Raskin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Raskin @ 2009-05-06 16:53 UTC (permalink / raw)
  To: linux-btrfs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

		Hello
	During testing, I tried to create small BtrFS images (256M, 1G) and
just fill them up with large (100M) files. During these tests df -h
showed 130M at the time BtrFS reported "disk is full".

/dev/loop2            1.0G  895M  130M  88% /root/mnt/loop

One-byte files (80K+) allow to reproduce

/dev/loop2            1.0G   49M  976M   5% /root/mnt/loop

(and disk-full behavior) with Kernel BUG in
__btrfs_reserve_extent+0x351/0x35f , but that seems to be well-known.
Maybe df -i could be useful until metadata/data split is flexible? Is
there any way to inspect the metadata filling up and change the split?

Michael Raskin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKAcCIAAoJEE6tnN0aWvw3VooH/RLHZrjk4DAsAWOt/H/3OvUb
+HPPpkbCjTwPwpBd+ckRe0abKpwhcisJJg9BSpF/Co3kRlwSKkwj+K0gIUJtOwj8
R1AejEP++cW90l6GgeJGdA8sdGVSY4QBIjqdPYeDNn/GitrTOe/E8H2d+54JmDwm
v3664219SXmJas/jbKPBXi3DXNVc5Y9ZIWwp4RruOGJvS+NHUXRMVIjMMrsaqUZQ
g4qnXYFJeIePGErHlUcVYYwHWee9Xlv1EqV6u4M5UaLXcyZqW8+VIm+02amypcsp
otLsrLMCxedX90M/FlgbkECgWe6ttBYhTwRuAaSszuO+ip4/NfFOayGU4kJWzfc=
=UFlT
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [MISFEATURE] Size reporting on small devices
  2009-05-06 16:53 [MISFEATURE] Size reporting on small devices Michael Raskin
@ 2009-05-06 20:27 ` Michael Raskin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Raskin @ 2009-05-06 20:27 UTC (permalink / raw)
  To: linux-btrfs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Raskin wrote:
> Maybe df -i could be useful until metadata/data split is flexible? Is
> there any way to inspect the metadata filling up and change the split?

By the way, resizing down and then up seems to help - at least I was
able to create more files..
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKAfKiAAoJEE6tnN0aWvw3/N8IAKyMasInfx1PVP1SfvHUe2eW
walrjCq/2y90uqxNyHEKET7aBeqmyZsrGp4t/Hn1s3iLxYVY9iMJvTIjfOsy3yWu
5ynVbncQehykjl5uYvy+cnPDDvradzoCqVhnz1X6TymKoL0B0EVlAA4VBQ0Kfhzf
1Ukbuoq1LxUKqhtPnF5o/1f09rMj8QgwfUlXyE1H37BJr5SeG4Q/1MlEjApa7kPR
6MvJ/MRmzi9uDJKKrjDp1r3sv6pKqFSaBrG1eofFMRWtdDpwYeBmp4QU8a/ff27E
1gsz0dzNXC4aTQhQiOgQnVwvfGeF7eaDQjwRjqn1JBz+OGcfSpTkNfwMGM858OE=
=iTqb
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-06 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06 16:53 [MISFEATURE] Size reporting on small devices Michael Raskin
2009-05-06 20:27 ` Michael Raskin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox