# Radarr hardlinking and samba

**URL:** https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218
**Category:** Troubleshooting
**Created:** [12 December 2022 05:14 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218 "2022-12-12T05:14:02Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 05:14 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/1 "2022-12-12T05:14:02Z")

</div>

I have an NVIDA Shield running a plex server and it has transmission on it to handle torrents. I got dietpi running with Radarr (not a docker). I have one of the HDDs connected to the shield remotely mounted to the pi through samba

All in all things work. Radarr moves the torrent file to transmission BUT it copies it into the specified folder I set. No hardlinking. The user and group for the /mnt/path/ I setup is dietpi:dietpi.

When I tried to manually create my own hardlink in the mount it fails with permission denied. I’m assuming this is Radarr’s issue as well. So…is there a way to solve this?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 December 2022 09:44 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/2 "2022-12-12T09:44:52Z")

</div>

can you share some more details. What kind of link you create? Source? Target? File system permission of target folder?

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 11:03 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/3 "2022-12-12T11:03:56Z")

</div>

So the overall problem is Radarr cannot create a hardlink on the smb mounted drive that’s setup on the dietpi.

This means that Radarr is, gigabyte by gigabyte, copying data over to another folder. So I tried to see if I could create a hardlink on the mount as you can see here:

 ![Screenshot 2022-12-12 at 5.03.15 AM](https://dietpi.com/forum/uploads/default/original/2X/2/209f6bac04204fda611f57d2e2f67c8243da6925.png)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 December 2022 11:19 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/4 "2022-12-12T11:19:08Z")

</div>

`/mnt/movies` is a SAMBA share? Can you share following

```auto
 cat /etc/fstab

```

Basically SAMBA share is not that good solution, because SAMBA did not support Unix file system permissions at all.

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 11:42 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/5 "2022-12-12T11:42:43Z")

</div>

![Screenshot 2022-12-12 at 5.41.01 AM](https://dietpi.com/forum/uploads/default/original/2X/d/d80261184191f96f6e018e7c542a829c0cb69cb2.png)

my bad I had just assumed it’s samba because of the drive manager setup

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 December 2022 12:13 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/6 "2022-12-12T12:13:28Z")

</div>

Maybe you need to check on SAMBA server side if links are supported. Another option is to check mount options on client side. [linux - Clients can't create symlinks on Samba share - Super User](https://superuser.com/questions/1337257/clients-cant-create-symlinks-on-samba-share)

Anyway, if possible try to use NFS 😉

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 12:29 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/7 "2022-12-12T12:29:52Z")

</div>

Yeah I don’t think I can mess with anything on the Nvidia Shield related to making the drive accessible over the network so it can’t run a NFS server. And if by client side you mean the dietpi…the drive manager doesn’t have any mount options for networked drives.

So…I;m guessing what I want to do is impossible

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 22:15 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/8 "2022-12-12T22:15:40Z")

</div>

so what’s different between this thread: [Read/Write access denied with mounted drives?](https://dietpi.com/forum/t/read-write-access-denied-with-mounted-drives/2529)

and my thread? We’re both using networked shares?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 December 2022 22:19 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/9 "2022-12-12T22:19:20Z")

</div>

You already mount the SAMBA share using 777 permissions. Means, full access. Your issue is with creating links which might be a challenge on SAMBA

As stated on the link above, on client side try to manually adjust mount options inside `/etc/fstab`. Just need to keep in mind, drive manager will revert them next time you open drive manager again (unfortunately).

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 22:27 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/10 "2022-12-12T22:27:33Z")

</div>

CIFS and SAMBA are the same thing? If you mean changing the 0770 permissions in the fstab file to 0777 then I’ve already tried that 😢

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 December 2022 22:50 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/11 "2022-12-12T22:50:48Z")

</div>

yes CIFS and SAMBA are the same.

> [@whiskey](#):
>
> If you mean changing the 0770 permissions

No this is not what I mean. This has nothing to do with it. Your issue still, that you are trying to create links on SAMBA. Which is not working ootb. Therefore, I shared [linux - Clients can't create symlinks on Samba share - Super User](https://superuser.com/questions/1337257/clients-cant-create-symlinks-on-samba-share) There is an accepted answer describing a `soft` option, which can be set within client mount option. This might allow to create links. If not, you might need to search the web on how to create/use links on SAMBA.

---

<div class="post-metadata">

### Author: ![whiskey](https://dietpi.com/forum/user_avatar/dietpi.com/whiskey/32/3117_2.png) [@whiskey](https://dietpi.com/forum/u/whiskey)
#### Post date: [12 December 2022 23:21 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/12 "2022-12-12T23:21:30Z")

</div>

lol I think what you’re trying to tell me is to use the command line to mount and not the drive manager. I’m green, bro. Gotta spell shit out but yeah those are symlinks though. Radarr doesn’t do symlinks it tries to create hard links

Sounds like, though. Shit just ain’t gonna work. I guess the solution is ‘ain’t gonna work’

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [13 December 2022 10:47 UTC](https://dietpi.com/forum/t/radarr-hardlinking-and-samba/15218/13 "2022-12-13T10:47:57Z")

</div>

theoretically you could have Transmission running on DietPi + connect your HDD. This should at least work around the SAMBA issue. You could export directories using SAMBA or NFS and have mounted on the NVIDA Shield.

Basically the other way around compare to current config.
