Refer to
yum install centos-release-scl
yum install devtoolset-8-gcc devtoolset-8-gcc-c++
yum install devtoolset-8-gcc-gfortran.x86_64
# To switch to a shell which defaults gcc and g++ to this GCC version, use:
scl enable devtoolset-8 -- bash
# OR
source /opt/rh/devtoolset-8/enable
Comments: 0
Pls refer to Create a Logical Volume larger than 2TB and format it in Linux/RHEL
"You cannot create a Linux partition larger than 2 TB using the fdisk command. Using fdisk you could not create partitions larger than 2 TB. It is fine for desktop and laptop users, but for servers, you need large partitions like 2TB, 3TB, 4TB etc.
Root Cause
- The fdisk command only supports the legacy MBR partition table format (also known as msdos partition table)
- MBR partition tables use data fields that have a maximum of 32 bit sector numbers, and with 512 bytes/sector that means a maximum of 2^(32+9) bytes per disk or partition is supported
- MBR partition table can not support accessing data on disks past 2.19TB due to the above limitation
- Note that some older versions of fdisk may permit a larger size to be created but the resulting partition table will be invalid.
- The parted command can create disk labels using MBR (msdos), GUID Partition Table (GPT), SUN disk labels and many more types.
- The GPT disk label overcomes many of the limitations of the DOS MBR including restrictions on the size of the disk, the size of any one partition and the overall number of partitions.
- Note that booting from a GPT labelled volume requires firmware support and this is not commonly available on non-EFI platforms (including x86 and x86_64 architectures).
For more details please see the solution on Red Hat Customer Portal"
Comments: 0