[Ubifs] Reboot -> "recovery needed"?

Artem Bityutskiy dedekind1 at gmail.com
Tue Jun 28 03:33:34 EDT 2011


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




More information about the linux-mtd mailing list