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.

replace cache drive with larger one

Featured Replies

What is the best way to replace my 250GB cache drive with a 1TB drive?  I would like to keep all my setting and not have to reinstall everything but if I need to reinstall I will.  I thought I read somewhere the unRaid 6 now has away to do this.

  • Community Expert

Fallow this procedure, or if your current cache drive is btrfs you can add the new disk and create a pool, let Unraid mirror the original cache and then remove it.

  • Author

how do I know if btrfs?  I think its reiserfs

  • Community Expert

Check webGUI's main page, cache device fs.

  • Author

yup reiserfs, guess I can't convert it without losing everything.  If everything else is reiserfs should I keep it like that?  Also I guess under disk settings it should also say reiserfs

  • Community Expert

Cache disk can use a different fs, but if you don't plan to use a cache pool it's probably best to use reiser or xfs.

  • Author

So I have no idea how to use MC, anything else I can do?

  • Community Expert

So I have no idea how to use MC, anything else I can do?

Figure out MC. It is very easy and well worth the effort. Most of the things you will use it for are pretty easy and easy to figure out.

 

MC is just a file manager GUI, except instead of fancy graphics it uses text to display the files and folders in a GUI layout. Give it a try.

  • Author

I also use a Mac and don't have an insert key

  • Community Expert

I also use a Mac and don't have an insert key

I don't think I have ever needed an insert key in MC. I mostly just use cursor keys, tab, f1-f10.
  • Author

Thats what the instructions say to do that you linked to

 

Replace A Cache Drive

1. Preclear the new cache drive.

2. Log into your server as root. Run Midnight Commander ('mc' <enter>)

3. Navigate to your current cache drive, should be at /mnt/cache

4. Select all .folders you've got in there using the Insert button. (.sickbeard, .sabnzbd, etc...)

5. Make a new folder on a specific drive on your array, like /mnt/drive7/cachebackup

6. Copy all cache drive folders to the folder you just created.

7. Stop array

8. Go to the Main tab in the web GUI, and use the drop down for the cache drive, at the bottom, to reassign the cache drive.

9. start array

10. the new cache drive will show up as unformatted, go to the bottom of the Main tab, and format the drive. This should take two seconds as you already pre-cleared the drive.

11. With array running, log into your server as root and run Midnight Commander

12. Copy all .folders from the /mnt/disk7/cachebackup folder you created before

13. Stop array (will stop all your additional programs)

14. Start array. Bob's your uncle.

  • Community Expert

Thats what the instructions say to do that you linked to

 

Replace A Cache Drive

1. Preclear the new cache drive.

2. Log into your server as root. Run Midnight Commander ('mc' <enter>)

3. Navigate to your current cache drive, should be at /mnt/cache

4. Select all .folders you've got in there using the Insert button. (.sickbeard, .sabnzbd, etc...)

5. Make a new folder on a specific drive on your array, like /mnt/drive7/cachebackup

6. Copy all cache drive folders to the folder you just created.

7. Stop array

8. Go to the Main tab in the web GUI, and use the drop down for the cache drive, at the bottom, to reassign the cache drive.

9. start array

10. the new cache drive will show up as unformatted, go to the bottom of the Main tab, and format the drive. This should take two seconds as you already pre-cleared the drive.

11. With array running, log into your server as root and run Midnight Commander

12. Copy all .folders from the /mnt/disk7/cachebackup folder you created before

13. Stop array (will stop all your additional programs)

14. Start array. Bob's your uncle.

I didn't link that wiki, and step 5 is wrong anyway since there isn't a /mnt/drive7. It would be /mnt/disk7 instead. And it seems to assume the only thing needing backed up from your cache drive are (hidden) .folders.

 

With the advent of cache-only shares in v5, a better idea would be to manually run mover from the GUI so everything that can be moved to the array is already moved. Everything else is stuff you want to backup.

 

I had never actually done Select All from MC but figured it out pretty easily without using the Insert key. From the File menu, Select Group. Type * for the selection and then press enter.

 

There are a lot of other steps you will have to perform in MC just to get to that point but I will not spell them out. Even if you don't use MC for this, you really should take a few minutes and try it. There are also plenty of guides to MC on the web.

 

The copy could also be done from the command line.

 

Or just turn on sharing for the disks and copy everything from cache to somewhere else either on the array or on your PC.

 

Or there are several examples of cache backup scripts on the forum. See search tips in my sig.

  • Author

thanks will check tips out.

  • Author

thanks that seems much easier, but why run Mover for this?  Is this just incase you have files that haven't moved to other shares yet?

  • Community Expert

thanks that seems much easier, but why run Mover for this?  Is this just incase you have files that haven't moved to other shares yet?

Yes. No point in backing up data that is going to be moved later anyway. Just move it before backing up the stuff that will be staying on cache. If you don't have anything that stays on cache then there is nothing to backup.
  • Author

Try this procedure on the wiki

 

Thanks, works perfectly.  Might want add that I had to turn Docker Off and then back on to have them show up after I restored everything.

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.