December 6, 201510 yr 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.
December 6, 201510 yr 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.
December 6, 201510 yr 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
December 6, 201510 yr 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.
December 7, 201510 yr 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.
December 7, 201510 yr 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.
December 7, 201510 yr 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.
December 7, 201510 yr 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.
December 8, 201510 yr 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?
December 8, 201510 yr 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.
December 15, 201510 yr 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.