Hello,

I'm trying to define some file classes but they aren't populating when I
run rbh-report --class-info.
Using config file '/etc/robinhood.d/scratch.conf'.
                     fileclass,      count,     volume,   spc_used,
 min_size,   max_size,   avg_size
                        [none],    5879001,  481.92 TB,  481.61 TB,
  3,    1.64 TB,   85.95 MB
                    empty_file,    1509117,          0,          0,
  0,          0,          0
                    small_file,   31316133,   23.53 TB,   23.60 TB,
  1,   32.00 MB,  806.68 KB
              tmp_scratch-dirs,        462,   12.86 MB,   13.24 MB,    4.00
KB,  436.00 KB,   28.51 KB

Total: 38704713 entries, volume: 555744326051562 bytes (505.45 TB), space
used: 555483867571712 bytes (505.21 TB)




This is what I'm getting, and the following is my conf. Please assist:
General {
    fs_path = "/scratch";
    # filesystem type, as displayed by 'mount' (e.g. ext4, xfs, lustre, ...)
    fs_type = lustre;
}

Log {
    # Log verbosity level
    # Possible values are: CRIT, MAJOR, EVENT, VERB, DEBUG, FULL
    debug_level = EVENT;

    # Log file
    log_file = "/var/log/robinhood.log";

    # File for reporting purge events
    report_file = "/var/log/robinhood_actions.log";

    # set alert_file, alert_mail or both depending on the alert method you
wish
    alert_file = "/var/log/robinhood_alerts.log";
    alert_show_attrs = yes;
}


ListManager {
    MySQL {
        server = localhost;
        db = scratch;
        password_file = /etc/robinhood.d/.dbpassword;
    }
}

# Lustre 2.x only
ChangeLog {
    MDT {
        mdt_name = "MDT0000";
        reader_id = "cl2";
    }
}

# Scan Settings
FS_Scan {
    # threads for scans
    nb_threads_scan = 8;
    }

# File classes
Filesets {
    FileClass empty_file {
        definition { type == file and size == 0 }
    }

    FileClass small_file {
        definition {
          type == file
          and size > 0
          and size <= 32MB }
     }

    FileClass rst_file {
        definition { name == “*.rst”  }
    }

    FileClass tmp_scratch-dirs {
        definition { type == directory and
        name == "Scr*"
        }
    }
}
# -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; -*-
# vim:expandtab:shiftwidth=4:tabstop=4:


Thanks,

Chris
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to