linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Ibrahim Mattus Neto <ibrahim.neto@writesys.com.br>
To: Richard Weinberger <richard@nod.at>,
	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: Mon, 23 Nov 2015 11:43:07 -0200	[thread overview]
Message-ID: <565317EB.4010407@writesys.com.br> (raw)
In-Reply-To: <5652370F.60501@nod.at>


On 22/11/2015 19:43, Richard Weinberger wrote:
> 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. :-)

My bad... got  a little confused :(

>
>>   [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

Thank you for your time!
Best,
--Ibrahim

  reply	other threads:[~2015-11-23 13:46 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
2015-11-23 13:43                     ` Ibrahim Mattus Neto [this message]
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=565317EB.4010407@writesys.com.br \
    --to=ibrahim.neto@writesys.com.br \
    --cc=annulen@yandex.ru \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    /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 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).