E297: Write error in swap file

简介: 当我使用vim编辑一个常用的配置文件的时候出现一个错误:E297: Write error in swap file然后上网查找原因,说是磁盘空间不足,于是我就查看一下机器磁盘空间使用情况:sht-sgmhadoopdn-02:postgres:/usr/loca...

当我使用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%,然后删除一些不用的软件包,再次编辑配置文件,没有报错。


目录
相关文章
|
12月前
iSCSI Login negotiation failed. lost page write due to I/O error on 盘变成read only
iscsi mount的盘的突然变成read only,在系统日志messages中有下面的记录
148 0
|
开发工具 Android开发
unable to write jarlist cache file
unable to write jarlist cache file
76 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
142 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无法正常读取文件
|
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).
3199 0
|
关系型数据库 开发工具