Answer the question
In order to leave comments, you need to log in
How to properly partition a disk?
I installed Ubuntu server 20.04 LTS on a server and did not immediately notice that I had incorrectly partitioned the disk. It so happened that the system itself believes that only part of the disk is available to it - 58 gigs out of 120.
What fdisk produces:
Disk /dev/sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: HFS128G32TNF-N3A
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: FE70A862-2FA6-4C7C-96BA-C2061D589695
Device Start End Sectors Size Type
/dev/sda1 2048 2203647 2201600 1.1G EFI System
/dev/sda2 2203648 5349375 3145728 1.5G Linux filesystem
/dev/sda3 5349376 250066943 244717568 116.7G Linux filesystem
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 58.35 GiB, 62646124544 bytes, 122355712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question