Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

How did I end up with this partition table? Extending a partition VM

$
0
0
I just inherited this server (Ubuntu 18.04 LTS) and am confused as to how this happened and how to fix it. The server is in a VM using VMWare and the space was recently added 50GB. I thought it would be simpe enough to use parted to extend the partition but when printing the table this is what I see:

Code:

:~$ sudo parted /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 53.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size    Type      File system    Flags
 1      1049kB  12.9GB  12.9GB  primary  ext4            boot
 2      12.9GB  17.2GB  4314MB  extended
 5      12.9GB  17.2GB  4293MB  logical  linux-swap(v1)

How could partition 2 and 5 have the same start and end? And how would I go about expanding the partition 1 to the extent?

Regards.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>