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.

Unable to Add New Share after moving to XFS

Featured Replies

I had recently change my file system from reiserfs to xfs using a swap disk. After doing that, I found that I am not able to create new shares. When attempting to create a new share, the service seems to hang and require to stop and restart the array before it works again. 

 

I also noticed that when I add the new share, in the include or exclude drive, I can't find my Disk 3 in there. 

image.thumb.png.edcec1ab5172b49b3b75d90851a96674.png 

Even though I clearly have Disk 3 in the array. 

image.thumb.png.9cbae5bfc338b3a36a505799719f4af6.png

 

Attached is my diagnostics log. Hope someone can point me in a direction to solve this. Thanks.

tower-diagnostics-20210811-0050.zip

  • Community Expert

Global Share Settings excludes disk3

  • Author

Oh man! That was such an amateur mistake!!! Thanks for pointing out.

 

However, I am still unable to create an appdata share that is cache only. Did I misconfigure anything? Please advise.

  • Community Expert

I don't know unless appdata is reserved for docker and you haven't set that up yet?

  • Community Expert
2 hours ago, yahsh said:

Oh man! That was such an amateur mistake!!! Thanks for pointing out.

 

However, I am still unable to create an appdata share that is cache only. Did I misconfigure anything? Please advise.


what happens when you try and change the Use Cache setting for that share to ‘only’ instead of ‘no’.

  • Author
8 hours ago, itimpi said:


what happens when you try and change the Use Cache setting for that share to ‘only’ instead of ‘no’.

The system would still retain an appdata folder in the disk3. If I delete the appdata folder in disk3, the share would also disappear. Is this the expected behavior? If yes, could you enlightened me why that is so? Thanks.

image.thumb.png.d28c414d95530c6df20ef6bcdce1597e.png

  • Author
8 minutes ago, yahsh said:

The system would still retain an appdata folder in the disk3. If I delete the appdata folder in disk3, the share would also disappear. Is this the expected behavior? If yes, could you enlightened me why that is so? Thanks.

image.thumb.png.d28c414d95530c6df20ef6bcdce1597e.png

The other issue is that if I only set the appdata to cache only, I can't start the docker containers properly. E.g plex. The system complains that /mnt/user/appdata: no media found. I had actually upgraded this unraid from a rather old version. Is it worth backing up the .key file in the /boot/config/, reinstall the unraid OS on the same thumbdrive, restore the .key file and redo create all the shares again? 

  • Community Expert
3 hours ago, yahsh said:

The system would still retain an appdata folder in the disk3. If I delete the appdata folder in disk3, the share would also disappear. Is this the expected behavior? If yes, could you enlightened me why that is so? Thanks.

image.thumb.png.d28c414d95530c6df20ef6bcdce1597e.png


This is expected behaviour.    A User Share will give a consolidated view of all top level folders  (appdata in this case) on each drive in the array and any pools to give a unified view of the share across all drives.   When you delete the folder from disk3 then if there is no ‘appdata’ folder yet created on cache the share will disappear.

 

A point you may have missed is that when you change the Use Cache setting to ‘Only’ that applies to new files - not existing ones.    The mover application takes no action on shares that have Use Cache set to ‘Only’ so any files/folders already existing on the array are left there.    If you want mover to transfer files/folders for a share from the array to cache then you need the Use Cache=Prefer setting.    This is explained in the help built into the GUI if you activate that.

  • Author
2 hours ago, itimpi said:


This is expected behaviour.    A User Share will give a consolidated view of all top level folders  (appdata in this case) on each drive in the array and any pools to give a unified view of the share across all drives.   When you delete the folder from disk3 then if there is no ‘appdata’ folder yet created on cache the share will disappear.

 

A point you may have missed is that when you change the Use Cache setting to ‘Only’ that applies to new files - not existing ones.    The mover application takes no action on shares that have Use Cache set to ‘Only’ so any files/folders already existing on the array are left there.    If you want mover to transfer files/folders for a share from the array to cache then you need the Use Cache=Prefer setting.    This is explained in the help built into the GUI if you activate that.

Apologies, I still don't get it. After I set appdata to cache-only, I tried to install plexmediaserver. However, I run into the below error.

image.thumb.png.8a2b8f2cf8047d1bf9721c88cf861ce0.png

It seems that I cannot create any new folder in /mnt/user/appdata if I set it to cache-only. I can only create a new folder in /mnt/user/appdata if I set the share to cache-prefer. But if I set it to cache-prefer, the application data will end up on /mnt/disk3/appdata instead of on /mnt/cache/appdata. It is quite confusing.

  • Author
58 minutes ago, Squid said:

Does a reboot fix?

Tried that. Unfortunately, didn't work. I get the error: "Error response from daemon: error while creating mount source path '/mnt/user/appdata/Plex-Media-Server/transcode': mkdir /mnt/user/appdata/Plex-Media-Server: no medium found." whenever I set the appdata to cache-only.

  • Community Expert

Are you sure you can write to cache at all?

  • Author
1 hour ago, trurl said:

Are you sure you can write to cache at all?

Yes, I could mkdir and copy file to /mnt/cache.
 

I gave up and "reinstall" the flash drive. After doing that, everything is working now. Thanks for the help!

  • 2 weeks later...

A point you may have missed is that when you change the Use Cache setting to ‘Only’ that applies to new files - not existing ones. surveyzop

Edited by aonesur

  • Community Expert
21 minutes ago, aonesur said:

A point you may have missed is that when you change the Use Cache setting to ‘Only’ that applies to new files - not existing ones. 

This looks suspiciously like this:

On 8/11/2021 at 3:31 AM, itimpi said:

A point you may have missed is that when you change the Use Cache setting to ‘Only’ that applies to new files - not existing ones.

I am expecting spam forthcoming from @aonesur

10 minutes ago, trurl said:

This looks suspiciously like this:

I am expecting spam forthcoming from @aonesur

Missed that. Good catch. We shall see.

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.