All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Kaspar Schleiser <kaspar@schleiser.de>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] Btrfs-progs: btrfs file system size should be bigger then 256m
Date: Mon, 05 Jan 2009 16:49:16 +0100	[thread overview]
Message-ID: <49622BFC.7040105@wpkg.org> (raw)
In-Reply-To: <49622525.80001@schleiser.de>

Kaspar Schleiser schrieb:
> Hey,
> 
> Tomasz Chmielewski wrote:
>>> This has been bothering me for some time. Why does btrfs need to have 
>>> a disk greater then 256M? I could see a much smaller limit, say 16M 
>>> but why so much? The file system itself does not need that much space 
>>> for its own use.
>>
>> In other words, 256M limit rather disqualifies btrfs as a filesystem 
>> i.e. for /boot, doesn't it?
> When 1G is just 10c?

Maybe when talking about traditional HDDs.
Anything flash-based is still $2-$5 per 1G.

I have some SAN devices booting off 512MB or 1G builtin flash. Having 
256M for /boot there would not leave much more space for the operating 
system.

Why separate /boot? It's still needed for encrypted rootfs or more fancy 
partitioning (like / on LVM, at least until GRUB2 is stable and is 
shipped by major distros).


Seriously, what are the technical reasons that btrfs needs so much space 
for a minimal filesystem?

Just 2 MB is enough for mkfs.ext4 to create a valid filesystem.


Also, the patch seems to be incomplete - i.e. what will happen if we try 
to btrfs-convert a 50MB ext3 filesystem into btrfs?


-- 
Tomasz Chmielewski
http://wpkg.org

  parent reply	other threads:[~2009-01-05 15:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 14:44 [PATCH] Btrfs-progs: btrfs file system size should be bigger then 256m Tomasz Chmielewski
     [not found] ` <49622525.80001@schleiser.de>
2009-01-05 15:49   ` Tomasz Chmielewski [this message]
2009-01-05 16:39     ` Chris Mason
  -- strict thread matches above, loose matches on Subject: below --
2008-12-31  6:12 Shen Feng
2008-12-31  7:41 ` Lee Trager
2008-12-31  9:20   ` Shen Feng
2008-12-31 17:49 ` Zach Brown
2009-01-05  1:23   ` Shen Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49622BFC.7040105@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=kaspar@schleiser.de \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.