You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@ubuntu:~#parted /dev/sda
GNU Parted 3.4
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) resizepart 3 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 419430400 blocks) or
continue with the current setting?
Fix/Ignore? fix
Partition number? 3
End? [215GB]?
(parted)
(parted) resizepart 3 100%
(parted) quit
Information: You may need to update /etc/fstab.
在proxmox扩容磁盘后,需要在虚拟机中进行一些操作才能扩容
1、运行
fdisk -l
2、运行
parted /dev/sda
进行扩容分区3、再看一下
fdisk -l
4、运行
pvresize /dev/sda3
5、运行
lvresize --extents +100%FREE --resizefs /dev/mapper/ubuntu--vg-ubuntu--lv
扩张逻辑大小6、再次查看,成功
The text was updated successfully, but these errors were encountered: