From: Ibrahim Mattus Neto <ibrahim.neto@writesys.com.br>
To: linux-mtd@lists.infradead.org
Subject: can't mount ubifs after resizing with ubirsvol
Date: Mon, 9 Nov 2015 12:04:00 -0200 [thread overview]
Message-ID: <5640A7D0.6080104@writesys.com.br> (raw)
In-Reply-To: <1315747066.18731.53.camel@sauron>
Hi!
I am having problems resizing a ubifs volume, I used the command
ubirsvol (version: 1.5.1) but when I try mounting it I get the following
error:
[ 8840.450000] UBIFS error (ubi0:1 pid 720): validate_sb: bad LEB count:
413 in superblock, 331 on UBI volume, 19 minimum required
[ 8840.460000] UBIFS error (ubi0:1 pid 720): validate_sb: bad
superblock, error 1
[ 8840.470000] magic 0x6101831
[ 8840.480000] crc 0x539e8e1c
[ 8840.480000] node_type 6 (superblock node)
[ 8840.480000] group_type 0 (no node group)
[ 8840.490000] sqnum 1
[ 8840.490000] len 4096
[ 8840.490000] key_hash 0 (R5)
[ 8840.500000] key_fmt 0 (simple)
[ 8840.500000] flags 0x0
[ 8840.500000] big_lpt 0
[ 8840.510000] space_fixup 0
[ 8840.510000] min_io_size 2048
[ 8840.510000] leb_size 126976
[ 8840.520000] leb_cnt 413
[ 8840.520000] max_leb_cnt 413
[ 8840.520000] max_bud_bytes 2158592
[ 8840.530000] log_lebs 3
[ 8840.530000] lpt_lebs 2
[ 8840.530000] orph_lebs 2
[ 8840.540000] jhead_cnt 1
[ 8840.540000] fanout 8
[ 8840.540000] lsave_cnt 256
[ 8840.540000] default_compr 1
[ 8840.550000] rp_size 2558566
[ 8840.550000] rp_uid 0
[ 8840.550000] rp_gid 0
[ 8840.560000] fmt_version 4
[ 8840.560000] time_gran 1000000000
[ 8840.560000] UUID B1F16610-EEDF-471F-B5AD-279F21C00729
mount: mounting ubi0:recover on /recover failed: Invalid argument
I was reading through the archives and found a similar issue but no
solution, is there a way to shrink a volume?
I was thinking about changing the LEB count inside the superblock but I
didn't know how to (and thought it would be too risky)
Thanks in advance,
Ibrahim
next prev parent reply other threads:[~2015-11-09 14:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 22:53 can't mount ubifs after resizing with ubirsvol Jon Ringle
2011-09-05 8:33 ` Matthieu CASTET
2011-09-11 13:17 ` Artem Bityutskiy
2015-11-09 14:04 ` Ibrahim Mattus Neto [this message]
2015-11-18 20:01 ` Richard Weinberger
2015-11-19 13:34 ` Ibrahim Mattus Neto
2015-11-19 13:42 ` Richard Weinberger
2015-11-19 14:09 ` Konstantin Tokarev
2015-11-19 15:02 ` Richard Weinberger
2015-11-20 0:09 ` Dongsheng Yang
[not found] ` <564DEEEF.7010102@writesys.com.br>
2015-11-22 21:43 ` Richard Weinberger
2015-11-23 13:43 ` Ibrahim Mattus Neto
2011-09-09 9:59 ` marco
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=5640A7D0.6080104@writesys.com.br \
--to=ibrahim.neto@writesys.com.br \
--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.