Most Linux distrobution, which is also the case with RHEL 6, uses the MBR (Master Boot Record) partitioning format. The MBR is designed to hold up to maximum 4 primary partition. If more is needed, you must use one primary as extended partition. And do not forget to let the extended partition use all remaining disk space. After creating an extended partition, you can create logical partition on the extended partiti
In a desktop RHEL, there is the graphical tool for managing our partition - palimpsest.
A never GUI tool that is maybe better is parted. The good thing with this tool is that it also can resize and copy partitions.
At the command line, you have the fdisk tool. When using the fdisk tool always use the following options:
- -c Switch off DOS-compatible mode.
- -u When listing partition tables, give sizes in sectors instead of cylinders.
Lets get started with fdisk and create a new primary partition.
After reboot you can check your new primary partition.
Now lets create an ext4 file system on the new primary partition.
And mount it.
If you want RHEL to automatically mount your new partition at boot, you need to add that to /etc/fstab. And the recommended way to identify the partition is with it's UUID.
And finally save and reboot.