🔺Increase or Decrease the Size of Static Partition on LINUX🔻

What is a static partition?

Static Partition saves your time in loading data compared to dynamic partition. You “statically” add a partition in the table and move the file into the partition of the table. We can alter the partition in the static partition.

Firstly attach the Hard disk to the system

# sdb

Then create a PArtition

Now you have to format the partition

Run this → # kfs.ext4 /dev/sdb1

Now create a folder to be mounted and the mount

Now it has successfully mounted

Now create some sample files to check it later

Now unmount

Now delete the previous partition and again create one more partition

This time they are asking Yes OR No

STill not yet mounted

To clean the files in the new created partition run the following command

Then Resize to our requirement

You can see even though we created a static partition and we were able to increase the size and also retrieve the data in the previous partition.

Hence Successfully completed the Task

Hope it helped you

Thanks for Reading 😎




Passionate learner || Data Science Enthusiast || Django || Competitive Programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Developing with JavaScript Front End Framework

Working with the three.js Library to create 3D objects using JavaScript

YouTube Video | Two Color Flipper Projects in JavaScript

Application State in ReasonReact

Connecting Angular 6 to WordPress

How to develop a web extension for browsers?

Library — TryHackme 2021

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Passionate learner || Data Science Enthusiast || Django || Competitive Programmer

More from Medium

Dynamic libraries in C

Single-Host NAT via iptables

Mapping Huion Keys on Linux

Manipulating Linux text files with the sort and uniq commands