Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hard Links on User Shares

Featured Replies

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

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.

Hard links can only be done within the same share.  Think of each share as a separate file system.

Thanks for correcting me .... My understanding was flawed.

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.

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  ;D

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.