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.

6.9.2 Unable to Unlink Cache Drives from Cache Pool

Featured Replies

Hi,

 

I had a cache pool setup with two 512GB SSDs in brtfs. A few days ago one of the drive reported two errors in the SMART page so I decided to remove it from the pool. I created a new pool only with the good SSD and left the bad SSD in UD. This is where I saw some weird things. The bad SSD seems to be linked to the good one in some way maybe the RAID setup is still effective. When I delete or create files on the good SSD the same action mirrored on the bad one sitting in the UD! I would expect the new pool to break the RAID 0 setup from the old cache pool. What am I missing here?

 

  • Community Expert

Note that to safely re-assign the device to the pool you need to do this:

 

Stop the array, if Docker/VM services are using the cache pool disable them, unassign the remaining cache device, start array to make Unraid "forget" current cache config, stop array, now reassign both cache devices (there can't be an "All existing data on this device will be OVERWRITTEN when array is Started" warning for any cache device), re-enable Docker/VMs if needed, start array, then do the remove procedure.

 

 

  • Author
12 hours ago, JorgeB said:

Note that to safely re-assign the device to the pool you need to do this:

 

Stop the array, if Docker/VM services are using the cache pool disable them, unassign the remaining cache device, start array to make Unraid "forget" current cache config, stop array, now reassign both cache devices (there can't be an "All existing data on this device will be OVERWRITTEN when array is Started" warning for any cache device), re-enable Docker/VMs if needed, start array, then do the remove procedure.

 

 

I did the procedure but it's not working. I stopped the array and chose no device in the pool. Then I started the array to forget the cache config and stopped the array again to configure two separate cache pools each with an SSD. The two SSDs are still in sync. What steps am I missing?

  • Community Expert

I'm not seeing in the logs you doing what I asked:

 

Nov 21 09:41:40 SaulGoodman emhttpd: import 31 cache device: (sdb) Crucial_CT512MX100SSD1_14260C762FF4
Nov 21 09:41:40 SaulGoodman emhttpd: import 32 cache device: (sdc) ADATA_SU800NS38_2I2420004148

 

These devices are currently part of a single btrfs pool and they are assigned to two different pools, unassign both start the array, assign both to the same pool, start array, do the pool device removal procedure, then you can do what you want to the other device.

 

P.S. I see earlier that you did some cache replacement attempts, that is currently broken on v6.9+

  • Author
2 hours ago, JorgeB said:

I'm not seeing in the logs you doing what I asked:

 

Nov 21 09:41:40 SaulGoodman emhttpd: import 31 cache device: (sdb) Crucial_CT512MX100SSD1_14260C762FF4
Nov 21 09:41:40 SaulGoodman emhttpd: import 32 cache device: (sdc) ADATA_SU800NS38_2I2420004148

 

These devices are currently part of a single btrfs pool and they are assigned to two different pools, unassign both start the array, assign both to the same pool, start array, do the pool device removal procedure, then you can do what you want to the other device.

 

P.S. I see earlier that you did some cache replacement attempts, that is currently broken on v6.9+

The procedure is not intuitive and there's no indication saying the device is removed or not. I had another unsuccessful attempt. Here's what I did: 

1. Stop the array

2. Assign both device to the same pool

3. Start the array

4. Stop the array

5. Delete cache pool and create one with one device and leave the other in UD.

6. Start the array

What did I do wrong?

saulgoodman-diagnostics-20211123-2008.zip

  • Community Expert
4 minutes ago, aarontry said:

What did I do wrong?

Didn't look at the diags yet but based on the list you didn't do the pool device removal procedure.

  • Author

Any way to remove device from cache pool through command?

  • Community Expert

There is, but it's much easier using the GUI.

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.