• root@root:~# fdisk -l
  • - Disk /dev/sda: 32.2 GB, 32212254720 bytes
  • 255 heads, 63 sectors/track, 3916 cylinders, total 62914560 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 identifier: 0x0009256d
  • - Device Boot Start End Blocks Id System
  • /dev/sda1 * 2048 62707327 31352640 83 Linux
  • /dev/sda2 62707328 62912127 102400 82 Linux swap / Solaris复制代码
  • root@root:~# cat /etc/fstab
  • # /etc/fstab: static file system information.
  • #
  • # Use 'blkid' to print the universally unique identifier for a
  • # device; this may be used with UUID= as a more robust way to name devices
  • # that works even if disks are added and removed. See fstab(5).
  • #
  • #
  • # / was on /dev/vda1 during installation
  • /dev/vda1 / ext4 errors=remount-ro 0 1
  • # swap was on /dev/vda2 during installation
  • /dev/vda2 none swap sw 0 0
  • root@root:~# 复制代码