linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Karsten Jeppesen <arm9263@yahoo.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Expanding UBI fs to maxavailable size
Date: Wed, 20 Oct 2010 14:19:54 +0300	[thread overview]
Message-ID: <1287573594.9272.64.camel@localhost> (raw)
In-Reply-To: <968604.60195.qm@web120213.mail.ne1.yahoo.com>

On Tue, 2010-10-19 at 01:17 -0700, Karsten Jeppesen wrote:
> Hi Artem,
> 
> This is Karsten Jeppesen, just using an out-of-the-house account,
> and thanks for your very quick reply.

UBI and UBIFS always print something, refer:
http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
item 3.

Anyway, AFAICS, UBI auto-resize the UBI volume correctly, because of
this:

> ubi0
> Volumes count:                           1
> Logical eraseblock size:                 130944 bytes, 127.9 KiB
> Total amount of logical eraseblocks:     486 (63638784 bytes, 60.7 MiB)

I re-sized.

However, UBIFS file-system did not re-size, because you specified too
small maximum UBIFS LEB count: --max-leb-cnt=232

Try --max-leb-cnt=511 and it should work. Take a look here:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_max_leb_cnt

I agree this all stuff is not as user-friendly as it could, but you have
a good chance to make it user-friendlier by contributing docs or code.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

      reply	other threads:[~2010-10-20 11:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 21:22 Expanding UBI fs to maxavailable size Karsten Jeppesen
2010-10-19  5:12 ` Artem Bityutskiy
2010-10-19  8:17   ` Karsten Jeppesen
2010-10-20 11:19     ` 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=1287573594.9272.64.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=arm9263@yahoo.com \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).