From: Richard Weinberger <richard@nod.at>
To: Ibrahim Mattus Neto <ibrahim.neto@writesys.com.br>,
Konstantin Tokarev <annulen@yandex.ru>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: can't mount ubifs after resizing with ubirsvol
Date: Sun, 22 Nov 2015 22:43:43 +0100 [thread overview]
Message-ID: <5652370F.60501@nod.at> (raw)
In-Reply-To: <564DEEEF.7010102@writesys.com.br>
Ibrahim,
Am 19.11.2015 um 16:46 schrieb Ibrahim Mattus Neto:
> Hi!
>
> On 19/11/2015 13:02, Richard Weinberger wrote:
>> Am 19.11.2015 um 15:09 schrieb Konstantin Tokarev:
>>> I can confirm that shrinking UBIFS volume corrupts it.
>> There are no UBIFS volumes.
>
> You mean that there are no UBIFS volumes because of the config file? e.g.
UBIFS has no volumes, it is a filesystem.
UBI has volumes. :-)
> [data]
> mode=ubi
> vol_id=1
> vol_type=dynamic
> vol_name=data
> vol_alignment=1
> vol_flags=autoresize
> vol_size=10MiB
>
>
>
>> If you shrink a UBI volume, you kill UBIFS for sure.
>> It is like shrinking a HDD partition without resizing ext4 before.
>
> In this case, should I use ubiupdatevol (with a new ubifs file) after resizing the ubi volume?
You can. (As long the UBIFS fits into the UBI volume)
Thanks,
//richard
next prev parent reply other threads:[~2015-11-22 21:44 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
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 [this message]
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=5652370F.60501@nod.at \
--to=richard@nod.at \
--cc=annulen@yandex.ru \
--cc=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.