100% use on root partition ?

niuk

New Member
Feb 20, 2017
27
0
1
61
Is it normal to see 100% use on root partition ? I don't have issues , just wondering

root@pve:~# df -kh
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 3.2G 265M 2.9G 9% /run
/dev/dm-0 29G 29G 0 100% /
tmpfs 7.8G 37M 7.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda2 253M 292K 252M 1% /boot/efi
/dev/fuse 30M 16K 30M 1% /etc/pve
 
no, this is not normal and i guess you will run into problems sooner or later, so i would try and find what takes up the space
 
  • Like
Reactions: niuk
I do have VMs in there, where should I keep them ?
root@pve:~# ls /mnt/images/
102 103 104

root@pve:~# du -sh /mnt/images/
23G /mnt/images/

Also I have ISOs in /var/lib/vz/template/iso/
root@pve:~# du -sh /var/lib/vz/template/iso/
3.5G /var/lib/vz/template/iso/
root@pve:~# ls -l /var/lib/vz/template/iso/
total 3663508
-r-------- 1 root root 617754624 Mar 3 14:11 SW_CD_Windows_XP_Professional_32BIT_English_ISO_MLF_X15-05160.ISO
-rw-r--r-- 1 root root 700448768 Oct 12 15:40 ubuntu-16.10-server-amd64.iso
-r-------- 1 root root 2433216512 Mar 3 14:16 win7sp1_x86_pro.ISO



 
I do have VMs in there, where should I keep them ?
ok this explains it,

where you should store them depends entirely how you design your storage (e.g. where you have enough space)
 
  • Like
Reactions: niuk
You'd better remove something from "/" right now. It might be just 99.999% full, but once you reach 100%, system might crash badly...

And if you really have to use local storage, you'd better have at least separate partition (if not separate disk) for VMs to prevent "/" from filling up...
 
  • Like
Reactions: niuk
Yeah, but in fact I have more storage available, see fdisk below. Not sure where did it all go , how I can claim rest of the space?
root@pve:~# fdisk -l
....
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 528383 524288 256M EFI System
/dev/sda3 528384 250069646 249541263 119G Linux LVM

root@pve:~# df -kh
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 3.2G 305M 2.9G 10% /run
/dev/dm-0 29G 29G 0 100% /
tmpfs 7.8G 37M 7.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda2 253M 292K 252M 1% /boot/efi
/dev/fuse 30M 16K 30M 1% /etc/pve