Jump to content

[SOLVED] How to convert Cache pool to single mode


bcabalka
Go to solution Solved by JorgeB,

Recommended Posts

My brain doesn't appear to be working right now and when I go to the cache pool and convert to single mode, it doesn't appear to expand the space available on the pool. Is there a way to get this converted while retaining the data on the pool?

 

I have 2x 1TB SSDs and was hoping to use all available space.

 

Pasted_Image_12_29_22__9_25_PM.thumb.png.6805feb9c6beab3a3df81d77d6d349b2.png

 

Pasted_Image_12_29_22__9_27_PM.thumb.png.249f7f304e059e48b24fadab51c68cb0.png

Edited by bcabalka
Link to comment

Looking at the syslog, it appears there's a BTRFS error. That would explain why it isnt converting.

 

Dec 30 08:09:37 cortex  ool www[13111]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_balance 'start' '/mnt/cache' '-dconvert=single,soft -mconvert=raid1,soft'
Dec 30 08:09:37 cortex kernel: BTRFS info (device sdb1): balance: start -dconvert=single,soft -mconvert=raid1,soft -sconvert=raid1,soft
Dec 30 08:09:37 cortex kernel: BTRFS info (device sdb1): relocating block group 2442826612736 flags data|raid1
Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 1
Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdc1 errs: wr 0, rd 0, flush 0, corrupt 887, gen 0
Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 2
Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 726, gen 0
Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 1
Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdc1 errs: wr 0, rd 0, flush 0, corrupt 888, gen 0
Dec 30 08:09:37 cortex kernel: BTRFS warning (device sdb1): csum failed root -9 ino 299 off 969187328 csum 0x3d995087 expected csum 0x1930d4f7 mirror 2
Dec 30 08:09:37 cortex kernel: BTRFS error (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 727, gen 0
Dec 30 08:09:38 cortex kernel: BTRFS info (device sdb1): balance: ended with status: -5

 

Link to comment
  • Solution

Btrfs is detecting data corruption on both devices:

 

Dec 29 21:24:42 cortex kernel: BTRFS info (device sdb1): bdev /dev/sdb1 errs: wr 0, rd 0, flush 0, corrupt 680, gen 0
Dec 29 21:24:42 cortex kernel: BTRFS info (device sdb1): bdev /dev/sdc1 errs: wr 0, rd 0, flush 0, corrupt 837, gen 0

 

This suggests a RAM or other hardware problem, start by running memtest, once that's resolved you should run a scrub, any uncorrectable files should be deleted/restored from a backup, then reset the stats and keep monitoring.

Link to comment
  • bcabalka changed the title to [SOLVED] How to convert Cache pool to single mode

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.

×
×
  • Create New...