1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| $ touch a.txt touch: cannot touch 'a.txt': Read-only file system
$ cat /etc/fstab /dev/mapper/lumi1--vg-root / ext4 errors=remount-ro 0 1
boot ext2 defaults 0 2 /dev/mapper/lumi1--vg-swap_1 none swap sw 0 0
$ sudo su [sudo] password for lumi:
mount: cannot remount /dev/mapper/lumi1--vg-root read-write, is write-protected
fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) /dev/mapper/lumi1--vg-root: recovering journal
mount: cannot remount /dev/mapper/lumi1--vg-root read-write, is write-protected
|
重启服务器
恢复正常
参考文档:
http://blog.c1gstudio.com/archives/1526