Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
根分区快满了,我该怎么办,怎么瘦身啊
Experiences and Insight
1241
views ·
10
replies ·
To
floor
Go
skycancer
deepin
2017-08-10 10:41
Author
电脑有一块120G的固态硬盘和2T的机械硬盘,将固态硬盘用来安装系统,机械硬盘作为了/home区,慢慢用着安装软件之后,根分区目前只有10G了,该怎么瘦身,或者说该怎么删除一些没用的文件?
Reply
Like 0
Favorite
View the author
All Replies
bobo
deepin
2017-08-10 11:33
#1
查看下
/var/log/
Copy the Code
。是否有特别大的log存在。有的话,百度下是干啥的,然后删了。
Reply
Like 0
View the author
jingle
deepin
2017-08-10 16:31
#2
根分区太小了吧
Reply
Like 0
View the author
路由器(router)
deepin
2017-08-10 16:45
#3
我安装的时候都是整块硬盘给根分区
Reply
Like 0
View the author
dreco
deepin
2017-08-10 17:08
#4
清理一下apt cache?
Reply
Like 0
View the author
wangyingtao
deepin
2017-08-10 17:12
#5
找下有没有大文件,没用的都删除掉
/var/cache/apt/archives 目录下的deb包删掉
Reply
Like 0
View the author
h3l
deepin
2017-08-10 18:38
#6
检查下根分区下面那个目录占用的空间最大,准备一个空的分区或磁盘,将这个目录数据复制到新的分区或磁盘,再挂载到根目录就可以啦。
可以参考这个地址,有详细的操作方法。
http://blog.csdn.net/kwansampson/article/details/49706341
也可以使用lvm等手段。如果你不是服务器,上面那种方法简单有效哦,呵呵。
Reply
Like 0
View the author
billy123456
deepin
2017-08-10 18:38
#7
sudo apt clean
sudo apt autoremove
df -h
我划根分区一般都只划16G
Reply
Like 0
View the author
134******40
deepin
2017-08-10 19:05
#8
120G都是根分区吗?如果这样,就要怀疑是不是哪个软件产生特别多的日志了。先看看/var的大小。如果超过4G,那就基本有处于失控状态了。
先看看/var/log文件夹大小,这个目录下的东西,基本上都可以删除。其中jounal是systemd搜集的的系统日志,一般是大头。
Reply
Like 0
View the author
s***1@gmail.com
deepin
2017-08-11 00:57
#9
我笔记本32G固态硬盘就是给根目录,最少的时候也能剩个10几个G,没那么夸张吧
Reply
Like 0
View the author
159******10
deepin
2017-08-11 01:24
#10
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
执行这3个命令后会省出一部分空间
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More