---
name: "xfs_rtcp"
section: "8"
platform: "linux"
package: "xfsprogs"
version: "7.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xfs_rtcp"
---

# xfs\_rtcp(8)

XFS realtime copy command

## NAME

xfs\_rtcp - XFS realtime copy command

## SYNOPSIS

**xfs\_rtcp** \[ **-e** *extsize* \] \[ **-p** \] *source* ... *target*\
 **xfs\_rtcp -V**

## DESCRIPTION

**xfs\_rtcp** copies a file to the realtime partition on an XFS filesystem. If there is more than one *source* and *target*, the final argument (the *target*) must be a directory which already exists.

## OPTIONS

- **-e** *extsize*

  Sets the extent size of the destination realtime file.

- **-p**

  Use if the size of the source file is not an even multiple of the block size of the destination filesystem. When **-p** is specified **xfs\_rtcp** will pad the destination file to a size which is an even multiple of the filesystem block size. This is necessary since the realtime file is created using direct I/O and the minimum I/O is the filesystem block size.

- **-V**

  Prints the version number and exits.

## SEE ALSO

[**xfs**(5)](/xfs/5.md), [**mkfs.xfs**(8)](/mkfs.xfs/8.md), [**mount**(8)](/mount/8.md).

## CAVEATS

Currently, realtime partitions are not supported under the Linux version of XFS, and use of a realtime partition **WILL CAUSE CORRUPTION** on the data partition. As such, this command is made available for curious **DEVELOPERS ONLY** at this point in time.
