* UBIFS recovery fail
@ 2009-05-06 6:11 Jacky Lam
2009-05-06 6:58 ` Adrian Hunter
0 siblings, 1 reply; 2+ messages in thread
From: Jacky Lam @ 2009-05-06 6:11 UTC (permalink / raw)
To: linux-mtd
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?
Thanks.
BR,
Jacky
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: UBIFS recovery fail
2009-05-06 6:11 UBIFS recovery fail Jacky Lam
@ 2009-05-06 6:58 ` Adrian Hunter
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Hunter @ 2009-05-06 6:58 UTC (permalink / raw)
To: Jacky Lam; +Cc: linux-mtd@lists.infradead.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-06 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06 6:11 UBIFS recovery fail Jacky Lam
2009-05-06 6:58 ` Adrian Hunter
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).