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.

Is it possible to remove a share top level in Unraid?

Featured Replies

Using Unraid 7.0.1.

Does anyone know if there is a simple or straight forward way to remove the top level of a share without losing or moving data?

Not exactly my configuration but an example to illustrate what I am trying to find out:

Unraid has 6 Disks (Disk1, Disk2, Disk3, Disk4, Disk 5, Disk6) with only one Share called "Media" . Media has 2 Folders (Movies, Shows)

Media\Movies only exists in Disk1, Disk2

Media\Shows only exists in Disk3, Disk4

Parity on Disk5, Disk6

Is it possible to magically remove the top level Media from existence and keep everything in Disk1,Disk2 under a new share "Movies"? The same would apply to "Shows" on Disk3,Disk4.

In other words, "\Media\Movies\" on Disk1-Disk2 would simply become just "\Movies\" on the same Disk1-Disk2.

I regret creating the Media share structure instead of just having individual Shares for Movies, Shows etc . I think this just creates complexity and less flexibility with split level settings and now hoping to fix my mistake without having to move all this data elsewhere, resetting everything, moving it all back while stressing the drives in addition to rewriting all new parity for it.

Any help or suggestions is appreciated.

Thanks

Solved by JorgeB

You can just move the folders to the top level, disk by disk, it will be instant, assuming no ZFS datasets.

  • Author

Jorge,

Thanks for the reply but I am not sure I follow your suggestion. Also using XFS for reference.

If I move everything to the top level then everything will be inside "Media" then, no?

I will now still have a "Media" share that contains all movie files and shows folders on disks Disk1, Disk2, Disk3 and Disk4 but without the Movies and Shows subfolders.

I would not have a "Movies" share containing Disk1 and Disk2 or a "Shows" share containing Disk3 and Disk4 .

Did I miss something?

Edited by gustsant

12 hours ago, gustsant said:

Unraid has 6 Disks (Disk1, Disk2, Disk3, Disk4, Disk 5, Disk6) with only one Share called "Media" . Media has 2 Folders (Movies, Shows)

In this example, you would move the Movies and Shows subfolders to be top level subfolders (shares), then delete the Media folder.

  • Author

Media is the name of the share that contains all disks in the array. Are you suggesting I delete the Media share?

If so, when I delete the share will the files and folders in the disks remain where they are? If that is the case I could delete the share, move the folders one one level and then create new individual shares for movies and shows.

  • Solution

Maybe I'm not being clear. You have, for example,

/mnt/disk1/Media/Movies and /mnt/disk1/Media/Shows

Move /mnt/disk1/Media/Movies to /mnt/disk1/Movies

Move /mnt/disk1/Media/Shows to /mnt/disk1/Shows

/mnt/disk1/Media/ will now be empty, assuming there are no other folders, and can be deleted.

Movies and Shows will now appear as shares in the GUI (with default settings)

Repeat for the other disks.

  • Author

I am a bit skeptical Unraid will recognize this automatically but will give it a try once I do a backup.

Thanks

Shares are just top-level folders, but like mentioned, they will use the default settings until you apply them to create a cfg file on the flash drive.

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.