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.

Will hard links be preserved after rebuilding a failed disk with parity, or will the restored data take double the space?

Featured Replies

Hi all,

I have a question about how Unraid handles hard links when rebuilding a failed data disk from parity.

Here’s my understanding so far:

- In Unraid, each data disk uses its own file system (XFS/Btrfs/ReiserFS).

- Parity is used to reconstruct the entire contents of a failed disk sector by sector.

- Hard links exist only within the same disk, since they rely on the file system’s inode structure.

My concern:

If one data disk fails and is rebuilt using parity, will the hard links that existed on that disk still be preserved correctly?

In other words, does the rebuild process restore the file system metadata (inodes) so that the hard links remain intact, or would the linked files be duplicated and end up taking double the storage space?

This is very important to me because my NAS is mainly used for PT downloading, where a large number of video resources rely on hard links for renaming in order to be properly scraped by media software, while still keeping the original files intact for seeding.

I have not yet purchased Unraid OS because I cannot confirm this issue. Currently, I am using another free NAS system without any form of data protection. However, as my data volume grows, I am starting to consider data security more seriously. Based on my use case, I believe Unraid would be the most suitable system for my NAS, striking the right balance between data protection and storage cost efficiency.

If Unraid cannot preserve hard links during a rebuild and instead restores them as duplicate files taking extra space, could you also confirm whether RAID5 behaves the same way in such a scenario?

Thanks in advance for clarifying!

Solved by itimpi

  • Community Expert

They are preserved.

  • Community Expert
  • Solution
3 hours ago, xemaco said:

If one data disk fails and is rebuilt using parity, will the hard links that existed on that disk still be preserved correctly?

The rebuild process works at the raw sector level and has no idea of the meaning of the contents of any sector. It therefore rebuilds a disk exactly as it was preserving hard links.

  • Author
7 hours ago, JorgeB said:

They are preserved.

thanks

  • Author
7 hours ago, itimpi said:

The rebuild process works at the raw sector level and has no idea of the meaning of the contents of any sector. It therefore rebuilds a disk exactly as it was preserving hard links.

thank you very much

  • Author
On 9/24/2025 at 4:44 PM, itimpi said:

The rebuild process works at the raw sector level and has no idea of the meaning of the contents of any sector. It therefore rebuilds a disk exactly as it was preserving hard links.

Can the 4kn and 512e disks be mixing used in the array with parity ?

  • Community Expert
9 minutes ago, xemaco said:

Can the 4kn and 512e disks be mixing used in the array with parity ?

Never heard of any problem doing this.

I believe at the top level 512 byte sectors are assumed and mapping this onto what a drive actually supports is handle automatically within the relevant drivers.

  • Community Expert
17 minutes ago, xemaco said:

Can the 4kn and 512e disks be mixing used in the array with parity ?

Yep, not a problem.

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.

Guest
Reply to this topic...

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.