All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@nokia.com>
To: Jacky Lam <jackylam.gsl@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS recovery fail
Date: Wed, 06 May 2009 09:58:14 +0300	[thread overview]
Message-ID: <4A013506.1090809@nokia.com> (raw)
In-Reply-To: <39811fe10905052311p53eaf0bcl4274e92ed030bbdd@mail.gmail.com>

Jacky Lam wrote:
> Dear all,
> 
> 	I have no idea why my UBIFS suddenly corrupted. But when I try to mount
> the UBIFS again, the following error appear:
> 
> 	UBIFS: recovery needed
> 	UBIFS error (pid 1057): check_lpt_type: invalid type (15) in LPT node
> type 2
> 	mount: mounting ubi0:fat on /mnt/fat failed: Invalid argument
> 
> 	Is there any way to recovery or let me clear the volume and mount again?

Unfortunately we do not have a program to fix corruption.

If you do not need anything from the file system, you can wipe the UBI volume
using the ubiupdatevol utility from mtd-utils with the -t option.  Then when
you try to mount UBIFS, it will automatically create an empty filesystem in
the empty volume.

However we would be very interested to learn more about your problem, so if
it is not too much trouble, would you be able to send us a complete bug
report as described here:

http://linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport

Also, if possible could you make a copy of the volume with the corrupted
UBIFS file system and either email it (if it is very small) or make it
available for download somewhere.  You can do that using dd to read
from the UBI volume device node e.g. dd if=/dev/ubi0_1 of=corruptedfs

      reply	other threads:[~2009-05-06  6:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06  6:11 UBIFS recovery fail Jacky Lam
2009-05-06  6:58 ` Adrian Hunter [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=4A013506.1090809@nokia.com \
    --to=adrian.hunter@nokia.com \
    --cc=jackylam.gsl@gmail.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 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.