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.

How to move system shares

Featured Replies

I have 2 pools, Backup (4Tb, 2 x SSD) and Library (22 Tb, 4 NVMe's).

 

I initially set up the system shares (system, domains, isos and appdata) to be placed on Library because it's the largest pool. However, along the way, the system shares have automatically been moved to Backup, though under the Shares menu they are still showing as being under Library (see screenshot) and upon running `df -h` (see screenshot) they show up as being under Backup.

 

What's the reason behind the automatic migration and, more importantly, how to permanently move them back to Library?

Screenshot_2024-10-30 10.22.52_AQbztt.png

Screenshot_2024-10-30 10.25.17_HofaLX.png

unraid-diagnostics-20241030-1028.zip

Solved by JorgeB

  • Solution

They are all set to cache=only on Library, so it wasn't Unraid that moved them, possibly you started the array with the Library pool?

 

To move them, disable Docker and VM services, set all those shares to primary=Library, Secondary=Backup, mover action Backup -> Library, then enable mover logging and run the mover.

 

Note that if there are any duplicate files they won't be moved, also Ubuntu and vmlinux are nested datasets, so they also won't be moved, but they appear to be empty, post new diags after running the mover.

  • Author

It works beautifully. Thanks for the help.

After I ran `move start`, it migrated everything and left two empty folders in `/mnt/backup/domains`. I tried to remove them manually, but it ended in:

root@unraid:/mnt/backup# rmdir domains/*
rmdir: failed to remove 'domains/Ubuntu': Device or resource busy
rmdir: failed to remove 'domains/vmlinux': Device or resource busy

That's not an issue as they are empty, but will they be removed after a reboot?

  • Author

I'm not sure whether I started the Library alone, without Backup. That's possibly the case.

1 hour ago, kevin.denver said:

That's not an issue as they are empty, but will they be removed after a reboot?

If /mnt/backup/domains is empty, and because there are nested zfs datasets, you need to use:

 

zfs destroy -r backup/domains

 

 

  • Author

Great, that did it.

 

A last question on this topic, if I may: when you said "They are all set to cache=only on Library", does that mean there are other choices? I was under the impression that there was 2 modes only, cache and array(?). In my case I do not use arrays but instead I have placed all disks in two separate pools in RAID. Is this a good/stable/advisable config as per the configuration itself (not mentioning redundancy, etc.)?

With v7 you can also use pools as a secondary storage, but using just one pool only is fine, it just depends on your use case, and if all the data has been moved you can set the secondary storage=none for all system shares.

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.