# The rootfs size overrides IMAGE\_ROOTFS\_MAXSIZE

**URL:** <https://hub.mender.io/t/the-rootfs-size-overrides-image-rootfs-maxsize/1016>\
**Category:** General Discussions\
**Created:** [September 14, 2019, 2:49pm UTC](https://hub.mender.io/t/the-rootfs-size-overrides-image-rootfs-maxsize/1016 "2019-09-14T14:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [September 16, 2019, 6:27am UTC](https://hub.mender.io/t/the-rootfs-size-overrides-image-rootfs-maxsize/1016/2 "2019-09-16T06:27:04Z")

</div>

Hi,

It seems that the generated rootfs image is a lot bigger then the default rootfs partition.

You can adjust this with the [MENDER\_STORAGE\_TOTAL\_SIZE\_MB](https://docs.mender.io/2.0/artifacts/yocto-project/variables#mender_storage_total_size_mb) variable.

And you can read more about it here,

[https://docs.mender.io/2.0/devices/yocto-project/partition-configuration](https://docs.mender.io/2.0/devices/yocto-project/partition-configuration)

---

_[View the full topic](https://hub.mender.io/t/the-rootfs-size-overrides-image-rootfs-maxsize/1016)._
