Benutzer-Werkzeuge

Webseiten-Werkzeuge


proxmox:vm:increase_lvm_1part

Vergrößern eines VLMs und einer Partition auf einer HDD

# modify partition size of sdX
fdisk /dev/sdX
 
Press:
d -> Delete current Partitiontable
n -> Generate new Partitiontable (Set maximum Size if wanted)
w -> Write to partitiontable
 
sudo partprobe
sudo pvresize /dev/sdXn
 
 
# resine partition size of current modified xdX
resize2fs /dev/sdX1 # For ext4 Filesystem
xfs_growfs /dev/sdX1 # For ifs Filesystem
 
 
 
 
# increase PV size
pvresize /dev/sdb1
 
# Get the name of the lv and vg for the next command
# Look for LV Name = lv, VG Name = vg
lvdisplay
 
# increase LV size
lvresize -l +100%FREE VG-Name/LV-Name
proxmox/vm/increase_lvm_1part.txt · Zuletzt geändert: 2025/10/07 23:33 von max

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki