考虑以下场景...
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 252:0 0 200G 0 disk
vda1 252:1 0 512M 0 part /boot/efi
vda2 252:2 0 1K 0 part
vda5 252:5 0 49,5G 0 part /
Disk /dev/vda: 200 GiB, 214748364800 bytes, 419430400 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
Disklabel type: dos
Disk identifier: 0x0c0f76c8
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 1050623 1048576 512M b W95 FAT32
/dev/vda2 1052670 104855551 103802882 49,5G 5 Extended
/dev/vda5 1052672 104855551 103802880 49,5G 83 Linux
如何调整 /dev/vda5 的大小以扩展到 /dev/vda 的全部 200GB 空间?对于 /dev/sda2 持有扩展分区(其中是逻辑分区 vda5)应该怎么做?
提前致谢....