太空之外,太空之外,太空之外,太空之外,

太空之外,太空之外,太空之外,太空之外,

有人能简明扼要地告诉我如何防止这个非常恼人的问题再次发生吗?根据某人给另一位发帖人的建议(可能是来自这里),我运行了这个命令:

sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n

并收到以下消息:

sort: write failed: /tmp/sort7tteF8: No space left on device

文件系统大小已使用可用使用率%安装于
udev 3.9G 0 3.9G 0%/dev
tmpfs 800M 1.9M 798M 1% /运行
/dev/sdb5 17G 16G 16M 100% /
tmpfs 4.0G 61M 3.9G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /运行/锁定
tmpfs 4.0G 0 4.0G 0%/sys/fs/cgroup
/dev/loop1 4.2M 4.2M 0 100% /snap/gnome-calculator/352
/dev/loop3 141M 141M 0 100% /snap/gnome-3-26-1604/82
/dev/loop2 15M 15M 0 100% /snap/gnome-characters/206
/dev/loop4 35M 35M 0 100% /snap/gtk-common-themes/1122
/dev/loop7 152M 152M 0 100% /snap/gnome-3-28-1804/31
/dev/loop10 141M 141M 0 100% /snap/gnome-3-26-1604/78
/dev/loop13 91M 91M 0 100% /snap/core/6405
/dev/loop16 3.8M 3.8M 0 100% /snap/gnome-system-monitor/57
/dev/loop11 7.5M 7.5M 0 100% /snap/canonical-livepatch/69
/dev/loop15 1.0M 1.0M 0 100% /snap/gnome-logs/57
/dev/loop18 203M 203M 0 100% /snap/vlc/770
/dev/loop12 15M 15M 0 100% /snap/gnome-logs/45
/dev/loop5 36M 36M 0 100% /snap/gtk-common-themes/1198
/dev/loop0 15M 15M 0 100% /snap/gnome-characters/254
/dev/loop17 3.8M 3.8M 0 100% /snap/gnome-system-monitor/77
/dev/loop14 1.0M 1.0M 0 100% /snap/gnome-logs/61
/dev/loop8 54M 54M 0 100% /snap/core18/941
/dev/loop6 4.2M 4.2M 0 100% /snap/gnome-calculator/406
/dev/loop19 2.3M 2.3M 0 100% /snap/gnome-calculator/260
/dev/loop20 203M 203M 0 100% /snap/vlc/768
/dev/loop24 144M 144M 0 100% /snap/gnome-3-28-1804/23
/dev/loop23 90M 90M 0 100% /snap/core/6673
/dev/loop30 54M 54M 0 100% /snap/core18/782
/dev/loop21 7.5M 7.5M 0 100% /snap/canonical-livepatch/58
/dev/loop27 196M 196M 0 100% /snap/vlc/555
/dev/loop26 13M 13M 0 100% /snap/gnome-characters/139
/dev/loop22 3.8M 3.8M 0 100% /snap/gnome-system-monitor/70
/dev/loop29 141M 141M 0 100% /snap/gnome-3-26-1604/74
/dev/loop28 92M 92M 0 100% /snap/core/6531
/dev/loop25 35M 35M 0 100% /snap/gtk-common-themes/818
/dev/sda1 188M 5.8M 182M 4% /boot/efi
tmpfs 800M 52K 800M 1% /运行/用户/1000
/dev/sda4 699G 28G 671G 4% /media/joe/存储
/dev/sdb1 915G 829G 87G 91% /媒体/joe/C040B0ED40B0EB74
/dev/loop31 7.5M 7.5M 0 100% /snap/canonical-livepatch/74
/dev/loop32 152M 152M 0 100% /snap/gnome-3-28-1804/36

已存档和活动日志在文件系统中占用 800.3M。

答案1

腾出一些空间(sudo)apt-get autoclean并用(须藤)journalctl--vacuum-files = 2(sudo)journalctl--vacuum大小=64M. 在日志中运行带有和不带有 sudo 的两个版本,以对 root 和用户进行限制。

答案2

我犯了一个错误,试图将我的硬盘分区为双启动系统。我将尝试通过重新安装 Ubuntu 来彻底解决这个问题单次启动系统。

相关内容