记一次vmware15的ubuntu18.04desktop版启动异常Stopped User Manager for UID 121;Started Session c** of user gdm.

记一次ubuntu18.04desktop版启动异常

环境为VMware15,ubuntu18.04
前一天向虚拟机中传入了大量文件,解压时导致存储空间不足,后来没有处理直接关机了,第二天开机时卡在了开机界面,如下:
记一次vmware15的ubuntu18.04desktop版启动异常Stopped User Manager for UID 121;Started Session c** of user gdm._第1张图片
直接切换到tty2、tty3是可以的,不过非常的卡,难以完成正常登录,最后使用win10端的ssh工具远程登录,使用df命令查看剩余存储空间

admin@ubuntu:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1966548        0   1966548   0% /dev
tmpfs             400228     1800    398428   1% /run
/dev/sda1       30830500 30830500   	  0 100% /
tmpfs            2001136        0   2001136   0% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs            2001136        0   2001136   0% /sys/fs/cgroup
/dev/loop1         35456    35456         0 100% /snap/gtk-common-themes/818
/dev/loop0          3840     3840         0 100% /snap/gnome-system-monitor/57
/dev/loop2          4352     4352         0 100% /snap/gnome-calculator/544
/dev/loop3          3840     3840         0 100% /snap/gnome-system-monitor/127
/dev/loop4         56064    56064         0 100% /snap/core18/1668
/dev/loop5         14976    14976         0 100% /snap/gnome-logs/45
/dev/loop6         46080    46080         0 100% /snap/gtk-common-themes/1440
/dev/loop7          1024     1024         0 100% /snap/gnome-logs/81
/dev/loop8         13312    13312         0 100% /snap/gnome-characters/139
/dev/loop9        144128   144128         0 100% /snap/gnome-3-26-1604/74
/dev/loop11        15104    15104         0 100% /snap/gnome-characters/399
/dev/loop10       144128   144128         0 100% /snap/gnome-3-26-1604/98
/dev/loop12       164096   164096         0 100% /snap/gnome-3-28-1804/116
/dev/loop13        93568    93568         0 100% /snap/core/8592
/dev/loop14         2304     2304         0 100% /snap/gnome-calculator/260
/dev/loop15        91264    91264         0 100% /snap/core/8268
tmpfs             400224       32    400192   1% /run/user/1000

发现主分区/dev/sda1占用100%,至此找到问题原因。
清理存储空间,并重启ubuntu,恢复正常。

你可能感兴趣的:(Linux翻车现场)