When Radarr or Sonarr takes a finished download into your library, the torrent client usually still seeds the file in the download folder. A copy would take up the space of the file twice. A hardlink does not: the file in your library and the file in the download folder are the same data on the disk, with two names. This page shows how to check that your apps use hardlinks. The steps were tested with Radarr 7.0.3 on our demo service, with a public domain film of 396 MB.
1. Hardlinks Are On by Default
In Radarr, open Settings → Media Management and click Show Advanced at the top. Under Importing, Use Hardlinks instead of Copy (1) is ticked. Normally it already is, in Radarr and in Sonarr. If it is not, tick it and click Save Changes.
A hardlink works only within one disk. On App Hosting, your whole home folder is on one disk, so it works when the download folder of your torrent client and the folders of your library are both in your home folder, for example downloads and media/movies.
2. What a Hardlink Looks Like
To see one, import a film from the download folder with Radarr by hand. Open Wanted → Missing and click Manual Import. Enter the folder of the download (1) and click Interactive Import (2).
Radarr lists the file and the film it belongs to (1). The import mode at the bottom left (2) is Hardlink/Copy Files: Radarr makes a hardlink where it can and a copy where it cannot. Move Files would move the file away from the download folder, so the torrent client could no longer seed it. Click Import (3).
Radarr and Sonarr use the same setting when they import finished downloads from your torrent client by themselves.
3. Check It Over SSH
Connect over SSH (SSH how to get connected) and look at the file in your library, with your own folder and file name:
stat -c "%h links, inode %i: %n" ~/media/movies/*/*.mp4
A hardlinked file has 2 links, and its copy in the download folder shows the same inode number. For example:
2 links, inode 123802768: /homeX/username/downloads/Night.of.the.Living.Dead.1968.480p/Night.of.the.Living.Dead.1968.480p.mp4 2 links, inode 123802768: /homeX/username/media/movies/Night of the Living Dead (1968)/Night.of.the.Living.Dead.1968.480p.mp4
The disk usage of both folders together counts the file only once:
du -sch ~/downloads/Night.of.the.Living.Dead.1968.480p "$HOME/media/movies/Night of the Living Dead (1968)"
The total is 396M, the size of the film, not twice as much. 1 links means that the file exists only once, for example because it was copied or because the other copy has been deleted.
4. Deleting One of the Two
Deleting a hardlinked file in one folder does not touch the other. After you delete the file in the download folder, the film is still in the library and in Radarr, now with 1 links. So you can remove a finished torrent together with its files without losing the film in your library; the space is freed when both names are gone. To stop torrents seeding automatically, see Stop Seeding Automatically.
Good to Know
- A hardlink is not a backup: both names point to the same data. If the file is damaged or edited, both are.
- The disk usage of your plan, as
quotashows it, counts a hardlinked file once. - Tools that add up folder sizes one by one count a hardlinked file in each folder, so they may show more than you really use.
duwith several folders at once, as above, counts it once.


