df 查看磁盘分区使用状况 用法:df [选项]... [文件]... Show information about the file system on which each FILE resides, or all file systems by default. 必选参数对长短选项同时适用. -a, --all include pseudo, duplicate, inaccessible file systems -B, --block-size=SIZE s…
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…