# Bumping project from thud to dunfell issue with MENDER\_STORAGE\_TOTAL\_SIZE\_MB

**URL:** <https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304>\
**Category:** General Discussions\
**Created:** [March 5, 2021, 8:40pm UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304 "2021-03-05T20:40:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [March 5, 2021, 8:40pm UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/1 "2021-03-05T20:40:41Z")

</div>

Hi,

I have RPI based project based originally on thud poky release and I’m in process of bumping existing project to dunfell branch. All went smooth but I have an issue with creating sdimage where wic creation failed with messages that actual rootfs size is higher then computed:

```auto
ERROR: File system image of partition None is larger (425984 kB) than its allowed size 409600 kB

```

Thing is I cannot increase `MENDER_STORAGE_TOTAL_SIZE_MB` because then I cannot perform mender update from thud to dunfell. I tried to adjust various variables but without success.  
Does anybody resolve such problem? Ideas? Thanks.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [March 6, 2021, 7:47pm UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/2 "2021-03-06T19:47:32Z")

</div>

I had a similar issue going from Sumo to Dunfell. But in my case I was able to fix it by adjusting MENDER\_STORAGE\_TOTAL\_SIZE\_MB.

@kacf any ideas?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [March 8, 2021, 7:04am UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/3 "2021-03-08T07:04:40Z")

</div>

My problem is that I want to be able to switch back from dunfell to thud releases. So for thud rootfs size was 413M. I played with `MENDER_STORAGE_TOTAL_SIZE_MB` but cannot make image with rotofs which fits to 413MB.I think it’s due to the fact of automatic rootfs size computation was changed or so. Thanks.

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [March 8, 2021, 8:35am UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/4 "2021-03-08T08:35:53Z")

</div>

You mean you can’t get it to fit exactly, or you can’t get it to decrease at all?

Does it work to set `IMAGE_ROOTFS_SIZE` to the desired value?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [March 8, 2021, 8:39am UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/5 "2021-03-08T08:39:54Z")

</div>

Hi, I would like to have dunfell release have same rootfs size. I tried also to set `IMAGE_ROOTFS_SIZE` to exact rootfs size but it IIRC I get an issue with size mismatch.

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [March 9, 2021, 9:51am UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/6 "2021-03-09T09:51:43Z")

</div>

I can’t reproduce this, can you post the output?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [March 9, 2021, 3:49pm UTC](https://hub.mender.io/t/bumping-project-from-thud-to-dunfell-issue-with-mender-storage-total-size-mb/3304/7 "2021-03-09T15:49:13Z")

</div>

> [@kacf](#):
>
> IMAGE\_ROOTFS\_SIZE

We workaround it by setting exact `IMAGE_ROOTF_SIZE` and with help of this fix: [MENDER\_PARTITION\_ALIGNMENT, Raspberry Pi and historical reasons](https://hub.mender.io/t/mender-partition-alignment-raspberry-pi-and-historical-reasons/2293)

Thanks.
