No space on root

General support questions
mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: No space on root

Post by mashiro2004 » 2019/01/08 21:50:17

41 gb on lib --> have you mysql?
3.7gb of cache --> have youn lanched yum clean all

Lanch du -ch --max-depth=1 on the two folders and also on the subfolders

Kova78
Posts: 14
Joined: 2019/01/08 20:50:56

Re: No space on root

Post by Kova78 » 2019/01/08 21:57:19

No i don't have msql. I only run virtual machine on this server for windows 7.

[root@Centos7MainServer var]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: adobe-linux-x86_64 base epel
: extras nux-dextop updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@Centos7MainServer var]# cd lib
[root@Centos7MainServer lib]# du -ch --max-depth=1
44M ./yum
183M ./rpm
0 ./games
0 ./misc
0 ./rpm-state
80K ./alternatives
0 ./net-snmp
0 ./color
0 ./initramfs
72K ./systemd
0 ./machines
0 ./dbus
0 ./polkit-1
656K ./PackageKit
12K ./AccountsService
4.8M ./samba
8.0K ./unbound
0 ./tpm
0 ./iscsi
8.0K ./authconfig
0 ./dnsmasq
12K ./colord
0 ./bluetooth
68K ./upower
0 ./udisks2
0 ./geoclue
0 ./rpcbind
0 ./chrony
0 ./hyperv
16K ./alsa
0 ./os-prober
0 ./gssproxy
0 ./selinux
36K ./setroubleshoot
0 ./stateless
0 ./dhclient
48K ./NetworkManager
4.0K ./plymouth
0 ./lldpad
20K ./nfs
40G ./libvirt
4.0K ./rsyslog
0 ./pulse
4.0K ./xkb
244K ./gdm
0 ./fprint
5.7M ./mlocate
4.0K ./postfix
0 ./ebtables
8.0K ./transmission
4.0K ./logrotate
0 ./virtuoso
4.0K ./flatpak
0 ./tuned
16K ./lockdown
41G .
41G total
[root@Centos7MainServer lib]#

After cleaning cache:

[root@Centos7MainServer lib]# cd ..
[root@Centos7MainServer var]# cd cache/
[root@Centos7MainServer cache]# du -ch --max-depth=1
84K ./ldconfig
516K ./fontconfig
112K ./PackageKit
2.4G ./abrt-di
0 ./realmd
8.0K ./libvirt
0 ./gdm
108K ./ibus
2.9M ./man
8.0K ./cups
12K ./yum
2.4G .
2.4G total
[root@Centos7MainServer cache]#

mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: No space on root

Post by mashiro2004 » 2019/01/08 22:07:48

The folder libvirt is too big. I don't use kvm or qemu, but i read that is the folder containing vm storage.
I don't know if is possible to move files easy.
Otherwise have you possibility add more disk space to you server?

Kova78
Posts: 14
Joined: 2019/01/08 20:50:56

Re: No space on root

Post by Kova78 » 2019/01/08 22:11:43

Actually this is a laptop I cannot add disk. Do I understand correctly that my windows7 guest has too big storage? Do you think I should start deleting files from the windows7 guest? Would that help?

mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: No space on root

Post by mashiro2004 » 2019/01/08 22:17:39

Kova78 wrote:
2019/01/08 22:11:43
Actually this is a laptop I cannot add disk. Do I understand correctly that my windows7 guest has too big storage? Do you think I should start deleting files from the windows7 guest? Would that help?
I don't know, i never used qemu or kvm, i only use vmware products sorry :oops: :oops:
I don't know if disk are thick or thin and if is thin how work the space reclamation on qemu :oops: :oops:

Kova78
Posts: 14
Joined: 2019/01/08 20:50:56

Re: No space on root

Post by Kova78 » 2019/01/08 22:20:46

Hm.. ok at least I know now that the root cause is that virtual machine. I hope that someone who has experience with qemu or kvm can help... can you direct me to anyone?

mashiro2004
Posts: 68
Joined: 2018/12/08 21:46:22
Location: Italy

Re: No space on root

Post by mashiro2004 » 2019/01/08 22:24:14

Hmm i don't know i'm new on this forum.... I think Trevor (the moderator) can help you, but i don't know

Kova78
Posts: 14
Joined: 2019/01/08 20:50:56

Re: No space on root

Post by Kova78 » 2019/01/08 22:29:09

Thank you anyway for your help! :-)

tonybKDE
Posts: 16
Joined: 2018/12/06 01:52:48

Re: No space on root

Post by tonybKDE » 2019/01/09 01:13:49

You mentioned that cleaning the YUM cache isn't helping, but did you try telling YUM to put its cache somewhere else, where there's more room?

See https://www.thegeekdiary.com/how-to-cha ... yum-cache/

Kova78
Posts: 14
Joined: 2019/01/08 20:50:56

Re: No space on root

Post by Kova78 » 2019/01/09 06:17:40

Now I am thinking of moving the virtual guest to another partition. My libvirt is 45Gb. I don't know how...

Post Reply