From: Artem Bityutskiy <dedekind@infradead.org>
To: Nancy <nancydreaming@gmail.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS: Does ubifs have volumes size min limitation?
Date: Tue, 25 Mar 2008 09:00:44 +0200 [thread overview]
Message-ID: <1206428444.3856.6.camel@sauron> (raw)
In-Reply-To: <bae050c10803202323h371409dbg59517d86194ebf69@mail.gmail.com>
Hi!
On Fri, 2008-03-21 at 14:23 +0800, Nancy wrote:
> Hi,
> The total size of mtd partitions which will be attached by ubi is 50MiB,
> #ubimkvol -d 0 -n 0 -N ubifs -s 47MiB
> # mount -t ubifs ubi0:ubifs /mnt/1
> UBIFS error (pid 807): validate_sb: bad lsave_cnt
> UBIFS error (pid 807): validate_sb: bad superblock
> mount: mounting ubi0:ubifs on /mnt/1 failed: Invalid argument
Hmm... So you took an empty flash, attached it to UBI, and created this
volume? Or you used mkfs.ubifs utility?
Which version of UBIFS do you have (commit id)?
> It is OK when the volume size is large.
Yes, should be fine.
> Does ubifs have volumes size min limitation? why? and what is it exactly?
Yes, it does have minimum volume size limitation, because it uses
several eraseblocks for internal purposes, for example it needs to
reserve at lease 2 LEBs for the FS indexing tree, for LEB properties
information, for Garbage collection, and so on. This is why.
Vs. "what is it exactly", I'm not sure. I guess we never tested it with
very small volumes so far. I tried it with ~ 8 MiB volumes and it worked
fine.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
prev parent reply other threads:[~2008-03-25 7:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 6:23 UBIFS: Does ubifs have volumes size min limitation? Nancy
2008-03-25 7:00 ` Artem Bityutskiy [this message]
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=1206428444.3856.6.camel@sauron \
--to=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nancydreaming@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox