Import Fails Due To Free Space for Hardlink #7116

Open
opened 2026-02-19 23:09:30 -05:00 by deekerman · 6 comments
Owner

Originally created by @CarlitoGil on GitHub (Jan 31, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

Using Hardlink instead of Copy the import fails due to "not enough free space" on the same volume.

Expected Behavior

In situations where a hardlink would be used, lack of free space should not fail the import.

Steps To Reproduce

No response

Environment

- OS: Windows 10 x64
- Radarr: 4.4.0.6882
- Database: Sqlite 3.36.0

What branch are you running?

Develop

Trace Logs?

2023-01-30 16:39:17.8|Warn|FreeSpaceSpecification|Not enough free space (6415007744) to import: D:\Downloads\Torrents\.GRABBED\Movies\Placido.1961.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-Vim.mkv (18053353049)

AB#4823

Originally created by @CarlitoGil on GitHub (Jan 31, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior Using `Hardlink instead of Copy` the import fails due to "not enough free space" on the same volume. ### Expected Behavior In situations where a hardlink would be used, lack of free space should not fail the import. ### Steps To Reproduce _No response_ ### Environment ```markdown - OS: Windows 10 x64 - Radarr: 4.4.0.6882 - Database: Sqlite 3.36.0 ``` ### What branch are you running? Develop ### Trace Logs? `2023-01-30 16:39:17.8|Warn|FreeSpaceSpecification|Not enough free space (6415007744) to import: D:\Downloads\Torrents\.GRABBED\Movies\Placido.1961.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-Vim.mkv (18053353049)` [AB#4823](https://dev.azure.com/Servarr/7ab38f4e-5a57-4d70-84f4-94dd9bc5d6df/_workitems/edit/4823)
Author
Owner

@Qstick commented on GitHub (Feb 5, 2023):

image

Use this to workaround that

@Qstick commented on GitHub (Feb 5, 2023): ![image](https://user-images.githubusercontent.com/376117/216852908-41db7865-c12e-4029-82a0-9fb2021f1206.png) Use this to workaround that
Author
Owner

@CarlitoGil commented on GitHub (Feb 5, 2023):

That's supposed to be under Settings>Media Management>Importing?

image

@CarlitoGil commented on GitHub (Feb 5, 2023): That's supposed to be under `Settings>Media Management>Importing`? ![image](https://user-images.githubusercontent.com/5706999/216853481-e37eef66-3f5d-4494-9273-966177dc3ebb.png)
Author
Owner

@Qstick commented on GitHub (May 7, 2023):

Yes, however it may be OS dependent now that I think about it.

@Qstick commented on GitHub (May 7, 2023): Yes, however it may be OS dependent now that I think about it.
Author
Owner

@bakerboy448 commented on GitHub (May 9, 2023):

Correct - that skip is not an option on windows for some reason

github.com/Radarr/Radarr@a1e622a363/frontend/src/Settings/MediaManagement/MediaManagement.js (L132-L148)

Equivalent workaround may be to 0 out the free space remaining?

@bakerboy448 commented on GitHub (May 9, 2023): Correct - that skip is not an option on windows for some reason https://github.com/Radarr/Radarr/blob/a1e622a3630c477f58aa2b775d189b32766594dc/frontend/src/Settings/MediaManagement/MediaManagement.js#L132-L148 Equivalent workaround may be to 0 out the free space remaining?
Author
Owner

@freyca commented on GitHub (Dec 20, 2024):

Same on linux.
I've tested it out and although hardlink option is enabled (and working) it fails to import.

App should not check for free space if hardlink option is enabled and source and destination partition is the same

@freyca commented on GitHub (Dec 20, 2024): Same on linux. I've tested it out and although hardlink option is enabled (and working) it fails to import. App should not check for free space if hardlink option is enabled and source and destination partition is the same
Author
Owner

@bakerboy448 commented on GitHub (Dec 20, 2024):

Related upstream - https://github.com/Sonarr/Sonarr/issues/6260

@bakerboy448 commented on GitHub (Dec 20, 2024): Related upstream - https://github.com/Sonarr/Sonarr/issues/6260
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Radarr#7116
No description provided.