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.

2 Drive Cache Pool - Data only being written/read on 1 drive?

Featured Replies

Hi

 

I am using latest 6.2.4 and using 2x SSD in a pool for the first time

 

I run Docker of Sickbeard and SAbnzbd and works fine

 

what I am finding is I am getting more read /writes on Cache 2 then Cache 1, is this right?  they should both be the same surely?

 

earlier Cache 1 spun down leaving Cache 2 on and working, again they should be both on all the time?

 

when I click into Cache 1 it shows the FS as being btrfs but Cache 2 doesn't show this.

 

any ideas? please see attached

 

thanks!

cache.PNG.2d6143847ba469479bf15d1896097a6d.PNG

2.PNG.407aec9b37b0732dbbae6e549dd57552.PNG

3.PNG.f64666ec67cacd925bf8a0cd10355a08.PNG

  • Community Expert

post the output of both:

 

btrfs fi df /mnt/cache

 

btrfs fi show /mnt/cache

 

Use the CLI or look at the cache webpage.

  • Author

Thanks, please see below

 

root@Tower:~# btrfs fi df /mnt/cache
Data, single: total=13.00GiB, used=11.15GiB
System, single: total=32.00MiB, used=16.00KiB
Metadata, single: total=1.00GiB, used=1.39MiB
GlobalReserve, single: total=16.00MiB, used=0.00B

root@Tower:~# btrfs fi show /mnt/cache
Label: none  uuid: 8b6a1bdf-be10-4f17-b7ac-11f9d4ef2552
        Total devices 1 FS bytes used 11.16GiB
        devid    1 size 223.57GiB used 14.03GiB path /dev/sdi1

 

 

 

  • Community Expert

Yep, only cache2 is being used.

 

You can add cache1 again after wiping it, but make a cache backup before just in case.

  • Author

Thanks.  Can you let me know how I go about wiping the drive? After its wiped, just re add it to the cache pool?

  • Community Expert

Double check cache1 is still sdh, don't forget to backup first in case something goes wrong, stop the array and:

 

wipefs -a /dev/sdh

 

After that start the array and the pool should automatically rebalance, check btrfs df and show after it's finished (when the reads/writes) stop.

  • Author

Thanks mate.

 

Wipe command didn't work

 

Ended up removing each cache drive and formatting when unraid prompted.  Now shows as raid 1, reinstalled dockers and all working.  Thanks again mate

  • Community Expert

Glad you got it sorted, out of curiosity did wipefs give an error, or after wiping the rebalance didn't happen?

 

  • Author

Glad you got it sorted, out of curiosity did wipefs give an error, or after wiping the rebalance didn't happen?

 

after i did the command in Putty, nothing happened, checked the btrfs df and show and still showed one drive

 

then i did the wipe command with sudo (just to see what would happen) and got this:

 

root@Tower:~# root@Tower:~# sudo wipefs -a /dev/sdh

-bash: root@Tower:~#: command not found

root@Tower:~# /dev/sdh: 2 bytes were erased at offset 0x000001fe (dos): 55 aa

-bash: syntax error near unexpected token `('

root@Tower:~# /dev/sdh: calling ioctl to re-read partition table: Success

 

 

checked the btrfs df and show and still showed one drive

 

so stopped the array , added one by one when it said unmountable, formatted.

 

key thing was to take a backup, proved valuable :)

 

 

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.