$ dmesg | grep nvme
[ 1.017031] nvme0n1: p1 p2 p3 p4
[ 7.487584] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 7.624166] EXT4-fs (nvme0n1p1): re-mounted. Opts: errors=remount-ro
[ 8.472627] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 8.475500] EXT4-fs (nvme0n1p3): mounted filesystem with ordered data mode. Opts: (null)
- 这是什么
re-mounted. Opts: errors=remount-ro
意思? - 需要采取什么样的纠正措施来解决这个错误?
注意:nvme0n1p1 是托管 / 的逻辑分区。
/etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p1 during installation
UUID=xxx / ext4 errors=remount-ro 0 1
# /home was on /dev/nvme0n1p3 during installation
UUID=yyy /home ext4 defaults 0 2
# /usr/local was on /dev/nvme0n1p2 during installation
UUID=zzz /usr/local ext4 defaults 0 2
# swap was on /dev/nvme0n1p4 during installation
#UUID=rrrr none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
答案1
通常可以在 mount(8) 手册页中找到挂载选项的文档,请尝试“man mount”或以下 URL: http://manpages.ubuntu.com/manpages/xenial/man8/mount.8.html
错误={继续|重新安装-ro|恐慌}定义遇到错误时的行为。(忽略错误并将文件系统标记为错误并继续,或者以只读方式重新挂载文件系统,或者崩溃并停止系统。)默认值在文件系统超级块中设置,可以使用 tune2fs(8) 进行更改。