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.

Shares unavailable/non-existent during data rebuild

Featured Replies

Good Afternoon!

 

Yesterday I had a drive die, I immediately shut the server down and then replaced the drive as soon as I was able to get to the store.

It is currently in the middle of a data rebuild with about 3 hours and 40 minutes left and I am noticing some oddities today.

 

For context: I recently (last Friday) did a huge update of my server going from 6.8.3 to 6.12.10 so these may be new features that are normal but that I didn't know about from skimming release notes. I also didn't notice this yesterday but after the rebuild started I wasn't watching it constantly. 

 

First, and what drew me to notice this: The Mover is saying it is disabled due to a Parity Operation Running. I have never noticed this before, but I haven't had a failed drive in quite a while, but during drive upgrades I always seem to remember Mover running normally?

 

Second, I have some Shares defined but when I go to the Share tab only Movies, TV, and Music are shown the others are not there. And those shares show as being empty and as only having 16.4GB free. The disks all show as disk shares as well. 

This is definitely something new, I have never had the shares not be available for use during a rebuild as far as I can remember.

 

Third, If I click into each disk manually, the shares and their respective files do show. 

 

Is it normal for Shares to disappear or show as empty during a data rebuild in 6.12.10? I have attached the Diagnostics

 

The disks:

1175901186_Screenshot2024-04-20at12_51_32.thumb.png.f72112420655454aa46467b59c5faee4.png

 

The Rebuild + Mover:

1111740566_Screenshot2024-04-20at12_51_00.thumb.png.a5c552a53911feb4db1b9ac223a76f56.png

 

No Shares (Except the three mentioned) + Disk Shares:

1416119913_Screenshot2024-04-20at12_50_34.thumb.png.5c6746a06a9870a6a2e46a5f8d3eb714.png

 

Share Settings (TV and Music are the same):

1891702196_Screenshot2024-04-20at11_05_12.thumb.png.f206d7e7c81a811f260632d69ec85815.png709644385_Screenshot2024-04-20at11_05_25.thumb.png.766210fec70ed4185b30d03820a7551a.png

 

Contents of a Disk:

724267507_Screenshot2024-04-20at11_59_26.thumb.png.c1dc98d27758a225010d1b8400abb1fb.png

 

mahbukkit-diagnostics-20240420-1256.zip

  • Author

Update. Rebuild finished, shares still not showing and disks still showing as Disk Shares. 
 

Maybe I can turn off Disk Shares and restart the array.IMG_2617.thumb.jpeg.0bd228bbb48b1f4fa93abdc1c45bf48f.jpeg

  • Author

Update 2:

I am home now and seem to have been able to fix it.

 

I attempted to stop the array to turn off disk shares, however it got stuck attempting to unmount the user shares during the array stop so I did a reboot. Once it came back up everything was mounted correctly. 

I was then able to stop the array, turn off disk shares, and then turn the array on. It appears to be working perfectly now. 

 

As for what caused it, I can not be sure but after I got a failed disk error on Friday, in my haste I shut the server down before stopping the array and removing the disk from it. I then plugged in my replacement disk, started the server, stopped the array, and added the replacement disk to the array in the spot of the failed disk.

This may have caused an issue somehow, but again I can not be sure of this. I am replacing the last two 6TB drives on Monday/Tuesday so we will see if any other issues arise.

  • Author

Update 3:

I thought I solved this but it seems to go a bit deeper so I am reopening it.

 

Everything went fine above after rebooting the server, shares came back and everything was happy. Today I received in some 14TBs and decided to replace a 6TB in my system.

I:

  1. Stopped the array
  2. Unassigned the disk to be replaced
  3. Started the array
  4. Stopped the array
  5. Shut down
  6. Replaced the disk physically
  7. Started the machine
  8. Stopped the array
  9. Selected the new disk
  10. Started the array

All as outlined here: https://docs.unraid.net/unraid-os/manual/storage-management/#replacing-a-disk-to-increase-capacity

 

As soon as the array came back up, the rebuild started as normal however again, the shares are not available. 3 shares appear just as above with Movies, Music, and TV being in the shares tab but they only show as 16.4GB free with no data contained within. The files are still on the drives as normal. 

