FreeMan Posted September 7, 2020 Share Posted September 7, 2020 (edited) I can create a symlink to a file, but when I attempt to create a hard link, I get `Function not implemented`. What do I need to install to be able to create a hard link? root@NAS:/mnt/user/Data/linktest# ls -la total 0 drwxrwxrwx 1 root root 0 Sep 7 11:00 ./ drwxrwxrwx 1 nobody users 32 Sep 7 11:00 ../ root@NAS:/mnt/user/Data/linktest# touch ActuaFile.txt root@NAS:/mnt/user/Data/linktest# ls -la total 0 drwxrwxrwx 1 root root 26 Sep 7 11:00 ./ drwxrwxrwx 1 nobody users 32 Sep 7 11:00 ../ -rw-rw-rw- 1 root root 0 Sep 7 11:00 ActuaFile.txt root@NAS:/mnt/user/Data/linktest# ln ActuaFile.txt HardLink.txt ln: failed to create hard link 'HardLink.txt' => 'ActuaFile.txt': Function not implemented root@NAS:/mnt/user/Data/linktest# ln -s ActuaFile.txt SoftLink.txt root@NAS:/mnt/user/Data/linktest# ls -la total 4 drwxrwxrwx 1 root root 50 Sep 7 11:03 ./ drwxrwxrwx 1 nobody users 32 Sep 7 11:00 ../ -rw-rw-rw- 1 root root 0 Sep 7 11:00 ActuaFile.txt lrwxrwxrwx 1 root root 13 Sep 7 11:03 SoftLink.txt -> ActuaFile.txt root@NAS:/mnt/user/Data/linktest# Edited September 7, 2020 by FreeMan Quote Link to comment
remotevisitor Posted September 7, 2020 Share Posted September 7, 2020 (edited) What is your Settings -> Global Share Settings -> Tunable (support hard links) set to? Edited September 7, 2020 by remotevisitor 1 Quote Link to comment
FreeMan Posted September 7, 2020 Author Share Posted September 7, 2020 8 minutes ago, remotevisitor said: Tunable (support hard links) set to? It was set to "No". After stopping the array, changing it to "Yes" and starting the array, creating a hard link works like a charm. Thanks! I would have never thought to look there. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.