/tmp does not have enough disk space解决

简介: 最近装一个linux应用遇到空间不够,遇到以下提示: /tmp does not have enough disk space!   我是用虚拟机的,所以给虚拟机增加一个新的disk,这里我是virtual box的vdi文件。

最近装一个linux应用遇到空间不够,遇到以下提示:

/tmp does not have enough disk space!

 

我是用虚拟机的,所以给虚拟机增加一个新的disk,这里我是virtual box的vdi文件。虚拟机加好后进入linux:

fdisk -l 查一下硬盘信息,看看新加的硬盘在哪。

 

新加的磁盘名字是/dev/sdb.然后进行磁盘分区:

fdisk /dev/sdb 

输入n 新建分区 -> p 主分区 ->w 写分区表。

 

然后格式化: mkfs.ext3 /dev/sdb1

最后挂载新的分区到/tmp:

mount /dev/sdb1 /tmp

 

然后应用就可以安装了。

目录
相关文章
|
9月前
|
Ubuntu
Ubuntu 1604报错cannot create temp file for here-document: No space left on device,拓展sda容量解决之
Ubuntu 1604报错cannot create temp file for here-document: No space left on device,拓展sda容量解决之
160 0
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
599 0
|
应用服务中间件 nginx
no space left on device磁盘空间不足
no space left on device磁盘空间不足
268 0
|
jenkins 持续交付 Docker
Jenkins - Free Swap Space 0
Jenkins - Free Swap Space 0
447 0
|
SQL 关系型数据库
ORA-1652: unable to extend temp segment by 128 in tablespace xxx Troubleshootin
当收到告警信息ORA-01652: unable to extend temp segment by 128 in tablespace xxxx 时,如何Troubleshooting ORA-1652这样的问题呢? 当然一般xxx是临时表空间,也有可能是用户表空间。
2045 0