---
title: SIRP Root Partition Resize
description: SIRP root partition resize requires user to execute commands having sudo rights first.
---

[Skip to content](https://content.sirp.io/knowledge-base/sirp-root-partition-resize-help-center-sirp#main-content)

English

Show submenu for translations

[Customer portal](https://content.sirp.io/customer-portal?hsLang=en)

[![SIRP-Logo-4c-KO](https://content.sirp.io/hs-fs/hubfs/SIRP-Logo-4c-KO.png?width=200&height=90&name=SIRP-Logo-4c-KO.png)](https://sirp.io/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://content.sirp.io/customer-portal)
- [Contact us](https://content.sirp.io/customer-portal/new)

[Contact us](https://content.sirp.io/customer-portal/new?hsLang=en)

 What would you like to automate today?

- There are no suggestions because the search field is empty.

1. [SIRP Help Center](https://content.sirp.io/knowledge-base?hsLang=en)
2. [Admin Guide](https://content.sirp.io/knowledge-base/admin-guide?hsLang=en)

# SIRP Root Partition Resize

SIRP root partition resize requires user to execute commands having sudo rights first.

[![](https://content.sirp.io/hubfs/Knowledge%20Base%20Import/image-Jul-11-2025-11-55-43-9480-AM.png)](https://downloads.intercomcdn.com/i/o/462007846/f0148204d70f04c42cf2875e/image.png?expires=1752237000&signature=ab4fa57437f35efd070f9654884b475bbe2d72ed0c0ff690340d326325b6a3c9&req=cCYlFsl5lYVZFb4f3HP0gJrYqaU0kjouUvco2AzGz1G0GphkYrG2PeEYRiQ0%0Ab5CNam0Fo0ryfAIiQQ%3D%3D%0A)

As of now `/dev/sda1`has 26G size. Whereas used space depends on the usage, so we have to increase it as per the steps below:

Run command `cfdisk` as sudo user.

[![](https://content.sirp.io/hubfs/Knowledge%20Base%20Import/image-Jul-11-2025-11-55-47-5061-AM.png)](https://downloads.intercomcdn.com/i/o/462008895/506484aee6910de327ec0af7/image.png?expires=1752237000&signature=579b03636606c4929fffa3b0d0bcdbce91a448b56c45822282d521ee5cc60dd8&req=cCYlFsl2lYhaFb4f3HP0gMgXUE6nMRAbApv3k2h4wcf27IYUowKAacwUqfe9%0ANv9c157OsPEq9FXAfg%3D%3D%0A)

There are two more partitions`/dev/sda2` and `/dev/sda5` that can be seen in cfdisk utility.

- Delete`/dev/sda2` and `/dev/sda5` and then resize `/dev/sda1` to 100G
- Then write the partition table to the disk

[![](https://content.sirp.io/hubfs/Knowledge%20Base%20Import/image-Jul-11-2025-11-55-50-8532-AM.png)](https://downloads.intercomcdn.com/i/o/462010484/395a771d9856185b1688668f/image.png?expires=1752237000&signature=204c5980e204e251aa425b98577f8d449bbde652c94e41ed54b183a02bbe738c&req=cCYlFsh%2BmYlbFb4f3HP0gF1oJQhn4BFLaxZl80HdQYYTPomweju2h5lQ9Jbf%0AsnZXg5wuLHBsBEbiLQ%3D%3D%0A)

Once, partition table is written successfully, you'll see the message `The partition table has been altered.`

- Quit the `cfdisk` utility.
- Then reboot the machine.

Once machine gets rebooted. Run command `resize2fs /dev/sda1` as sudo user.

[![](https://content.sirp.io/hubfs/Knowledge%20Base%20Import/image-Jul-11-2025-11-55-55-8402-AM.png)](https://downloads.intercomcdn.com/i/o/462012111/f9159aa4c7a9b29be50d06b5/image.png?expires=1752237000&signature=2a9a045b02e0ab171a9bbf6dd44fba94202ec47a1a14683de7686081db980534&req=cCYlFsh8nIBeFb4f3HP0gGpMMEdDeZC4ApUbLrphR7DhFufQCVspvcFxLtSz%0AjrcbdbJnUnr4OeyAiA%3D%3D%0A)

You'll get the message that `the filesystem on /dev/sda1 is now 26214144 (4k) blocks long`. Which is the confirmation message that size of `/dev/sda1` is increased.

Now run `df -h` to see new size.

[![](https://content.sirp.io/hubfs/Knowledge%20Base%20Import/image-Jul-11-2025-11-56-08-6920-AM.png)](https://downloads.intercomcdn.com/i/o/462012960/04553636cc9445fda83436b0/image.png?expires=1752237000&signature=2bf0791490dd54857ec1a27ae6364d98534ed53f378326b0af430bd7dff2078b&req=cCYlFsh8lIdfFb4f3HP0gPYKq%2FNRftFG9pRKZGg54miWSOsvqNJvilaBYHGX%0A2nA05kSxPTN8EbovuQ%3D%3D%0A)

`/dev/sda1` is successfully increased to 99G.

<https://content.sirp.io/knowledge-base/incident-management-help-center-sirp?hsLang=en><https://content.sirp.io/knowledge-base/sirp-deployment-guide-help-center-sirp?hsLang=en><https://content.sirp.io/knowledge-base/azure-microsoft-sentinel-integration-help-center-sirp?hsLang=en><https://content.sirp.io/knowledge-base/sizing-guidelines-help-center-sirp?hsLang=en>

- [SIRP Community](https://content.sirp.io/knowledge-base/sirp-community?hsLang=en)
- [Playbook Guide](https://content.sirp.io/knowledge-base/playbook-guide?hsLang=en)
- [User Guide](https://content.sirp.io/knowledge-base/user-guide?hsLang=en#main-content)

    - [IM Guide](https://content.sirp.io/knowledge-base/user-guide?hsLang=en#im-guide)
- [Admin Guide](https://content.sirp.io/knowledge-base/admin-guide?hsLang=en)
- [Integration Guide](https://content.sirp.io/knowledge-base/integration-guide?hsLang=en)
- [Release Notes](https://content.sirp.io/knowledge-base/release-notes?hsLang=en)
- [Add on Apps](https://content.sirp.io/knowledge-base/add-on-apps?hsLang=en)
- [Architecture](https://content.sirp.io/knowledge-base/architecture?hsLang=en)
- [Use Cases](https://content.sirp.io/knowledge-base/use-cases?hsLang=en)

[![SIRP-Logo-4c-KO](https://content.sirp.io/hs-fs/hubfs/SIRP-Logo-4c-KO.png?width=200&height=90&name=SIRP-Logo-4c-KO.png "SIRP-Logo-4c-KO")](https://sirp.io)

### Global Headquarter

##### United States

7735 Old Georgetown Rd, Suite 510  
Bethesda, MD 20814

[+1 888 701 9252](tel:+18887019252)

<https://www.facebook.com/share/1CPERUMYH4/?mibextid=wwXIfr> <https://x.com/sirp_io> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2025, SIRP Labs Inc