我有一个无头 CentOS 服务器,我想在其上创建一个新分区,这样我就有一个单独的引导和数据分区。我有一个现有的服务器,其设置是我想要实现的,并且运行 fdisk -l 如下所示:
Disk /dev/cciss/c0d0: 299.9 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 36468 292824787+ 8e Linux LVM
Disk /dev/cciss/c0d1: 899.8 GB, 899898718208 bytes
255 heads, 63 sectors/track, 109406 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 * 1 109406 878803663+ 83 Linux
这是我的服务器上的相同命令:
Disk /dev/cciss/c0d0: 587.1 GB, 587128266752 bytes
255 heads, 63 sectors/track, 71380 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 71380 573255427+ 8e Linux LVM
有人告诉我,由于 CentOS 上有额外的逻辑卷层,这并不像创建分区并为其设置挂载点那么简单。如何创建分区而不会对数据结构造成问题?