在我的实验室环境中,我有一个 Ubuntu 服务器 12.04,我正在尝试为其添加空间。LVM 是在启动时设置的,在通过编辑磁盘向导添加 100GB 后,我无法将该空间添加到分区。我曾尝试使用 Part Magic,但它不允许扩大尺寸,即使我确实看到了增加的空间。
fdisk -l 给我;
Disk /dev/sda: 108.4 GB, 108447924224 bytes
255 heads, 63 sectors/track, 13184 cylinders, total 211812352 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
Disk identifier: 0x00097307
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 33552383 16525313 5 Extended
/dev/sda5 501760 33552383 16525312 …Run Code Online (Sandbox Code Playgroud)