ubifs mount problem: UBIFS error (pid 1152): validate_sb: bad superblock, error 8
Artem Bityutskiy
dedekind1 at gmail.com
Fri Aug 21 00:59:16 EDT 2009
On 08/20/2009 06:59 AM, Aras Vaichas wrote:
> Hi,
>
> I've got UBI + UBIFS running as my root partition with 2.6.30, and I'm
> using mtd-utils from git downloaded just last week.
>
> I'm building my UBI image as per the instructions at:
> http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs
>
> I have successfully created UBI images, formatted, attached and
> mounted them. I'm not an expert, but I'm familiar with the procedure
> now.
>
> For some reason, I am now having problems mounting a known working
> image. The image contains 1 file with a "hello world" text string in
> it. I used to be able to mount it to my 8MB spare partition, but now
> it fails with:
>
> /root # mount -t ubifs ubi1:spareubi /mnt
> UBIFS error (pid 791): validate_sb: bad superblock, error 8
> mount: mounting ubi1:spareubi on /mnt failed: Invalid argument
>
> The strange thing is that I can format, attach and mount this *same*
> image to my other spare partition. It's like the NAND in this
> partition has some problem.
Just create 2 images - one for your 250MiB volume, the other one
for your 8MiB volume. There are several UBIFS parameters which
depend on the volume size, e.g., you may read this:
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_max_leb_cnt
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list