在我的 CentOS 5 服务器上,fdisk -l
输出:
Disk /dev/xvda: 100.0 GB, 100000595968 bytes
255 heads, 63 sectors/track, 12157 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvda1 1 487 3911796 83 Linux
/dev/xvda2 488 731 1959930 82 Linux swap / Solaris
/dev/xvda3 732 12157 91779345 8e Linux LVM
Run Code Online (Sandbox Code Playgroud)
和df -h
输出:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 3.7G 1.4G 2.4G 37% /
/dev/mapper/vg00-usr 4.0G 4.0G 20K 100% …
Run Code Online (Sandbox Code Playgroud) centos ×1