---
name: "swift-object-relinker"
section: "1"
platform: "linux"
package: "swift-object"
version: "2.35.1-0+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/swift-object-relinker"
---

# swift-object-relinker(1)

relink and cleanup objects to increase partition power

## NAME

**swift-object-relinker** - relink and cleanup objects to increase partition power

## SYNOPSIS

**swift-object-relinker** \[*options*\] \<*command*\>

## DESCRIPTION

The relinker prepares an object server's filesystem for a partition power change by crawling the filesystem and linking existing objects to future partition directories.

More information can be found at **https://docs.openstack.org/swift/latest/ring\_partpower.html**

## COMMANDS

- **relink**

  Relink files for partition power increase.

- **cleanup**

  Remove hard links in the old locations.

## OPTIONS

- **-h**, **--help**

  Show this help message and exit

- **--swift-dir** *SWIFT\_DIR*

  Path to swift directory

- **--devices** *DEVICES*

  Path to swift device directory

- **--skip-mount-check**

  Don't test if disk is mounted

- **--logfile** *LOGFILE*

  Set log file name

- **--debug**

  Enable debug mode

## DOCUMENTATION

More in depth documentation in regards to **swift-object-relinker** and also about OpenStack Swift as a whole can be found at **http://docs.openstack.org/developer/swift/index.html** and **http://docs.openstack.org**
