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
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 delete the previous partition and again create one more partition
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.