E297: Write error in swap file

简介:

当我使用vim编辑一个常用的配置文件的时候出现一个错误:


E297: Write error in swap file


然后上网查找原因,说是磁盘空间不足,于是我就查看一下机器磁盘空间使用情况:


sht-sgmhadoopdn-02:postgres:/usr/local/pgsql/data:>df -Th

Filesystem                                Type   Size  Used Avail Use% Mounted on

/dev/sda3                                 ext4    71G   68G   15M 100% /

tmpfs                                     tmpfs  2.9G  4.0K  2.9G   1% /dev/shm

/dev/sda1                                 ext4   248M   34M  202M  15% /boot


果然根目录'/'使用率100%,然后删除一些不用的软件包,再次编辑配置文件,没有报错。




本文转自 Darren_Chen 51CTO博客,原文链接:http://blog.51cto.com/darrenmemos/1976541,如需转载请自行联系原作者
相关文章
|
6天前
报错:cannot read poperties of undefined(reading ‘then‘)
报错:cannot read poperties of undefined(reading ‘then‘)
|
12月前
|
Oracle 前端开发 关系型数据库
log file sync 和 log file parallel write等待事件的区别和联系
log file parallel write 和log file sync这两个等待事件关系密切,很多人对这两个等待事件有一些误解,我们先来看看Oracle官方文档的解释:
|
开发工具 Android开发
unable to write jarlist cache file
unable to write jarlist cache file
77 0
【问题】Log writing failed, No space left on device @ io_write - /mnt/project/log/development.log
【问题】Log writing failed, No space left on device @ io_write - /mnt/project/log/development.log
143 0
【问题】Log writing failed, No space left on device @ io_write - /mnt/project/log/development.log
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
Can‘t read file : End of file found 文件:txn_current、current svn无法正常读取文件
E297: Write error in swap file
当我使用vim编辑一个常用的配置文件的时候出现一个错误: E297: Write error in swap file 然后上网查找原因,说是磁盘空间不足,于是我就查看一下机器磁盘空间使用情况: sht-sgmhadoopdn-02:postgres:/usr/loca...
2436 0
|
Linux
Linux 执行partprobe命令时遇到Unable to open /dev/sr0 read-write (Read-only file system)
在使用fdisk创建分区时,我们会使用partprobe命令可以使kernel重新读取分区信息,从而避免重启系统,但是有时候会遇到下面错误信息“Warning: Unable to open /dev/sr0 read-write (Read-only file system).
3205 0