![]() |
VOOZH | about |
A partition is a means of splitting a block device up to sub-regions. It allows creating a more manageable and adaptive "logical" structure visible to the system. The PARTUUID (partition UUID) can be seen using blkid.
Used for a long time to organize data, also called DOS-Partitions. Partition information is stored in the first 512 bytes of the device.
-*- Enable the block layer Partition Types ---> [*] Advanced partition selection [*] PC BIOS (MSDOS partition tables) support
The following programs can be used to create, alter, and remove MBR partitions:
| Program | Package | GUI | Function |
|---|---|---|---|
| cfdisk | sys-apps/util-linux | ncurses | Create, alter, and remove partitions. More intuitive interface than fdisk. |
| fdisk | sys-apps/util-linux | No | Create, alter, and remove partitions. |
| gparted | sys-block/gparted | GTK3 | GNOME Partition Editor; create, alter, and remove partitions. |
| parted | sys-block/parted | No | Create, alter, remove, check, copy partitions and file systems. |
| partitionmanager | sys-block/partitionmanager | Qt5 | KDE Partition Manager; create, alter, and remove partitions. |
| sfdisk | sys-apps/util-linux | No | Non-interactive version of fdisk. |
In GUID (Global Unique IDentifier) partition system, a small amount of disk space at the beginning of the device is used to store the partition information. Its main advantage is the supported size of storage devices and the creation of a backup of the partition table at the end of the device.
-*- Enable the block layer Partition Types ---> [*] EFI GUID Partition support
The following programs can be used to create, alter, and remove GPT partitions:
| Program | Package | GUI | Function |
|---|---|---|---|
| cfdisk | sys-apps/util-linux | No | Create, alter, and remove partitions. More intuitive interface than fdisk. |
| fdisk | sys-apps/util-linux | No | Create, alter, and remove partitions. |
| GNOME Disks | sys-apps/gnome-disk-utility | GTK3 | GNOME partition manager. |
| gparted | sys-block/gparted | GTK3 | GNOME Partition Editor; create, alter, and remove partitions. |
| gptfdisk | sys-apps/gptfdisk | No | Create, alter, remove, convert MBR to GPT, and recreate partition tables from backup. |
| parted | sys-block/parted | No | Create, alter, remove, check, copy partitions and file systems. |
| partitionmanager | sys-block/partitionmanager | Qt5 | KDE Partition Manager; create, alter, and remove partitions. |
| sfdisk | sys-apps/util-linux | No | Non-interactive version of fdisk. |
LVM is a complete suite to dynamically manage partitions, storage devices or other underlying systems as volumes.
Device Drivers ---> Multiple devices driver support (RAID and LVM) ---> <*> Device mapper support <*> Crypt target support <*> Snapshot target <*> Thin provisioning target <*> Mirror target <*> Multipath target <*> I/O Path Selector based on the number of in-flight I/Os <*> I/O Path Selector based on the service time
The following programs come with sys-fs/lvm2
| Program | GUI | Function |
|---|---|---|
| lvcreate | No | Create, alter, and remove volumes. |
| pvcreate | No | Create or remove Physical Volumes of storage devices/systems. |
| vgcreate | No | Groups PV as Volume Group. |
The following programs can be used to create, alter, and remove LVM partitions:
| Program | Package | GUI | Function |
|---|---|---|---|
| partitionmanager | sys-block/partitionmanager | Qt5 | KDE Partition Manager; create, alter, and remove LVM PVs, VGs, LVs. |
ZFS is a complete suite to dynamically manage storage and filesystem.
The following programs come with sys-fs/zfs:
| Program | GUI | Function |
|---|---|---|
| zfs | No | Create, alter (resize), and remove volumes. |
| zpool | No | Manage and organize vdevs in zpools. |
Busybox also contains a version of fdisk.
There are some special versions of fdisk for specific system types in the Gentoo ebuild repository, such as: sys-fs/arm-fdisk, sys-fs/mac-fdisk, or sys-fs/atari-fdisk.
See sys-fs category for even more tools.