Parted : Overlapping partitions

cornelvis

New Member
Joined
Mar 17, 2020
Messages
1
Reaction score
0
Credits
0
Hi, I am new here and although I read a lot of posts about this already, I can find where the culprit is on my system and how to calculate it.

I am trying to follow this article: https://gparted.org/h2-fix-msdos-pt.php#overlapping-partitions

Here is my output:
[root@server1 ~]# fdisk -l -u /dev/sda

Disk /dev/sda: 247.0 GB, 246960619520 bytes
255 heads, 63 sectors/track, 30024 cylinders, total 482344960 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 identifier: 0x0009776d

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1050623 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 1050624 125829119 62389248 8e Linux LVM
/dev/sda3 125829120 230686719 52428800 8e Linux LVM
Partition 3 does not end on cylinder boundary.
/dev/sda4 230686720 419430399 94371840 5 Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5 230688768 419430399 94370816 8e Linux LVM


[root@server1 ~]# sfdisk -d /dev/sda > sda-backup.txt

[root@server1 ~]# cat sda-backup.txt
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start= 2048, size= 1048576, Id=83, bootable
/dev/sda2 : start= 1050624, size=124778496, Id=8e
/dev/sda3 : start=125829120, size=104857600, Id=8e
/dev/sda4 : start=230686720, size=188743680, Id= 5
/dev/sda5 : start=230688768, size=188741632, Id=8e
[root@server1 ~]#

I believe the mess up is with partition 5, but I am unsure. I am afraid of messing up the system here and I only want to add some freaking swap space to a db server...

Can anyone shed a light on this? Thanks in advance
 



Members online


Latest posts

Top