Graph "Disk Usage" not working

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Graph "Disk Usage" not working

      Hi,

      I managed to to install Debian Wheezy on my Zyxel NSA310 and afterwards I put kralizec on top, as mentioned here in the forum.
      Seems to run fine, but one thing...

      The graph "Disk Usage" is empty.
      Alle other graphs work fine.

      Syslog tells me a lot of:

      Source Code

      1. Jun 20 09:31:02 nsa310 collectd[2435]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
      2. Jun 20 09:31:02 nsa310 collectd[2435]: rrdcached plugin: rrdc_update (/var/lib/rrdcached/db/localhost/df-root/df_complex-reserved.rrd, [1403249462:249999360.000000], 1) failed with status -1.
      3. Jun 20 09:31:02 nsa310 collectd[2435]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
      4. Jun 20 09:31:02 nsa310 collectd[2435]: rrdcached plugin: rrdc_update (/var/lib/rrdcached/db/localhost/df-root/df_complex-used.rrd, [1403249462:1292464128.000000], 1) failed with status -1.
      5. Jun 20 09:31:02 nsa310 collectd[2435]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status -1.
      6. Jun 20 09:31:12 nsa310 collectd[2435]: rrdcached plugin: rrdc_update (/var/lib/rrdcached/db/localhost/df-root/df_complex-free.rrd, [1403249472:3442483200.000000], 1) failed with status -1.

      Who can me help out of this?

      Thanks in advance

      Murphy
      --
      Get a Rose Tattoo...

      HP t5740 with Expansion and USB3, Inateck Case w/ 3TB WD-Green
      OMV 4.1.22-1 Arrakis i386|4.19.0-0.bpo.4-686-pae
    • Re: Graph "Disk Usage" not working

      I'm in a similar situation (but with sardaukar on wheezy), but only the CPU usage charts work, all others do not.
      If I press 'Refresh', I get this:

      Source Code

      1. Error #4000:
      2. exception 'OMVException' with message 'Failed to execute command 'omv-mkgraph 2>&1': ERROR: invalid rpn expression in: used1,free1,+' in /usr/share/openmediavault/engined/rpc/rrd.inc:65
      3. Stack trace:
      4. #0 [internal function]: OMVRpcServiceRrd->generate(NULL, Array)
      5. #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      6. #2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('generate', NULL, Array)
      7. #3 /usr/sbin/omv-engined(495): OMVRpc::exec('Rrd', 'generate', NULL, Array, 1)
      8. #4 {main}

      In syslog I get errors about 'illegal attempt to update using time xxxxxx when last update time is xxxxxx (minimum one second step)' - the times are identical.

      Anyway, I don't care much about the charts.
    • Re: Graph "Disk Usage" not working

      Do you have more than one drive in the system?
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Graph "Disk Usage" not working

      That is why the graph does not work. OMV doesn't show you a graph for the drive that the OS is installed on.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: Graph "Disk Usage" not working

      "ryecoaaron" wrote:

      That is why the graph does not work. OMV doesn't show you a graph for the drive that the OS is installed on.


      Hi

      Does it have to be a totally different drive, or would OpenMediaVault be mostly functional (i.e. be able to create shares, set up rsync jobs, etc) if I partitioned the disk and 'pointed' OMV to data on the second partition (I'm not bothered about disk graphs working)? Just for an experiment, I was thinking of installing Wheezy in a small partition on a RAID 1 ARM based Qnap (a TS-219P+), then using apt-get to install OMV (with the media and data being on another partition); does that sound plausible, or can anyone see any potential problems with that idea?

      Bri :)

      NB Ultimately, I plan to build what 'techtom' has described and thus I can arrange for a separate location for Devian/OMV, but it would be cool if it could also be made to work on the Qnap.

      The post was edited 1 time, last by Briain ().

    • Re: Graph "Disk Usage" not working

      It is functional this way. Just the Graph isn't working.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: Graph "Disk Usage" not working

      Hi David

      Thank you for confirming that! I tried it on a VM with a single 'drive' and that's how I discovered that nothing much could be done (couldn't select paths to shares or set up rsync jobs) so I was hoping the partitioning trick (on the Qnap) would get round that; again, thank you for confirming that it does (and I'll either post back about how it all goes, or post an advert for a bricked Qnap)! :lol:

      All the best
      Briain

      The post was edited 1 time, last by Briain ().

    • Re: Graph "Disk Usage" not working

      Using this method since Day 1 on my NAS too. But its easier for many users to split data and OS onto different hard disks in case of disk failure. ;) Thats why its not supported out of the Box.
      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: Graph "Disk Usage" not working

      You could try the solution given in the following post for fixing disk (and all other) performance graphs in OMV:

      No Graphs - OMV 2.x

      For those of you too lazy to click on the link, here is what you need to do from a terminal (logged in as root or prepend all commands by sudo):

      rm -r /var/lib/rrdcached/db/localhost
      rm /var/lib/rrdcached/journal/*
      service collectd restart
      service rrdcached restart

      Then wait at least 5 minutes after which your graphs will hopefully be working - it needs to regenerate some statistic files so your graphs will still not work for a few minutes following this fix.
    • Hello everybody
      I work on OVM 3.* 64Bit
      For a few weeks, after an update, all the graphics no longer work.
      I tried to stop/start the service, purge the data collection files.
      But I still do not have a chart.
      I tried to see in the logs where the problem could be, but I didn't find anything special.
      Would anyone have any leads to advise me?

      Thank you very much

      Add:
      I tried to launch the command line "/usr/sbin/omv-mkgraph" ==> always KO, no graph generated.

      The post was edited 2 times, last by M3rlin: Add informations ().

    • i did follow the instructions fromrobbiegregg-now i have 2 of them with graphs /thank you
      root@openmediavault:~# sudo sync; echo 3 > /proc/sys/vm/drop_caches (if you have high cache consuption /i know linux is diferrent from windows -not necesarry)
      root@openmediavault:~# sudo rm -r /var/lib/rrdcached/db/localhost
      root@openmediavault:~# sudo rm /var/lib/rrdcached/journal/*
      rm: cannot remove '/var/lib/rrdcached/journal/*': No such file or directory
      root@openmediavault:~# service collectd restart
      root@openmediavault:~# service rrdcached restart

      NOTE/if you had a hdd connected ,and removed ,then you will have a error like this in system logs ....
      mountpoint_srv_dev-disk-by-label-Maxtor1TB' status failed (1) -- /srv/dev-disk-by-label-Maxtor1TB is not a mountpoint
      so the graph will stop until you will remove the hdd from filesystem or put it back
      after that ,it will work again
      Images
      • 1.png

        29.31 kB, 559×656, viewed 38 times
      • 2.png

        29.65 kB, 522×655, viewed 33 times
      • 3.png

        28.67 kB, 531×659, viewed 37 times

      The post was edited 5 times, last by aurel f ().