All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Gilles <gilles.ganault@free.fr>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [Ubifs] Reboot -> "recovery needed"?
Date: Tue, 28 Jun 2011 10:33:34 +0300	[thread overview]
Message-ID: <1309246418.23597.31.camel@sauron> (raw)
In-Reply-To: <1rhb079etc7nr1tasfal6eag1d6lmfhd73@4ax.com>

On Sat, 2011-06-25 at 13:34 +0200, Gilles wrote:
> Hello
> 
> 	The root filesystem lives in a partition on a NAND, and I noticed
> that after running "reboot", at the next boot, I get this message:
> 
> ===============
> ...
> UBIFS: recovery needed
> UBIFS: recovery completed
> UBIFS: mounted UBI device 0, volume 0, name "rootfs"
> UBIFS: file system size:   251596800 bytes (245700 KiB, 239 MiB, 1950
> LEBs)
> UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
> UBIFS: media format:       w4/r0 (latest is w4/r0)
> UBIFS: default compressor: lzo
> UBIFS: reserved for root:  0 bytes (0 KiB)
> VFS: Mounted root (ubifs filesystem) on device 0:10.
> ===============
> 
> Is this the way Ubifs works, or should I run a command prior to
> "reboot"?

Your reboot command does not unmount the file-system, so from UBIFS's
point of view you do unclean reboot, and UBIFS needs to do recovery.

-- 
Best Regards,
Artem Bityutskiy

  reply	other threads:[~2011-06-28  7:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-25 11:34 [Ubifs] Reboot -> "recovery needed"? Gilles
2011-06-28  7:33 ` Artem Bityutskiy [this message]
2011-06-28 11:19   ` Gilles
2011-06-28 11:22     ` Artem Bityutskiy
2011-06-28 11:25       ` Gilles
2011-06-28 11:38         ` Artem Bityutskiy
2011-06-28 11:50           ` Gilles
2011-06-28 12:14             ` Artem Bityutskiy
2011-06-28 12:33               ` Gilles
2011-06-28 12:43                 ` Artem Bityutskiy
2011-06-28 12:45                   ` Gilles

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=1309246418.23597.31.camel@sauron \
    --to=dedekind1@gmail.com \
    --cc=gilles.ganault@free.fr \
    --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 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.