检查一下:
root@dev:~# lsblk -f|grep sda
sda ext4 1.0 21ca0461-0e80-4468-b942-3735e9fd4945
root@dev:~# grep /db /etc/fstab
UUID=21ca0461-0e80-4468-b942-3735e9fd4945 /db ext4 errors=remount,ro 0 1
root@dev:~# mount /dev/sda /db
root@dev:~# ls /db
lost+found postgres-old postgresql
root@dev:~# umount /db
root@dev:~# mount -a
mount: /db: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
root@dev:~#
为什么mount -a
简单mount
却不出错?