100% use on root partition ?

Discussion in 'Proxmox VE: Installation and configuration' started by niuk, Mar 17, 2017.

  1. niuk

    niuk New Member

    Joined:
    Feb 20, 2017
    Messages:
    27
    Likes Received:
    0
    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
     
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,515
    Likes Received:
    318
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    niuk likes this.
  3. hec

    hec Member

    Joined:
    Jan 8, 2009
    Messages:
    205
    Likes Received:
    7
    I would check /var/logs

    Btw where are you storing the vms and iso and so on?
     
  4. niuk

    niuk New Member

    Joined:
    Feb 20, 2017
    Messages:
    27
    Likes Received:
    0
    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



     
  5. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,515
    Likes Received:
    318
    ok this explains it,

    where you should store them depends entirely how you design your storage (e.g. where you have enough space)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    niuk likes this.
  6. Rhinox

    Rhinox Active Member

    Joined:
    Sep 28, 2016
    Messages:
    272
    Likes Received:
    35
    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...
     
    niuk likes this.
  7. niuk

    niuk New Member

    Joined:
    Feb 20, 2017
    Messages:
    27
    Likes Received:
    0
    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

     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice