Skip to main content

Заметки

Страница заметок [temp]                                                                                                                                         

Расширение Диска ВМ, после добавления на Гипервизоре

sudo dnf install cloud-utils
sudo parted /dev/sda resizepart 4 100%

Warning: Not all of the space available to /dev/sda appears to be used,
you can fix the GPT to use all of the space (an extra 125829120 blocks) or
continue with the current setting?
Fix/Ignore?
Fix/Ignore? Fix
Partition number? 4
Warning: Partition /dev/sda4 is being used. Are you sure you want to continue?
Yes/No? Yes
End?  [32.2GB]?
Information: You may need to update /etc/fstab.

sudo growpart /dev/sda 4
sudo resize2fs /dev/sda4
sudo df -h