[Note] Linux temporarily increases /tmp space

when installing the program,"No more space left on device" appears,Check with df -h,is /tmp full。

My /tmp dependent partition,is with / same magnetic region,and / there is room,So you can temporarily increase the space of /tmp by remounting the command。

df -h /tmp
#查詢 /tmp 佔用空間。

sudo mount -o remount,size=15G /tmp/
#將 /tmp 大小改成 15G。

df -h /tmp
#確認 /tmp 的佔用 % 是否改變。

 

To empty /tmp,The following commands can be executed:

sudo rm -r /tmp/*

 

【參考連結】

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.