我厌倦了从这里增加交换区域 一直说设备上没有剩余空间。然后我使用 gparted 到 swapon 并获得了以前的交换。
我不想调整 swap 的大小,只需修复错误并释放 root 即可。在我尝试更改交换的大小之前,它被使用了 35%。
现在根已满。和选项卡完成给出了以下错误。
bash: cannot create temp file for here-document: No space left on device
-bash: cannot create temp file for here-document: No space left on device
Run Code Online (Sandbox Code Playgroud)
解决办法是什么?
df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 2.1M 6.3G 1% /run
/dev/sda1 55G 55G 0 100% /
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock …Run Code Online (Sandbox Code Playgroud)