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.

Tried replacing CACHE Drive, now nothing is there

Featured Replies

Hi 

 

I followed this post on how to replace the CACHE Pool Drive with a new one.

 

 

I am able to plug in both the old and the new. So what i did was i stopped the Array, selected the new drive (So that the new one appears in "Cache" and the old one goes to "unassigned". Then i started the Array. 

 

However, nothing happened except all my docker and stuff was gone. 

 

Then i thought maybe setting things as they were helps, but no. Now it says that the disk has nothing on it (the old and the new one). 

 

What did i do wrong? How do i get my Data back? 

 

Im still learning UNRAID, so any help is much appreciated. 

 

Best Regards

Solved by JorgeB

  • Community Expert
13 hours ago, NAStyKappeli said:

I followed this post on how to replace the CACHE Pool Drive with a new one.

Do you mean you followed the part for a directly device replacement that has a line across it and mentions it does no longer works or was this a multi device pool? If the latter please post the diagnostics.

 

 

  • Author
1 hour ago, JorgeB said:

Do you mean you followed the part for a directly device replacement that has a line across it and mentions it does no longer works

Wait noo, that is exactly what i did. Welp. Nothing i can do i guess? 

 

I somehow thought "-You can't directly replace an existing device with a smaller one, only one of the same or larger size, you can add one or more smaller devices to a pool and after it's done balancing stop the array and remove the larger device(s) (one at a time if more than one), obviously only possible if data still fits on the resulting smaller pool." applies to replacements as well..

  • Community Expert
50 minutes ago, NAStyKappeli said:

you can add one or more smaller devices to a pool and after it's done balancing stop the array and remove the larger device(s) (one at a time if more than one), obviously only possible if data still fits on the resulting smaller pool." applies to replacements as well..

This works but it's not a direct replacement, first add one device and only after that's done can you remove the old one.

 

There's a good change your old cache is still recoverable if nothing else was done, please post the diagnostics.

  • Community Expert

Post the output of:

btrfs-select-super -s 1 /dev/sdb1

 

  • Author

using SB copy 1, bytenr 67108864

  • Community Expert
  • Solution

Now stop the array, unassign the new cache device, start array (without any device assigned as cache), stop array, assign old cache device, start array, old cache fs should be back.

  • Author

Unfortunately, still same error: image.thumb.png.ebe1f7708eb54c31926c93599708fbbd.png

It also says that the Samsung SSD is Unmountable: image.thumb.png.9e4cf8d1f607eaef7b899cad1c9f0d4f.png

  • Community Expert

That's not the old cache device.

  • Author

It is, the new one is this one: image.thumb.png.acf286a99c93433205a93e1b1469aa66.png

 

I had an "old" Samsung SSD lying around which i used for Cache. Now i want to replace it with a WD Red SATA and an Intenso NVMe. Since i only have one NVME Slot, i wanted to first move everything over to the SATA Drive, then remove the Samsung NVMe and install the new Intenso NVMe. 

 

Why do you think that the Samsung Drive is not the old one? Do the Diagnostics say so? 

  • Community Expert

Ahh, OK, diags showed the other device being wiped, so I assumed that was the original cache, maybe you rebooted after the initial swap?

 

Then post the output of:

 

btrfs-select-super -s 1 /dev/nvme0n1p1

 

  • Author

Ohh ok, yes i did reboot the Server multiple times in the meantime.

 

What i did after the initial swap and seeing that nothing happens is i stopped the array and moved everything back as it was (WD Drive "unassigned" and Samsung Drive back to the Cache Pool). When i then started the Array i saw the "unmountable" error for the first time and rebooted the server. 

 

Output is: using SB copy 1, bytenr 67108864

  • Community Expert

Assuming the NMVe device is still assigned just start (or re-start) the array.

  • Author

OH MY GODDD YESSS!!!! It looks like its all back again!

 

So, that i don't fck it up again, this is the right procedure for me right? (The "How do I replace/upgrade my single cache device? (unRAID v6.2 and above only" post)

 

  • Community Expert

That will work, you can also add the new device to the pool and only after that is complete remove the old one from the pool.

  • Author
On 12/11/2022 at 3:29 PM, JorgeB said:

you can also add the new device to the pool and only after that is complete remove the old one from the pool.

Hi again

 

Yesterday my drive went missing again, there is something wrong with the samsung one. So today i tried it again. You say "after that is complete", when do i know if its complete? 

image.thumb.png.5ad15605f825fdcb7a48412afd6528d8.png

Currently, the WDC drive is still a "new device". That has to go green right? Then, i can remove the Old Samsung drive and im good? 

 

Thanks again!

  • Community Expert

There won't be any device activity, or at least constant activity, also you won't be able to stop the array until it's done, the icon will remain blue for the first time, kind of a bug, if you post new diags to confirm all is well.

  • Community Expert

Diags appear to have been grabbed just before it finished the balance, post new ones please.

  • Community Expert

Yes, the icon won't change but the balance finished, you can now just stop array, remove the old cache device and start array, a new balance will begin to delete the device removed from the pool.

  • Author

Hi, everything is up and seems to be working. Thank you so very much for the help and patience, i really appreciate it!

Is there a way i can buy you a coffee or something? 

 

Best Regards!

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.