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.

SOLVED: Help with cache drive wrecking my share

Featured Replies

I made a rookie mistake and wrote directly to the cache drive... my data still seems to be there if I access via the disk shares, but my user share now only shows the data that (was previously) on my cache drive.

 

Is there a way to restore my user share?

  • Author

A little more info - my original share was "TV Shows" and I created "tv shows" on the cache drive.

 

If I use a disk share I can see both folders (which I didn't think would be possible since they are spelled exactly the same, just using different case) and opening either seems to present the same contents for that disk.

 

Interestingly, there is a config section for each on the shares page, and if I set either of them to "don't export" it applies to both. Changing it back, also changes the setting for both, but only the version I created via the cache drive is accessible (as a user share) showing only the files I put on the cache drive.

 

This behaviour isn't even consistent with what happens when I use a disk share (per previous comments where I see the same content in both "TV Shows" and "tv shows").

 

I've since changed the (empty) cache drive to a data drive...

 

Any ideas?

A little more info - my original share was "TV Shows" and I created "tv shows" on the cache drive.

 

If I use a disk share I can see both folders (which I didn't think would be possible since they are spelled exactly the same, just using different case) and opening either seems to present the same contents for that disk.

 

Interestingly, there is a config section for each on the shares page, and if I set either of them to "don't export" it applies to both. Changing it back, also changes the setting for both, but only the version I created via the cache drive is accessible (as a user share) showing only the files I put on the cache drive.

 

This behavior isn't even consistent with what happens when I use a disk share (per previous comments where I see the same content in both "TV Shows" and "tv shows").

 

I've since changed the (empty) cache drive to a data drive...

 

Any ideas?

It is easy enough to rename the directory on the cache drive to match the capitalization used for the "user-share" you intended. Note the special "backslash" (\) before the spaces in the file names to "escape" the space to it is considered part of the directory name.

 

On the command line type:

mv  /mnt/cache/tv\ shows  /mnt/cache/TV\ Shows

(In Linux you rename directories by moving them to their new name with the "mv" command.)

 

On the flash drive, in the config/shares folder you'll find a file for each share.

You can see the file names by typing:

ls -l /boot/config/shares

 

You'll probably see a file named

/boot/config/shares/TV Shows.cfg

and

/boot/config/shares/tv shows.cfg

 

You can remove the one you do not wish by typing:

rm  /boot/config/shares/tv\ shows.cfg

or

rm  /boot/config/shares/TV\ Shows.cfg

 

Make sure you use escape the spaces in the directory names and use the capitalization as it actually exists.

 

You may have created directories on the disk drives with the wrong capitalization.  You'll need to remove those directories and move any files in them to correctly named directories.

 

To see what directories exist type:

ls  -ld  /mnt/disk*/TV\ Shows

ls  -ld  /mnt/disk*/tv\ shows

 

You can move the files from the one directory to the other with another "mv" command, one disk at a time.

mv /mnt/disk1/tv\ shows/* /mnt/disk1/TV\ Shows/

mv /mnt/disk2/tv\ shows/* /mnt/disk2/TV\ Shows/

etc...

Then you;ll need to remove the empty directories on the disks with the wrong name

rmdir /mnt/disk1/tv\ shows

rmdir /mnt/disk2/tv\ shows

etc...

 

After you move the files, rename and delete the directories, stop the array, and reboot.

 

Joe L.

  • Author

That worked - thankyou!

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.