我想在 CentOS 7 机器(在 VirtualBox 中运行)中添加交换分区。但是,当我尝试添加它时,出现此错误:
partx -a /dev/sdd1
partx: /dev/sdd: error adding partition 1
以下是输出fdisk /dev/sdd
Command (m for help): p
Disk /dev/sdd: 8589 MB, 8589934592 bytes, 16777216 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 label type: dos
Disk identifier: 0x1b359154
Device Boot Start End Blocks Id System
/dev/sdd1 2048 4196351 2097152 83 Linux
有什么建议么?