fsck
Performs file system consistency check and repairs file system errors. Only a superuser may run fsck. Run fsck after running umount, or if you encounter file write errors (for example, timeouts).
Synopsis
fsck [-p, --parallelism <num_files>]
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
<`Italics>` |
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
Definition
The short form and long form parameters are comma-separated.
Command arguments
- -p, --parallelism num_files
-
Use throttling to minimize the performance impact of running
fsck
on clusters. Specify the number of files to repair at one time.
Examples
Check file system and repair errors
dsefs dsefs://127.0.0.1:5598/ > fsck
Use throttling to limit the number of files being repaired at the same time to 8.
dse fs fsck -p 8