Manual import with hard links?

I’ve had great success with Sonarr thus far. This is the first time I’ve had an issue like this.

After searching for and downloading a season through Sonarr, it isn’t importing automatically. In the queue, when I hover over each episode, it reads (show name redacted):

Show.Name.2016.S01E01.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 1 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E02.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 2 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E03.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 3 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E04.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 4 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E05.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 5 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E06.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 6 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E07.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 7 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name
Show.Name.2016.S01E08.1080p.BluRay.DTS.x264-VietHD.mkv
-Episode Number 8 was unexpected considering the Show.Name.2016.1080p.BluRay.DTS.x264-VietHD folder name

There is a manual import button and when I click it, it does automatically adjust the series, season, and episode for each file. My fear is that if I click “Import” it will either move the data (so I won’t be seeding anymore) or it will copy the data (duplicating disk space.)

Is there an option to hardlink the data? Aka the normal behavior of the app when things go correctly.

If you’re importing from a seeding torrent Sonarr will automatically copy/hardlink, if hardlinking is enabled in settings (and supported by your setup).

1 Like

You were right!

I hit manual import and set it to “copy.” Checking inum confirms that it did hard link the data, leaving the torrent intact.

Thanks for your help. I wonder if a tooltip would be helpful on manual imports to let people know to choose copy if they want hard links.

(“Show name” redacted from following commands)

Get the inum for a random episode currently hosted on Sonarr:
gtwy@rocinante:/storage/media/TV/The Show/Season 01$ ls -ilh *.mkv | grep S01E08 146145283 -rw-rw-r-- 2 tor tor 8.7G Mar 21 13:49 S01E08.Bluray-1080p.x264.DTS.The Call of the Wild.VietHD.mkv

Check to see if a file with the same inum exists in the torrent download folder:
gtwy@rocinante:/storage/media/Downloads/The.Show.2016.1080p.BluRay.DTS.x264-VietHD/$ find ./ -inum 146145283 ./The.Show.2016.S01E08.1080p.BluRay.DTS.x264-VietHD.mkv

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.