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] Weird Disk Shares

Featured Replies

I lost a drive and replaced it.  In the process I converted my old reiserfs drives to xfs by moving everything from Disk 4 to Disk 5 (which was empty), change the file format of disk 4 to XFS, format, and then repeat... Disk 3 to Disk 4, etc.

 

Now I have shares listed under the share tab for Disks 1, 2 & 4.  Under global share settings I have export disk shares set to no.  When I click on each individual disk share on the shares tab, I change the SMB export to No, and I've tried private as well.  I click save and it always goes back to Yes and Public.

 

I never created these shares.  Under the config/shares directory there are no .cfg files for these shares.

 

How do I get rid of them?  In fact, how do I nuke all of my shares and start from scratch?  My old naming convention was not good.

 

Thanks!

It sounds like you have root folders on your disks called "Disk X". Every root folder on every disk will be automatically exported as a user share. If you nuke your shares, your data will go away, which I don't think you want. You need to temporarily enable disk shares, and navigate to each disk one at a time and clean up your files by moving them into root folders that you wish to be your new user shares. Every folder you see on the root of the disk will be a user share, so if you don't want a user share by that name, rename it, or move the files into one of the other root folders.

 

Do this ONE DISK AT A TIME, and do not move any files to any other disks or shares. Just organize each disk on its own, making sure that the only folders at the root of the drive are what you want as your new user shares. Do not mess with shares in the GUI until you are done organizing all your disks one at a time. After all your disks are organized, turn off disk shares, reboot unraid, and then your user share list should only show the new shares that reflect the root folders on all the drives.

 

Capitalization matters. Don't make a TVShows folder on one drive, and TvShows on a different drive.

I agree with Jonathanm during your move process you must have introduced something like.

 

/mnt/diskX/disk2/ resulting in automatic creation of the user share /mnt/user/disk2/

 

User shares are simply the aggregate top level disk folders.

 

IE: a share named Video is /mnt/user/Video which is the aggregate of /mnt/disk1/Video and /mnt/disk2/Video and so on for each disk... (including the cache disk) there is also a user share called user0 that doesn't include the cache disk. This is a requirement of Mover.

 

So if you want to fix your directories I recommend working on a disk level and moving the data around.

 

NOTE NEVER EVER do a move or copy (or anything) form /mnt/diskx/XXXX to /mnt/user/XXXX (or user0 or vice versa) this will likely clobber your data due to an inode difference between the FUSE file system and normal file system (causing an overwrite of the file you are copying resulting in an error and data loss)

  • Author

Awesome, thank you for the advice.  That is it exactly, I copied Disk 1 to Disk 2, etc.  I understand the not mixing disk and user shares for copy purposes, I'll fix it disk by disk.  Thank you!

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.