I'm no sysadmin and would appreciate help with the following.
I'm using a VPS and have recently added additional disk space.
Initially the partitions were as follows
Code:
umber Start End Size Type File system Flags
1 1049kB 60.0GB 60.0GB primary ext4 boot
5 60.0GB 70.0GB 9999MB logical linux-swap(v1)
6 70.0GB 859GB 789GB logical ext4
This now looks like this
Code:
Disk /dev/sda: 1.56 TiB, 1717986918400 bytes, 3355443200 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0ae7b40d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 117186559 117184512 55.9G 83 Linux
/dev/sda2 117188606 1677719551 1560530946 744.1G 5 Extended
/dev/sda5 117188608 136718335 19529728 9.3G 82 Linux swap / Solaris
/dev/sda6 136720384 1677719551 1540999168 734.8G 83 Linux
I'm not sure why the additional space ended up on /dev/sda2 and not after /dev/sda6
My question is how I can use the additional space using the command line (no GUI)