Jump to content
Sign in to follow this  
whiteatom

Cache pool stuck in single mode

7 posts in this topic Last Reply

Recommended Posts

I decided to take the jump and move to a cache pool with 2x SSDs. I am interested in performance, so I want to put the pool in Raid-0 mode - however, I can't get it to Raid at all. 

 

Both disks are formatted btrfs, and the Main screen shows cache 2 as "part of a cache pool", however, it doesn't seem like the drives are pooling properly. I have tried running balance with all combinations of -dconvert and -mconvert to try to create a raid-1 or raid-0 pool, but it does nothing. I have rebooted a few times and stopped the array, reformatted the disks/reassigned and started 4 or 5 times now but it always goes to 'single' mode. Here's the status:

 

btrfs filesystem df:

Data, single: total=1.00GiB, used=512.00KiB
System, single: total=4.00MiB, used=16.00KiB
Metadata, single: total=1.01GiB, used=112.00KiB
GlobalReserve, single: total=16.00MiB, used=0.00B

btrfs balance status:

No balance found on '/mnt/cache'

btrfs filesystem show:

Label: none  uuid: 0ce58b4f-32f6-498a-8a12-69520dd7df0e
	Total devices 1 FS bytes used 640.00KiB
	devid    1 size 223.57GiB used 2.01GiB path /dev/sdm1

Label: none  uuid: 9c56e398-7850-43fb-8b49-33ddd2a47ab7
	Total devices 1 FS bytes used 2.48GiB
	devid    1 size 15.00GiB used 6.02GiB path /dev/loop2

Label: none  uuid: fd17d78f-f3ed-49a7-b75f-3cbfcea2b3d4
	Total devices 1 FS bytes used 292.00KiB
	devid    1 size 32.00GiB used 536.00MiB path /dev/loop3

Label: none  uuid: 29297bfe-a789-46f8-9020-724cc95e40c6
	Total devices 1 FS bytes used 128.00KiB
	devid    1 size 223.57GiB used 20.00MiB path /dev/sdn1

From what I see online, this last command should list 2 devices under one uuid, but mine is not. I've searched the forums a bit, but everything assumes the pool is in raid-1 mode to start - which mine is not. 

 

UnRAID: 6.7.2; basic dockers (plex, sabnzbd, radarr/sonarr)

Cache is empty (backed up elsewhere while I try to get this going). 

 

Can anyone point me in the right direction to create a Raid-0 cachepool?

 

Thank-you!

Share this post


Link to post

Cache2 isn't part of the pool, stop the array, unassign cache2, start array, stop array, start array and re-assign cache2, that should do it, if it doesn't post new diags, ideally reboot before doing it to clear the logs.

Share this post


Link to post

Will do when I get home again. Cache2 says "drive is part of a cache pool" where it should show the drive capacity/usage on the Main screen. What would cause it to show that if it's not assigned?

Share this post


Link to post

Sometimes this happens, to know why it happened this time would need the diags from when the device was added to the pool, the ones posted are after that.

Share this post


Link to post

Ok.. I unassigned and assigned a few times then reboot without any change. However, I unassigned, rebooted and then reassigned and it seems to work now. I guess I didn't try that combination before, so it's all working now.

 

Thanks!

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this