No space on root
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: No space on root
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
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
Re: No space on root
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]#
[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]#
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: No space on root
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?
I don't know if is possible to move files easy.
Otherwise have you possibility add more disk space to you server?
Re: No space on root
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?
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: No space on root
I don't know, i never used qemu or kvm, i only use vmware products sorry
I don't know if disk are thick or thin and if is thin how work the space reclamation on qemu
Re: No space on root
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?
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: No space on root
Hmm i don't know i'm new on this forum.... I think Trevor (the moderator) can help you, but i don't know
Re: No space on root
Thank you anyway for your help!
Re: No space on root
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/
See https://www.thegeekdiary.com/how-to-cha ... yum-cache/
Re: No space on root
Now I am thinking of moving the virtual guest to another partition. My libvirt is 45Gb. I don't know how...