
There are two Memory Management Techniques: Contiguous, and Non-Contiguous. In Contiguous Technique, the executing process must be loaded entirely in the main memory. Contiguous Technique can be divided into:
- Fixed (or static) partitioning
- Variable (or dynamic) partitioning
We are here going to look upon how we going to make static partition a dynamic one:
STEP1:
Add a physical storage to achieve the partition
We have created a 8gb sdb .

STEP2:
>>Creating a partition on sdb disk to use the storage.

>>Creating a 4-GB partition which we will later increase dynamically without deleting the data.

>>Checking the New Partition and storage.

>>Formatting the Partition to Use the sdb storage.

>>Mounting the sdb storage to the /static directory.


>>Creating a file to check later for security purpose.

STEP3:
>>Unmounting the sdb1 to resize the storage and without loosing the Data

STEP4:
>>Deleting the old partition and will be creating new partition of +7GB

STEP4:
>>Using e2fsck : The e2fsck command is used to check the ext2/ext3/ext4 family of file systems. For ext3 and ext4 filesystems that use a journal, if the system has been shut down uncleanly without any errors, normally, after replaying the committed transactions in the journal, the file system should be marked as clean.

>>Increasing the size of sdb1

STEP5:
>>Mounting again to se the storage:
>>As we can see here Size is increased but alos “t.txt” file is not formatted i.e. We have increased the storage without Formatting the Whole Static Storage.
