Disk fullness estimation?

  • OMV keeps a pretty nice track of disk utilization under Performance statistics, and i also assume that those data are pretty granular as well. Probably there should be way how to use that information to estimate how long will it take to fill up my storage so i can plan an expansion sufficiently in advance.. Can somebody point into the direction which tools to use for that?


    Unfortunately it seems that the folder /var/lib/openmediavault/rrd is just a bunch of png images and i cannot get any data out of those

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

  • Probably there should be way how to use that information to estimate how long will it take to fill up my storage so i can plan an expansion sufficiently in advance.

    How can anything predict your future data consumption rate?

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

  • that one is extremely simple actually, its just a (free capacity / average daily deltas) for a long enough period of time. the question is where do i get those daily deltas

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

  • that one is extremely simple actually, its just a (free capacity / average daily deltas) for a long enough period of time. the question is where do i get those daily deltas

    Nothing built into OMV for this use case that I am aware of.


    You might be able to extract that data from the RRD databases that the Diagnostics | Performance Statistics | Disk Usage is already collecting, but you would have to write that code yourself. Read up on RRDTool: https://oss.oetiker.ch/rrdtool/doc/rrdtool.en.html


    But this question comes up often enough that is being discussed on various fora. Here is one thread on the matter:


    Calculating Rate of Change on Disk Volumes - Nagios Support Forum

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

  • where is the RRD database located on OMV?

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

    • Neu
    • Offizieller Beitrag

    The easy way to see it is

    root@omvad3:~# df -h

    Filesystem Size Used Avail Use% Mounted on

    udev 1.9G 0 1.9G 0% /dev

    tmpfs 393M 2.6M 390M 1% /run

    /dev/vda1 12G 7.7G 3.5G 69% /

    . Looks a little nicer than that and shows more disks. You could probably write a script to do it daily and make you a graph.


    You could also install "librenms". It does give many nice graphs for whatever you setup in it. Should be able to run on OMV. Nagios and probably others can do that too.

  • thanks a lot, it was pretty easy. dumping the rrd file to an XML and finding the correct section in it it contains the human readable timestamp and the occupied space in bytes.


    apparently it looks like i have free capacity for 2 years and a few months.

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 32 GB ECC RAM, LSI 9211-8i HBA controller, 2x 8 TB, 1x 4 TB, 1x3TB, MergerFS+SnapRAID

    Powered by Proxmox VE

Jetzt mitmachen!

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