# Changing rootfS size build issue with sysfs\_volume

**URL:** <https://forum.legato.io/t/changing-rootfs-size-build-issue-with-sysfs-volume/5928>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [August 11, 2021, 7:04am UTC](https://forum.legato.io/t/changing-rootfs-size-build-issue-with-sysfs-volume/5928 "2021-08-11T07:04:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Pankaj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/pankaj/32/1317_2.png) [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Post date:** [August 11, 2021, 9:45am UTC](https://forum.legato.io/t/changing-rootfs-size-build-issue-with-sysfs-volume/5928/7 "2021-08-11T09:45:16Z")

</div>

@jyijyi ,

The image size is big is understood but the build should not fail when we change the UBI\_ROOTFS\_SIZE, current value is 40MB and what I am using is 48MB. I believe this is just a check to ensure an image with size bigger than UBI\_ROOTFS\_SIZE is not built and produces an error.

but in this case image is not built although the UBI\_ROOTFS\_SIZE is mentioned 48MB so it should have allowed an image to build upto 48MB in size but clearly that is not the case and seems like there is some additional code added which is preventing it from building in the do\_prepare\_ubi function of the recipe mdm9x28-image-minimal

---

_[View the full topic](https://forum.legato.io/t/changing-rootfs-size-build-issue-with-sysfs-volume/5928)._
