【发布时间】:2016-05-21 03:45:49
【问题描述】:
看起来我的 Ubuntu 14.04 EC2 将 fs 设为只读。
cd /var/ (pressing tab for autocomplete)
无法为 here-document 创建临时文件:只读文件系统
但是我有足够的可用空间,内存也没有满:
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Wed Feb 3 14:40:58 UTC 2016
System load: 0.0 Processes: 126
Usage of /: 14.9% of 11.67GB Users logged in: 0
Memory usage: 19% IP address for eth0: 172.31.15.38
Swap usage: 0%
df -hi:
/dev/xvda1 768K 85K 684K 12% /
none 251K 2 251K 1% /sys/fs/cgroup
udev 249K 387 249K 1% /dev
tmpfs 251K 309 250K 1% /run
none 251K 1 251K 1% /run/lock
none 251K 1 251K 1% /run/shm
none 251K 2 251K 1% /run/user
免费:
total used free shared buffers cached
Mem: 2048484 1199420 849064 6248 180300 635596
-/+ buffers/cache: 383524 1664960
du -sch /tmp*
9.9M /tmp
9.9M total
这里有什么解决方案?如何在不丢失数据的情况下修复 fs?
我应该跑步吗:
mount -o remount,rw /
还是我应该重新启动?
提前致谢!
【问题讨论】:
-
我也遇到了同样的问题,你有解决办法吗?
-
您好,您解决了吗?
标签: amazon-ec2 filesystems ubuntu-14.04