Hallo Zusammen,
ich beschäftige mich nun seit ein paar Tagen mit Linux (Ubuntu-Server) und möchte mir einen kleinen Zabbix-Server aufsetzen. Aktuell bin ich bei dem Problem, mein /dev/mapper/ubuntu--vg-ubuntu--lv zu vergrößern. Die "physische" Platte habe ich schon erweitert (VirtualBox-CLI).
Hier mein System / Platten / Partitionen:
Filesystem Size Used Avail Use% Mounted on udev 924M 0 924M 0% /dev tmpfs 194M 932K 193M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 14G 4.6G 8.2G 36% / tmpfs 968M 0 968M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 968M 0 968M 0% /sys/fs/cgroup /dev/loop0 56M 56M 0 100% /snap/core18/2128 /dev/loop1 62M 62M 0 100% /snap/core20/1328 /dev/loop3 71M 71M 0 100% /snap/lxd/21029 /dev/loop4 44M 44M 0 100% /snap/snapd/14978 /dev/loop2 56M 56M 0 100% /snap/core18/2284 /dev/sda2 976M 108M 801M 12% /boot /dev/loop5 68M 68M 0 100% /snap/lxd/21835 tmpfs 194M 0 194M 0% /run/user/1000
GPT PMBR size mismatch (30719999 != 71679999) will be corrected by write. The backup GPT table is not on the end of the device. This problem will be corrected by write. Disk /dev/sda: 34.18 GiB, 36700160000 bytes, 71680000 sectors Disk model: VBOX 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: gpt Disk identifier: A2050008-5D89-4003-B87E-005C490F2008 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 30717951 28616704 13.7G Linux filesystem Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 13.66 GiB, 14650703872 bytes, 28614656 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
Die Platte selbst hat 35GB und /dev/mapper/ubuntu--vg-ubuntu--lv 13,7GB. Ich habe schon das Netz durchforstet, auch bin ich auf diesen Thread gestoßen: https://forum.ubuntuusers.de/topic/partition-nur-4gb-bei-106gb/
Die entsprechenden Commands sind entsprechend durchgelaufen, ohne Fehler - aber /dev/mapper/ubuntu--vg-ubuntu--lv will sich einfach nicht den gesamten Platz nehmen.
Verwendete Commands:
pvresize /dev/sda3 ( lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv ) lvextend --resizefs -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
Natürlich bin ich auch hierhin gefolgt: https://wiki.ubuntuusers.de/Logical_Volume_Manager/#Logical-Volumes-vergroessern
Beim Ausführen von allen drei Befehlen bzw. dann explizit: lvextend --resizefs -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv erhalte ich:
Size of logical volume ubuntu-vg/ubuntu-lv unchanged from 13.64 GiB (3493 extents). Logical volume ubuntu-vg/ubuntu-lv successfully resized. resize2fs 1.45.5 (07-Jan-2020) The filesystem is already 3576832 (4k) blocks long. Nothing to do!
Ich weiß leider nicht, was ich übersehen / falsch gemacht habe und hoffe ihr könnt mir helfen. Danke im Voraus!