caosdb.utils.checkFileSystemConsistency module

requests the server to execute checkFileSystemConsistency job.

exception caosdb.utils.checkFileSystemConsistency.CLIError(msg)

Bases: Exception

Generic exception to raise and log different fatal errors.

caosdb.utils.checkFileSystemConsistency.main(argv=None)

Command line options.

caosdb.utils.checkFileSystemConsistency.runCheck(timeout, location)

Request the caosdb server to check the file system for consistency.

location == None means that the whole file system is being checked. Otherwise only a the directory tree under location is being checked.