When creating storage pools and volumes in the TOS system, the system automatically partitions and formats the disks used to create storage pools. Each disk is divided into four physical partitions: the boot partition, swap partition, system partition, and data partition.
The boot partition is the first partition on the TNAS disk and stores the system's boot loader. When the BIOS or uBoot is set to boot from the disk, the bootloader on this partition provides the boot for the system. In the TOS system, the file system of the boot partition is default to ext4, with a partition size of 300MB.
The swap partition is a special hard disk space in the Linux operating system, also known as virtual memory. When the system is running out of memory, a portion of less frequently used memory data is stored in the swap partition to free up memory space, ensuring the stable operation of the system. In the TOS system, the file system of the swap partition is default to ext4, and the size is set to 2GB by default.
The system partition is used to store the operating system, including the kernel, configuration files, user directories, programs, and databases, among other components. In the TOS system, the default file system for the system partition is ext4. Before TOS 5, the default size of the system partition was 2GB, and starting from TOS 5, the system partition size was adjusted to 8GB.
The data partition is used to store user data. Any disk space other than the boot partition, swap partition, and system partition will be allocated to the data partition, and its size depends on the total disk space.