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

Discrepancy in disk usage

I’m running UTM on ESXi 5.5. When I installed it a couple of years ago I used the VMware specific image which is no longer available. Back then I provisioned a 30GB Thick Provisioned lazy Zeroed Virtual disk. I procrastinated and installed about 9 updates two weeks ago. Now the UTM is showing the log disk at 9.6 GB with 12% usage and the data disk at 7.3 GB with 85% usage.  Since then the data drive has been at 85%.

First off, where did the rest of the drive go? I’m not that great at linux and could only get the loginuser SSH account to work. Root access requires a public key or something.

Honestly, I would like to just stop the damn notification emails, but I could only find ways to clean up the log drive. Long term I would like to get the space back.



This thread was automatically locked due to age.
Parents
  • Direct root access via SSH does require configuring to allow that using an RSA key, but, after getting in as loginuser, you can "su -" to enter the root password and become root.  Once you're root, try du -shx /var/storage/* to see if maybe the cores or pgsql92 subdirectory is very large.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Direct root access via SSH does require configuring to allow that using an RSA key, but, after getting in as loginuser, you can "su -" to enter the root password and become root.  Once you're root, try du -shx /var/storage/* to see if maybe the cores or pgsql92 subdirectory is very large.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
  • Bob you are awesome!

    I still need your help, but I decided to do a complete reinstall. I had ESXi and the datastore which contained pFsense, Untangle, and Sophos all on an 80 GB slow drive. I reinstalled ESXi to an usb and bought a 120 GB SSD. I reinstalled Sophos with a 50GB thick provision lazy zeroed virtual disk. During the install was hoping I could set the partitions manually. This is what was set automatically on install.

    Filesystem     Size Used Avail Use% Mounted on

    /dev/sda6       5.2G 2.4G 2.6G 49% /

    udev           1.5G   72K 1.5G   1% /dev

    tmpfs           1.5G     0 1.5G   0% /dev/shm

    /dev/sda1       331M   15M 295M   5% /boot

    /dev/sda5       16G 830M   14G   6% /var/storage

    /dev/sda7       20G   84M   19G   1% /var/log

    /dev/sda8       1.2G 377M 769M 33% /tmp

    tmpfs           1.5G     0 1.5G   0% /var/sec/chroot-httpd/dev/shm

    tmpfs           1.5G     0 1.5G   0% /var/storage/chroot-reverseproxy/dev/shm

    tmpfs           1.5G   44K 1.5G   1% /var/storage/chroot-smtp/tmp/ram

     

    Before I reinstalled I only had a little over 1 GB of logs and the firewall had been up for about 3 years. Also I plan to try out iView which I believe off loads the logs anyways. I don’t think I need 20 GB of space for logs. Can this be changed? Lastly, I wish the resource usage on the dashboard had a third disk for the rest of this stuff, it obviously only shows sda5 and sda7. From the dashboard with a fresh install it looks like I’m already missing 15 GB.

    Thanks - Ryan