Hilfe beim erweiteren storage space

iPanini

Active Member
Mar 30, 2019
36
0
26
64
Hallo liebe Leuten,

Ich furchte Ich verstehe nicht genügend :-(
Also:
- Mein pve maschine war original installiert mit nur eine Festplatte von 8 TB
- Ich weiß nicht mehr genau warum, aber offensichtlich war das system installiert auf nur irgendwann 100 GB
- Hab aber gedacht die 8 TB platte war schon voll
- Also zweite 8TB platte daneben gesetzt
- Dan gesucht wie LVM zu erweitern wie so:

root@pve:~# lvextend -l +100%FREE /dev/mapper/pve-root
Size of logical volume pve/root changed from 496.00 GiB (126976 extents) to 7.39 TiB (1936391 extents).
Logical volume pve/root successfully resized.
root@pve:~#

Zunächst sehen meine Platten wie 100% benutzt aus??
proxmox disks 100%.png

Aber immer zeigt mein /dev/mapper/pve-root 100% benutzt?
-------------------------------------------------------------------------
root@pve:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 50M 3.1G 2% /run
/dev/mapper/pve-root 94G 90G 0 100% /
tmpfs 16G 37M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 511M 304K 511M 1% /boot/efi
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 3.2G 0 3.2G 0% /run/user/0
root@pve:~#
--------------------------------------------------------------------------

Wie mach Ich das?
Vielen Dank im voraus für Ihre Hilfe und Tips!

Erwin
 
du hast zwar das volume vergrößert, aber nicht das filesystem

siehe : man resize2fs
 
dcsapak, danke!
Hab aber inzwischen mein GRUB loader kaput gemacht.
Habe gestern der leere Festplatte detachiert und leider durch ein Fehlhaftes fdisk command das system unbootable gemacht.

Habe schon ein separates neues post gemacht hierfür.
Boot mit ein ubuntu 18 usb stick gelingt, dan kan ich mit sudo vgscan und sudo vgchange -ay --activationmode partial mein PVE partitionen mounten.

Nur grub wieder installieren gelingt mir nicht momentan.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!