The only difference this time is no disk shares as I turned those off completely.

 

I have zero idea why I don't have access to my shares during a data rebuild, I always did while on 6.8.3 and I see no reason why I shouldn't on 6.12.10.

 

Disks:

1748286909_Screenshot2024-04-22at22_16_03.thumb.png.b5448bc6f3df98b6f449c34c478cc7fd.png

 

Rebuild Process:

503387945_Screenshot2024-04-22at22_16_10.thumb.png.6c7a1c0adc9057a4116e149036282d9d.png

 

Shares which show, all show as empty:

952410277_Screenshot2024-04-22at22_16_39.thumb.png.768188fb546775765094fa06be268199.png

 

The files on the disks:

2097151884_Screenshot2024-04-22at22_16_59.thumb.png.9505cc4ac3f25f409616262299863539.png

 

 

At this point the only thing I can think to do is reboot once more, but I am not sure if that is smart during a data rebuild.

 

New Diagnostics file attached.

 

mahbukkit-diagnostics-20240422-2215.zip

 

  • Author

I was able to reboot during the data rebuild and that brought the shares back online.

 

 

  • Community Expert
16 minutes ago, karash said:

I was able to reboot during the data rebuild and that brought the shares back online.

 

 

If you did tis before the rebuild completed then the rebuild would be started again from the beginning.

  • Author
7 minutes ago, itimpi said:

If you did tis before the rebuild completed then the rebuild would be started again from the beginning.

 

It did restart the rebuild, I was only 45 minutes into it. But it also remounted the shares so I have access during the full rebuild.

It seems to be a FUSE issue based on what we saw, I just have to add a second reboot into my workflow when replacing a drive.

 

  • Community Expert

There's something creating this folder before array start:

 

Apr 22 22:08:12 MahBukkit emhttpd: error: malloc_share_locations, 7199: Operation not supported (95): getxattr: /mnt/user/Music

 

That will cause the problems you are seeing.

  • Author
On 4/23/2024 at 12:47 AM, JorgeB said:

There's something creating this folder before array start:

 

Apr 22 22:08:12 MahBukkit emhttpd: error: malloc_share_locations, 7199: Operation not supported (95): getxattr: /mnt/user/Music

 

That will cause the problems you are seeing.

 

I am not sure what could be doing that honestly. I have another computer setup with auto.fs mounting my shares but I turned off the service before shutting down Unraid to replace the drive and it doesn't mount Music anyway.

I have no idea what is causing it, I successfully completed my second disk replacement and did a third today with the same thing happening. A reboot after adding the new drive to the array fixed the issue immediately.

 

Obviously now that I know this works, my steps to replace a drive just involve an extra reboot. Solving the issue entirely would be nice but I am at a loss.

  • 2 months later...

I just had the same thing happen to me. A second reboot after replacing a parity and data drive restored my user shares during the data rebuild process.

  • 8 months later...

I am waking this up, because it just happened to me too.

Same situation. I replaced a missing failed disk, rebuilding now, already 2 hours in, without problems... and then a 1-2 containers failed and I noticed no shares whatsoever, available!

I am not stopping the rebuild, will reboot after it finishes AND HOPE my shares come back.

My MAIN tab shows the disks properly with their contents and rebuild shows 0 errors and continues.

 

My server is several years old and I have done a full rebuild of numerous disks (up to 18TB size) without such issue.

 

This is the first time I do it with my current hardware (after server hardware problems):

Different motherboard, different CPU (intel coming from AMD) of similar specs though (not underpowered whatsoever), different PCIe SATA controller (supposedly better... I came from two SAS2008 based and move to a single 9400-16i).

Also added an extra M.2 and separated my appdata/domains/system from rest of cached data.

 

Is this something I need to get used to with my new hardware? That a full rebuild will kill my shares?

Ever anybody found out why this happens to some?

 

I really hope my shares come back after the reboot, but really... why this happens?

 

EDIT: Shared did come back after reboot. I have kept the diagnostics before the reboot.

Anybody care to...?

 

 

Edited by NLS

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.