No space left on device ...

Discussion in 'Proxmox Mail Gateway (Deutsch)' started by Dieter Rigbi, May 16, 2019.

  1. Dieter Rigbi

    Dieter Rigbi New Member
    Proxmox Subscriber

    Joined:
    May 16, 2019
    Messages:
    4
    Likes Received:
    0
    Hallo,
    derzeit gehen bei uns keine Mails duch.
    Ich denke es hängt mit dieser Meldung zusammen:
    "No space left on device at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1578."
    Was kann man da machen?
    Mail Gateway 5.2-2, VM auf Vmware, 8 GB Festplatte
     
  2. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,269
    Likes Received:
    117
    klingt danach als wäre die Festplatte voll
    was ist denn das output von:
    * `df -h`
    * `du -xsmc /`
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Dieter Rigbi

    Dieter Rigbi New Member
    Proxmox Subscriber

    Joined:
    May 16, 2019
    Messages:
    4
    Likes Received:
    0
    root@proxmox5:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 977M 0 977M 0% /dev
    tmpfs 200M 21M 179M 11% /run
    /dev/mapper/pmg-root 5.9G 5.6G 0 100% /
    tmpfs 997M 0 997M 0% /dev/shm
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 997M 0 997M 0% /sys/fs/cgroup
    tmpfs 200M 0 200M 0% /run/user/0
    root@proxmox5:~# du -xsmc /
    5688 /
    5688 total
    root@proxmox5:~#
     
  4. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,269
    Likes Received:
    117
    sorry das haette:
    `du -xsmc /*`
    lauten sollen (das zeigt an in welchen Verzeichnissen der diskspace verbraucht wird)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Dieter Rigbi

    Dieter Rigbi New Member
    Proxmox Subscriber

    Joined:
    May 16, 2019
    Messages:
    4
    Likes Received:
    0
    Okay, dann schaut das so aus:
    root@proxmox5:~# du -xsmc /*
    12 /bin
    381 /boot
    0 /dev
    5 /etc
    1 /home
    2137 /lib
    1 /lib64
    1 /lost+found
    1 /media
    1 /mnt
    1 /opt
    du: cannot access '/proc/646/task/646/fd/4': No such file or directory
    du: cannot access '/proc/646/task/646/fdinfo/4': No such file or directory
    du: cannot access '/proc/646/fd/3': No such file or directory
    du: cannot access '/proc/646/fdinfo/3': No such file or directory
    0 /proc
    32 /root
    21 /run
    10 /sbin
    1 /srv
    0 /sys
    1 /tmp
    664 /usr
    2452 /var
    5710 total
    root@proxmox5:~#
     
  6. Stoiko Ivanov

    Stoiko Ivanov Proxmox Staff Member
    Staff Member

    Joined:
    May 2, 2018
    Messages:
    1,269
    Likes Received:
    117
    hmm - naja 2 Sachen fallen auf:
    * /lib und /boot sind relativ gross - das liegt wahrscheinlich an vielen alten installierten kernel-versionen
    (`pmgversion -v` sollte diese anzeigen - alle außer dem derzeit laufenden können gelöscht werden).
    * /var ist relativ voll - da einfach rekursiv weiterschauen (mit du - bzw. ist das schon recht oft erklärt (z.b. [0,1]))
    * dort drinnen sind normalerweise logs potentiell löschbar.

    Ansonsten sind 8 G etwas eng bemessen - vl. auch einfach die disk etwas vergrößern.

    hoffe das hilft mal!

    [0] https://unix.stackexchange.com/questions/125429/tracking-down-where-disk-space-has-gone-on-linux
    [1] https://www.techrepublic.com/article/how-to-free-disk-space-on-linux-systems/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Dieter Rigbi

    Dieter Rigbi New Member
    Proxmox Subscriber

    Joined:
    May 16, 2019
    Messages:
    4
    Likes Received:
    0
  8. oguz

    oguz Proxmox Staff Member
    Staff Member

    Joined:
    Nov 19, 2018
    Messages:
    603
    Likes Received:
    63
    Hi!

    Beim Hypervisor (VMWare in dem Fall? Wieso nicht Proxmox VE? ;) ) die Festplatte vergrößern und dann innerhalb der VM wieder partitionieren (`cfdisk` o.ä. Partitionierungstools), natürlich zuerst ein Backup machen :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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