Reference
crab repack
Repack remote xorbs for optimal layout.
Synopsis
crab repack [OPTIONS]Description
crab repack reorganizes xorbs in the remote store for better access patterns.
Over time, as files are added and deleted, the xorb layout can become
fragmented. Repacking consolidates related chunks and removes dead space.
For conceptual background, see Repacking Objects.
Options
| Option | Default | Description |
|---|---|---|
--dry-run | false | Show repack plan without executing |
--target-size | 64MB | Target xorb size after repacking |
--json | false | Emit structured JSON output |
Examples
crab repack --dry-run
crab repackRelated Commands
crab gc— remove unreachable objects first.crab compact— compact metadata layers.