Can I remove :0-slave.log file to get more disk space ?

General support questions
Post Reply
rangsiman
Posts: 5
Joined: 2017/05/08 03:51:46

Can I remove :0-slave.log file to get more disk space ?

Post by rangsiman » 2017/07/01 09:08:17

Hi folk,

My CentOS 6.9 machine is running out of disk space in which having no enough space to update new package. Then I found that the size of :0-slave.log file in /var/log/gdm/ is very huge which consumes the most of space in / partition. I would like to ask that is it possible to delete this kind of file to get more space ? Would removing this file disturb OS process ?

Thanks a lot in advance for any helps.
Rangsiman

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       138G  131G     0 100% /
tmpfs           8.4G   91k  8.4G   1% /dev/shm
/dev/sda2        35G  4.4G   29G  14% /home
/dev/sda5       286G   15G  257G   6% /scratch
4.0K :0-greeter.log
4.0K :0-greeter.log.1
4.0K :0-greeter.log.2
4.0K :0-greeter.log.3
0 :0-greeter.log.4
20K :0.log
40K :0.log.1
40K :0.log.2
60K :0.log.3
40K :0.log.4
113G :0-slave.log
4.0K :0-slave.log.1
4.0K :0-slave.log.2
0 :0-slave.log.3
0 :0-slave.log.4
36K :1.log
4.0K :1-slave.log
113G total

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can I remove :0-slave.log file to get more disk space ?

Post by TrevorH » 2017/07/01 09:41:36

That's not a log file I've ever seen before. You might want to sample some of the contents of it before you delete it so that you get an idea of what might be wrong so you can fix the underlying problem too. It should be fine to remove but if some process has that file open for write and is still running then the space occupied will not be released until the process is reloaded/restarted.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply