October 27, 20169 yr I'm trying to create some hard links on a user share and its not working. I get this error "Invalid cross-device link" This works: cp -al /mnt/user/folder1/folder2/folder4/folder.name/ /mnt/user/folder1/folder2/folder5/folder.name Though I do get "No Space Left on Device" even though there is lots of space left and my understanding of hard links is they shouldn't use any space. Free space 288GB folder being hard linked 57GB. Though I tried with a 16GB folder and it works fine. Edit: Forgot I had the share setup as fill up with a min free space of 300GB This give me the "Invalid cross-device link" error: cp -al /mnt/user/folder6/folder.name/ /mnt/user/folder7/folder8/folder9/folder.name
October 27, 20169 yr My understanding is that although you can now use hard links on a user share you have to ensure that the source and destination of the link will be created on the same underlying disk. I suspect in your example folder4 and folder5 exist on different underlying disks and therefore you are getting the "Invalid cross-device link". If folder4 and folder5 were on the same underlying disk then the creation of the hard link would be successful.
October 27, 20169 yr Hard links can only be done within the same share. Think of each share as a separate file system.
October 27, 20169 yr I occurred to me that this restriction on hard links being restricted to a user share would be usefully captured in the online user manual ... Although I cannot see an existing section for it to go.
October 27, 20169 yr I occurred to me that this restriction on hard links being restricted to a user share would be usefully captured in the online user manual ... Although I cannot see an existing section for it to go. Sure but no one reads manuals
October 27, 20169 yr Author Info regarding the use of hard links at all would be helpful in the manual/wiki. No ones is going to read a manual that is blank or outdated that's for sure. Is there any chance of hard link support spanning different user shares being implemented? Or is that a technical impossibility? Sent using Tapatalk
Archived
This topic is now archived and is closed to further replies.