robinhood(1)
Okay bestie, you're reading robinhood(1) from the Robinhood 3.0 manual β the policy engine and statistics tool for large file systems. Buckle up, we're gonna make this make sense π β¨
πΈ NAME πΈ
robinhood β policy engine and statistics tool for large file systems. No cap, that's the whole vibe.
β¨ SYNOPSIS β¨
robinhood [options]
π ACTIONS π
-S,--scan[=dir]β Scan the filesystem namespace. Ifdiris specified, only scan the specified subdir. Targeted scan, slay.-r,--read-log[=mdt_idx]β Read events from MDT ChangeLog. Ifmdt_idxis specified, only read ChangeLogs for the given MDT. Else, start 1 changelog reader thread per MDT (with DNE). iykyk--run[=all]β Run all policies (based on triggers). main character energy--run=policy1(args),policy2(args)...β Run the given policies with the specified arguments. See "Policy run options" for details aboutargs.-C policy1,policy2...,--check-thresholds[=policy1,policy2...]β Only check trigger thresholds without applying policy actions. If no policy is specified (orall), check all triggers.
π POLICY RUN OPTIONS π
args is a comma-separated list of <param>=<value>.
e.g. --run=cleanup(target=user:foo,max-count=1000)
The following parameters are allowed:
target=tgtβ Targeted subset of entries for the policy run.
tgt can be one of:
all(all entries)user:usernamegroup:grpnamefile:pathclass:fileclassost:ost_idxpool:poolname
max-count=nbrβ Max number of actions to execute for a policy run.max-vol=sizeβ Max volume of entries impacted by a policy run.target-usage=pctβ Targeted filesystem or OST usage for a policy run, in percent.-t tgt,--target=tgtβ Specify the default target for policy runs (see target syntax above).--target-usage=pctβ Specifies the default disk usage (in pct) forall,ostorpooltargets.-I,--ignore-conditionsβ Apply policy to all entries in policy scope, without checking policy rule conditions.-F,--forceβ Force applying policies even if a full scan has never been done (partial DB contents).--no-limitβ Don't limit the maximum number/volume of policy actions per pass.--dry-runβ Only report policy actions that would be performed without really doing them. Note: Robinhood DB is impacted as if the reported actions were really done. so yes, bestie, the DB still gets touched π--force-allβ Force applying a policy to all eligible entries, without considering policy limits and rule conditions. This is equivalent to:--once --no-limit --ignore-conditions --force
π¦ SCANNING OPTIONS π¦
--no-gcβ Garbage collection of entries in DB is a long operation when terminating a scan. This skips this operation if you don't care about removed entries (or don't expect entries to be removed). This is also recommended for partial scanning (see-scan=diroption).
π OUTPUT OPTIONS π
--diff=attrsetβ When scanning or reading changelogs, display changes for the given set of attributes (to stdout).attrsetis a list of values in:path,posix,stripe,all,status,notimes,noatime.
β BEHAVIOR OPTIONS β
-O,--onceβ Perform only one pass of the specified action and exit.-d,--detachβ Daemonize the process (detach from parent process).--alter-dbβ Allow database schema modifications (backup your DB before using this).
β οΈ backup your DB before using --alter-db β this is not a drill, bestie.
π CONFIG FILE OPTIONS π
-f cfg_file,--config-file=cfg_fileβ Path to configuration file (or short name).-T output_file,--template[=output_file]β Write a configuration file template to the specified file.-D,--defaultsβ Display default configuration values.--test-syntaxβ Check configuration file and exit.
π₯ LOG OPTIONS π₯
-L logfile,--log-file=logfileβ Force the path to the log file (overrides configuration value). Special valuesstdoutandstderrcan be used.-l loglevel,--log-level=loglevelβ Force the log verbosity level (overrides configuration value). Allowed values:CRIT,MAJOR,EVENT,VERB,DEBUG,FULL.
π MISCELLANEOUS OPTIONS π
-h,--helpβ Display a short help about command line options.-V,--versionβ Display version info-p pidfile,--pid-file=pidfileβ Pid file (used for service management).
π SEE ALSO π
rbh-report(1), rbh-find(1), rbh-du(1), rbh-diff(1)
mwah π β that's the whole vibe check. This page is from Robinhood 3.0, dated 07 July 2016. Go be iconic with your large file system, bestie π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: robinhood 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood 3.1.7-bp160.1.12 Β· CECILL-C
- opensuse-leap 16.0: robinhood 3.1.7-bp160.1.12 Β· CECILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms