system disk full

  • Hi,
    I just notice that my system disk is full (I could not login to web interface) !
    I use OMV on 4GB CF-card.


    10 biggest folder are ("folders" - sorry, I am comming from Atari ST platform :P):


    975620 /
    454380 /usr
    327616 /var
    230596 /usr/share
    183468 /var/cache
    176784 /var/cache/apt
    144568 /lib
    133828 /var/cache/apt/archives
    119452 /usr/lib
    111352 /var/lib


    and one more thing: I recently set up rsync cron job but, as far as I can see, everything work fine - there was no unmounted disk that potentially could lead to rsync copy data to system drive.


    What I can delete from system disk to free up space?
    I already try "Clear local upload package repository" from "omv-firstaid" but I still have 0 space left on system drive.

  • Well, your list adds up to only about 2.8GB, so there must be more elsewhere, probably some process ran away and filled up the disk.


    From a shell run df -h and post the results, also see what's in /tmp


    Have you rebooted recently?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I rebooted few time, I always have 0 free bytes.

    Code
    Filesystem                                              Size  Used Avail Use% Mounted on
    rootfs                                                  3.5G  3.5G     0 100% /
    udev                                                     10M     0   10M   0% /dev
    tmpfs                                                   763M  452K  763M   1% /run
    /dev/disk/by-uuid/3096826b-8a03-4ac7-915d-b95a1ffa7bc5  3.5G  3.5G     0 100% /
    tmpfs                                                   5.0M     0  5.0M   0% /run/lock
    tmpfs                                                   1.6G     0  1.6G   0% /run/shm
    tmpfs                                                   3.8G     0  3.8G   0% /tmp


    more in list (20 items):

  • About all I can suggest now is to obtain the size of every folder in the root, like you did in your first post.


    Don't bother with /proc /media, and /dev.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • you can run apt-get clean and apt-get autoremove to get at least a few MBs back. Then have a look, which folder in "/" is very big with

    Code
    cd /
    du -h -d 2 | sort -n -r | head -n 20
  • Good point. I'd then suggest to disconnect all drives mounted on /media. That way there can be no accidental deletion of files on the physical drives.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!