lvm – Extending Logical Volume Size Beyond 2TB in CentOS 7
I need to extend the size of the logical volumes in a CentOS 7 system and noticed that the current partition table cannot handle the updated disk size, which is around 5TB:
Disk /dev/sda: 5497.6 GB, 5497558138880 bytes, 10737418240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000bc7c4
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 2147483647 1072692224 8e Linux LVM
I know that I have to use parted along with GPT but couldn’t find a guideline on how to first change the partition table and then expand the volumes accordingly.
Could you please help me with this?
Read more here: Source link