May 2May 2 My server was having trouble the last few days. I addressed this issue (power cable daisy chain) and rebuilt the disabled drives with no issue, but now I'm finding my main "media" share is inaccessible from my desktop / doesn't seem to be properly reported in the Unraid GUI (the media share there is saving new files to cache instead of the array??). The data still seems to be located in the same place however (or else I'd be freaking out) -- clicking the file manager in the GUI shows the data on the drives, and even Plex is playing media from the server.The only other thing which may be relevant, is that shortly before the server had issues with the disabled drives/power cables, I was fiddling with the SMB security settings on some of the shares and the Flash (I think I changed them from Public to Private).Thank you for any tips. starryskynet-diagnostics-20260501-2229 (4).zip
May 2May 2 Community Expert It's a case issue, delete /config/shares//media.cfg on the flash, the share is Media, then make a dummy change in the share settings and apply to create the new cfg.
May 2May 2 Author 42 minutes ago, JorgeB said:It's a case issue, delete /config/shares//media.cfg on the flash, the share is Media, then make a dummy change in the share settings and apply to create the new cfg.I couldn't delete the share on the web GUI because the delete checkmark is greyed out (share must be empty to be deleted) -- and when I tried renaming "Media" to lowercase "media", I got this error. Before I do anything else, I just want to confirm that I'm on the right path.
May 2May 2 Community Expert You need to navigate to the flash drive manually using Unraid's build-in File Manager by clicking on the left-most icon for it on the Main page and then navigating to the config/shares folder. From there delete the existing .cfg file for the share.The problem is arising because Linux is case sensitive for file names whereas the FAT32 file system used for the flash drive is not (although it is case-preserving once a file is created).
May 2May 2 Author 15 minutes ago, itimpi said:You need to navigate to the flash drive manually using Unraid's build-in File Manager by clicking on the left-most icon for it on the Main page and then navigating to the config/shares folder. From there delete the existing .cfg file for the share.The problem is arising because Linux is case sensitive for file names whereas the FAT32 file system used for the flash drive is not (although it is case-preserving once a file is created).Hey, thank you. I think you and JorgeB are on the right track regarding case sensitivity being an issue here. Before I can proceed to delete this .cfg file, I may need help locating it.I attached a picture of what the file manager shows under "user". There are two media folders, one capitalized and one not. The one that is capitalized shows a more recent modified date, but only lists the cache. The uncapitalized one shows a much older modified date, but shows more disk locations.Please advise. Edited May 2May 2 by Pluvichor
May 2May 2 Community Expert You don't delete the share, just the cfg from the flash drive, I posted the path above, it's /config/shares/media.cfg in the flash drive.
May 2May 2 Author Sorry to sound obtuse, but I'm not sure how to locate that location. When I click the file manager button in the web UI, this screen (attached) pops up, but none of the folders seem to lead to a config/shares/ location.EDIT: Also, I tried renaming the "Media" share to remove the uppercase and restart the array to see if anything changed. Just resulted in two Media and media shares (different cases) and now my Plex doesn't work. Edited May 2May 2 by Pluvichor
May 2May 2 Community Expert Does not sound like you tried what I suggested by clicking on the leftmost icon on the boot device (flash) on the Main tab.
May 2May 2 Author 4 minutes ago, itimpi said:Does not sound like you tried what I suggested by clicking on the leftmost icon on the boot device (flash) on the Main tab.Ah, sorry about that. I misunderstood, my fault. Doing that, I found and deleted the media cfg file. I am rebooting the server now to see what happens.EDIT: nothing changed on a reboot. Edited May 2May 2 by Pluvichor
May 2May 2 Community Expert You need to 2 hours ago, JorgeB said:then make a dummy change in the share settings and apply to create the new cfg.
May 2May 2 Author 8 minutes ago, JorgeB said:You need toI performed a dummy change (changed the SMB Security Settings), and this created a new cfg file in the /config/shares/ location, but this doesn't seem to have fixed my issue. Still can't access the data on the disks, and the share still just says saving to cache.
May 2May 2 Community Expert Does the .cfg file for the share on the flash drive now have the same case as the folders for the share on the array/pool drives?Suggest you post new diagnostics so we can see the current state.
May 2May 2 Author 20 minutes ago, itimpi said:Does the .cfg file for the share on the flash drive now have the same case as the folders for the share on the array/pool drives?Suggest you post new diagnostics so we can see the current state.Yes, the cfg file and the folders on the array both use the lowercase "media". starryskynet-diagnostics-20260502-0236 (5).zip
May 2May 2 Community Expert According to those diagnostics the 'media' share is now configured with Primary=cache and nothing for secondary which will force all new files to only go to the 'cache' pool. The existing files for that share currently reside on the array.You probably want Primary=cache, Secondary=Array and Mover direction to be cache->array for files to initially be written to the cache pool for best performance and then later moved to the main array. If you never want the files to be cached then set the Primary=Array and nothing for the Secondary.
May 2May 2 Author 19 minutes ago, itimpi said:According to those diagnostics the 'media' share is now configured with Primary=cache and nothing for secondary which will force all new files to only go to the 'cache' pool. The existing files for that share currently reside on the array.You probably want Primary=cache, Secondary=Array and Mover direction to be cache->array for files to initially be written to the cache pool for best performance and then later moved to the main array. If you never want the files to be cached then set the Primary=Array and nothing for the Secondary.I changed the configuration to only save to the array (I typically don't use the cache for this), but this hasn't fixed my issues accessing the data in my array, either via Windows file explorer or Plex.
May 2May 2 Community Expert Solution The share is not being exported, so it won't be available over SMB, go to the share settings and enable export.For Plex, make sure it's mapped to /mnt/user/media, and not /mnt/user/Media
May 2May 2 Author 10 minutes ago, JorgeB said:The share is not being exported, so it won't be available over SMB, go to the share settings and enable export.For Plex, make sure it's mapped to /mnt/user/media, and not /mnt/user/MediaHey, that seems to have done the trick! Files now visible on Windows, and Plex working as intended. Thank you!
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.