1. 添加磁盘,查看磁盘状况 [root@db1 /]# fdisk -l Disk /dev/sda: bytes heads, sectors/track, cylinders Units = cylinders of * = bytes Device Boot Start End Blocks Id System /dev/sda1 * + Linux /dev/sda2 + linux swap Partition table entries are not in disk order…