Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101184

Only use df plugin when reporting is stored on RAM disk and there are less than 100 datasets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.2-U5
    • Component/s: Middleware
    • Labels:
      None
    • Attempts to pass:
      1
    • Testing System:
      X10-HA
    • QA Status:
      Test Passes TrueNAS
    • Acceptance Criteria:
      Hide
      On FN with system dataset in RAMdisk, create 1000 datasets:

      for i in `seq 1 1000`; do midclt call pool.dataset.create '{"name": "tank/ds'$i'", "type": "FILESYSTEM"}'; done

      After that (and 10 more minutes) tmpfs mounted on /var/db/collectd/rrd should still have a lot of free space
      Show
      On FN with system dataset in RAMdisk, create 1000 datasets: for i in `seq 1 1000`; do midclt call pool.dataset.create '{"name": "tank/ds'$i'", "type": "FILESYSTEM"}'; done After that (and 10 more minutes) tmpfs mounted on /var/db/collectd/rrd should still have a lot of free space

      Description

      root@tn11a:/var/db/collectd/rrd # tail -f /var/log/messages
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/geom_stat/geom_latency-da32.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/geom_stat/geom_queue-da33.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank/df_complex-reserved.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank/df_complex-free.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank/df_complex-used.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank-perf/df_complex-free.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank-perf/df_complex-reserved.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/df-mnt-tank-perf/df_complex-used.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/zfs_arc/cache_ratio-arc.rrd) failed.
      Mar 21 13:38:26 tn11a collectd[66201]: rrdcached plugin: cu_rrd_create_file (/var/db/collectd/rrd/tn11a.lab.ixsystems.com/zfs_arc/cache_ratio-L2.rrd) failed.
      root@tn11a:/var/db/collectd/rrd # df -H .
      Filesystem    Size    Used   Avail Capacity  Mounted on
      tmpfs         1.1G    1.1G     41k   100%    /var/db/collectd/rrd

        Attachments

        1. du_output.txt
          457 kB
        2. ls_output.txt
          967 kB

          Container Issues

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    themylogin Vladimir Vinogradenko
                    Reporter:
                    caleb Caleb St. John
                    QE Engineer:
                    Ryan McKenzie
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    6 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Summary Panel