📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs drain-file-system



Flushes dirty FUSE state while leaving the mount online. The command alias is ti fs drain.

Syntax

ti fs drain-file-system --mount-path <string> [--dry-run] [--help] [--timeout <duration>] [--version]

Options

  • --mount-path <string>: Local FUSE mount path. [required]
  • --dry-run: Validate the request without applying changes.
  • --help: Display help information.
  • --timeout <duration>: The time to wait for dirty handles and pending writes to drain. [default: 30s]
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • Drain pending writes:

    # Flush queued FUSE writes while leaving the Filesystem mounted. ti fs drain-file-system --mount-path /path/to/workspace --timeout 30s

Was this page helpful?