The decision to implement one or more partitions per storage device is based on certain advantages and disadvantages. The following are the reasons to create multiple partitions on your storage device:
- Improves access time for data and applications colocated on the same partition.
- Supports the separation of user ﬁles and operating system ﬁles.
- Provides dedicated operating system swap or system paging ﬁle space.
- Protects operating system ﬁles from the rapid growth of system data ﬁles (for example, logging, system cache) that may consume all available disk space quickly.
- Provides support for multibooting environments.
- Provides a layer of isolation to prevent or protect one partition’s system resources from another partition’s system resources.
- Allows the implementation of various ﬁlesystems and different disk geometry strategies to improve read and/or write performance.
The Linux operating system, like most modern operating systems, supports the creation and use of multiple partitions. After creating a partition, a ﬁlesystem (for example, ext2, ext3, and ReiserFS) must be assigned to the ﬁlesystem. This can be implemented through a partition editor tool or through the Linux mkfs command. After the ﬁlesystem, a directory structure would need to be created for the allocation and organization of ﬁles and folders.
Published on Mon 12 March 2007 by Dave Wilson in Linux with tag(s): linux disk partitions