Recently; I did my first steps concerning Ubuntu and Ubuntu Server. For other Problems, there were good ways of trobleshooting but in this case I found nothing.
I installed Ubuntu Server on an old PC with a 1TB HDD. Previously, there was MINT installed but during the installation I wanted to overwrite this. Now I just have a 200 GB Partition. When I search for the disk, it is displayed correctly
lsblk
shows following:
sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 930.5G 0 part └─ubuntu--vg-ubuntu--lv 253:0 0 200G 0 lvm /
When I tryfdisk -l
it shows following (I left outloop1-loop4):
Disk /dev/loop5: 32.28 MiB, 33841152 bytes, 66096 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: ST1000LM024 HN-M 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: 166EB4EB-E368-4D03-B844-654566C409B9
Device Start End Sectors Size Type /dev/sda1 2048 4095 2048 1M BIOS boot /dev/sda2 4096 2101247 2097152 1G Linux filesystem /dev/sda3 2101248 1953521663 1951420416 930.5G Linux filesystem
lsblk
and see if you have something likeubuntu--vg-ubuntu--lv
anywhere in the output) – easthighNerd May 11 '21 at 00:22fdisk -l
. – Stephen Boston May 11 '21 at 03:11vgextend
. Would you recommend that? And could you show methe right syntax for my case? – Kooni Wilke May 11 '21 at 09:54vgextend
is used to extend your volume group (VG) to additional physical volumes (e.g., sdb1, if you add a new drive). I think you are looking for something likelvextend
which resizes your logical volume (LV). – bfrguci May 19 '21 at 16:25