Increase and Decrease the size of Static Partition😎

Upmanyu Sharma
3 min readNov 21, 2020

--

In this article, We are going to learn how we can increase and decrease the size of Static Partition.🧐

We are going to use the Ec2 instances on AWS.

Let us attach the volume to our instance on AWS.

Now we have to create a partition in the volume attached to the instance.

Format the Partition

Now mount the partition on folder /dn1.

Now How we can increase the size of the partition.

For that, we have to firstly unmount the /dn1 folder.

Now we have to delete the partition to create a new partition with an increased size.

Now we can create a new partition with increased size.

Now we have to format the partition.

Mount the partition on the folder and you can see the increased size using the command: df -h

Now, For Decreasing Size.

We have to check and repair the file system.

Then we have to resize the file system for reducing the size.

Mount the partition on the folder (eg. dn1 in our case)

Here you can see the size has been decreased.

Thank You for reading my article. 😊

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Upmanyu Sharma
Upmanyu Sharma

No responses yet

Write a response