🔺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

cleaning up redundant javascript 2

A Beginners Web-app Tech Stack

How to Write Better React Code

React Currency Converter Application

Angular 7 Http Mock Interceptors

Ten Pin Bowling Challenge I

Learn React.js With Youtube Tutorials?

Learn React.js With Youtube Tutorials By Rajdeep Singh

Introductory Tutorial to React: Part 2

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
Dileepkumar

Dileepkumar

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

More from Medium

Enhance the Security of .xlsx on Mac

x86–64 Troubleshooting Tales: I can jump to ring 3 via IRETQ but not via SYSRET… Why? — Part 1

Upgrading to Yocto Honister release

Switching from VFIO to NVIDIA