Root disk full. External drive mounting to internal /srv

  • I noticed I could no longer log into the webUI. After doing some digging I see that the root disk is full. I have docker installed on other drives and all data is on those same drives. My External drive whic is used as a rsnapshot backup is /srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14. I noticed after running


    Code
    du -shx --exclude=proc /* /.*


    /srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14 is taking up 39gb on the root disk.. which obv it shouldn't be. The odd thing is OMV webui shows that disk has 9+TB used. Im seeing this a ton in syslog


    Code
    Aug  8 12:44:42 openmediavault monit[6199]: 'rootfs' space usage 99.1% matches resource limit [space usage > 85.0%]
    Aug  8 12:44:42 openmediavault monit[6199]: Lookup for '/srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14'       filesystem failed  -- not found in /proc/self/mounts
    Aug  8 12:44:42 openmediavault monit[6199]: Filesystem '/srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' not mounted
    Aug  8 12:44:42 openmediavault monit[6199]: 'filesystem_srv_dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' unable to    read filesystem '/srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' state
    Aug  8 12:44:42 openmediavault monit[6199]: 'filesystem_srv_dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' trying to restart
    Aug  8 12:44:42 openmediavault monit[6199]: 'mountpoint_srv_dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' status failed (1) -- /srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14 is not a mountpoint
    Aug  8 12:44:42 openmediavault monit[6199]: 'mountpoint_srv_dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14' status failed (1) -- /srv/dev-disk-by-uuid-cfdd809e-503d-4ae8-9e16-881ed242af14 is not a mountpoint.


    The external drive is mounted and referenced so im not sure how to remove the mount internally, see what that 39gb mount point is and make sure going forward it mount to the external drive and not internal. Hope this makes sense


    Output of lsblk -f seems fine to me


  • If a drive doesn't get mounted, or it becomes unmounted and then some process writes to the mountpoint, the data is stored on the rootfs within the mountpoint directory, not on the drive that is no longer mounted to that directory. This is one of the shortcomings of using external USB 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.

  • Hey thanks for the reply! Is there anyway access or remove the data on the rootfs? When I navigate to that directory it shows it as being on my external and not the rootfs so im not sure how to get it off /


    Side note. After rebooting the server srv shows nothing but disk is still full.

    But

    Code
    root@openmediavault:/srv# df -h /dev/sdg1
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sdg1        82G   81G  717M 100% /
  • Hey thanks for the reply! Is there anyway access or remove the data on the rootfs? When I navigate to that directory it shows it as being on my external and not the rootfs so im not sure how to get it off.

    You have to unmount the external drive. Once that is done the contents of the directory in /srv will be visible.

    --
    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.

  • faptaincrunch

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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