# Increase the system partition storage

**URL:** https://hub.mender.io/t/increase-the-system-partition-storage/1563
**Category:** General Discussions
**Created:** [February 19, 2020, 9:41am UTC](https://hub.mender.io/t/increase-the-system-partition-storage/1563 "2020-02-19T09:41:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![franz.geiser](https://avatars.discourse-cdn.com/v4/letter/f/76d3ee/32.png) [@franz.geiser](https://hub.mender.io/u/franz.geiser)
#### Post date: [February 19, 2020, 9:41am UTC](https://hub.mender.io/t/increase-the-system-partition-storage/1563/1 "2020-02-19T09:41:15Z")

</div>

Hello to everyone.

I have a question about OS partitions. I didn’t find a solution for this.

Is it possible to increase the 2 main partitions with an update?

Example:  
i set the OS partition to 500MB and the data partition to 2GB.  
I deploy some devices.  
Later i discover that 500MB for my OS is not enough, so i would like to increase this partition to 1GB.  
I would like to do this with an update and i would like to avoid to rewrite all the sd-cards.

Thank you.

---

<div class="post-metadata">

### Author: ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)
#### Post date: [February 19, 2020, 10:36am UTC](https://hub.mender.io/t/increase-the-system-partition-storage/1563/2 "2020-02-19T10:36:07Z")

</div>

You may be able to use LVM but I don’t know what level of support mender has for this.

---

<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: [February 19, 2020, 11:48am UTC](https://hub.mender.io/t/increase-the-system-partition-storage/1563/3 "2020-02-19T11:48:25Z")

</div>

The problem with LVM is that neither U-Boot nor GRUB can read this, so they are unable to fetch the kernel from it. It is possible to modify the boot scripts to load the kernel from the non-LVM boot partition instead, but then you are moving into custom territory, and you lose the ability to update the kernel with a rootfs.

In general I would say that resizing the rootfs partition is not possible. Perhaps you can look into moving some of the data over to the `/data` partition instead, for example using a state script.

---

<div class="post-metadata">

### Author: ![franz.geiser](https://avatars.discourse-cdn.com/v4/letter/f/76d3ee/32.png) [@franz.geiser](https://hub.mender.io/u/franz.geiser)
#### Post date: [February 19, 2020, 12:04pm UTC](https://hub.mender.io/t/increase-the-system-partition-storage/1563/4 "2020-02-19T12:04:05Z")

</div>

It seams it’s not supported, so i will plan to don’t have this feature.

You confimed my thougths.

Thank you @dellgreen and @kacf
