操作系统:Ubuntu 14.04,分区表:
Model: VMware Virtual disk (scsi) Disk /dev/sda: 37.6GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 200MB 199MB primary xfs boot 2 200MB 1201MB 1000MB primary linux-swap(v1) 3 1201MB 2201MB 1000MB primary xfs 4 2202MB 26.8GB 24.6GB extended 5 2202MB 8201MB 5999MB logical xfs 6 8202MB 26.8GB 18.6GB logical xfs
我试图在虚拟机上扩展一个分区(#6)。 该虚拟机位于一个ESXi,我提出了10GB的磁盘空间的当前磁盘。 parted认识到新的空间,但是当我尝试调整它给我的分区的大小:
(parted) resizepart 6 End? [26.8GB]? 37.6GB Error: Can't have overlapping partitions.
如果我试图删除并创build一个新的分区,我收到下面的消息,就好像它记住了以前的分区?
(parted) rm 6 (parted) mkpart Partition type? [logical]? File system type? [ext2]? xfs Start? 8202MB End? 37.6GB Warning: You requested a partition from 8202MB to 37.6GB. The closest location we can manage is 8202MB to 26.8GB. Is this still acceptable to you? Yes/No?
我不知道如何获得分配给我的分区6的新空间? 让我知道是否有任何细节是必要的。
您需要首先扩展扩展分区(4)。 那么你可以扩展/replace逻辑的。