This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Root partition is full, cannot update

I'm right back in the same mess I had a few years ago.  I rebuilt my UTM server, and now we are back at 100% disk full again.

This was my previous thread: https://community.sophos.com/utm-firewall/f/general-discussion/111308/root-partition-90-full

/var/up2date/sys is empty.

We have another SWAP file just like last time.  It is date is from 2019 and it's 3.2 G.

I have deleted all the log files I could, and ran /etc/init.d/postgresql92 rebuild

No change.  The disk is almost empty (1%) but UTM show 93% full and I cannot apply any updates.

Again, my up2date folders are empty.

firewall:/ # df -h
Filesystem                        Size  Used Avail Use% Mounted on
/dev/sda6                         5.2G  4.6G  377M  93% /
udev                              3.9G   80K  3.9G   1% /dev
tmpfs                             3.9G   68K  3.9G   1% /dev/shm
/dev/sda1                         331M   16M  295M   5% /boot
/dev/sda5                         363G  4.4G  339G   2% /var/storage
/dev/sda7                         475G  1.6G  448G   1% /var/log
/dev/sda8                          19G  148M   18G   1% /tmp
/dev                              3.9G   80K  3.9G   1% /var/storage/chroot-clientlessvpn/dev
tmpfs                             3.9G     0  3.9G   0% /var/sec/chroot-httpd/dev/shm
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-openvpn/dev
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-ppp/dev
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-pppoe/dev
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-pptp/dev
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-pptpc/dev
/dev                              3.9G   80K  3.9G   1% /var/sec/chroot-restd/dev
tmpfs                             3.9G     0  3.9G   0% /var/storage/chroot-reverseproxy/dev/shm
/var/storage                      363G  4.4G  339G   2% /var/sec/chroot-snmp/var/storage
/var/log                          475G  1.6G  448G   1% /var/sec/chroot-snmp/var/log
/var/storage/chroot-smtp/spool    363G  4.4G  339G   2% /var/sec/chroot-httpd/var/spx/spool
/var/storage/chroot-smtp/spx      363G  4.4G  339G   2% /var/sec/chroot-httpd/var/spx/public/images/spx
tmpfs                             3.9G  100K  3.9G   1% /var/storage/chroot-smtp/tmp/ram
tmpfs                             3.9G  103M  3.8G   3% /var/storage/chroot-http/tmp
/var/sec/chroot-afc/var/run/navl  5.2G  4.6G  377M  93% /var/storage/chroot-http/var/run/navl
firewall:/ #



This thread was automatically locked due to age.
Parents Reply
  • Update:  I managed to find a gig of data I could delete, and I am now able to complete the update.

    However, this 5 Gig swap partition appears to me to be a chronic problem that continues to come back and bite people.

    Thanks for your help and I would like to keep investigating this to come up with a permanent solution.

Children
  • How big is your hard drive?  It looks like it's too small and should be replaced.

    Not sure why you created a large swapfile.  You can get it down to 2GB (or 1 - don't remember) with

    cc set settings extra_swap 1

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I did not create the swapfile, Sophos did.  Also, my drive is 300 gigs and is less than 1% full.

    All the space is used up in a tiny 5 gig partition that the sophos installer created.  That's where the problem is.

    I will investigate the cc command you mentioned, thanks.

    P.S. this same problem has occurred on other UTM builds I set up.

  • Maybe the HDD you used has been partitioned before?

    Mit freundlichem Gruß, best regards from Germany,

    Philipp Rusch

    New Vision GmbH, Germany
    Sophos Silver-Partner

    If a post solves your question please use the 'Verify Answer' button.

  • I remember now the last time you had this problem.  I don't think the swapfile size is related to the problem.

    Did you also try the following?

    ll /var/storage/cores/*

    Too many core dumps may be causing the problem in the root partition.  Any luck with that?

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA