Jump to content

Remove drive from Cache pool


kricker

Recommended Posts

 

A while back I wanted to replace my cache drive. Instead of replace the one I had, I added a second and now have a Raid 1 cache pool.

Data, RAID1: total=15.00GiB, used=13.52GiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=1.00GiB, used=9.58MiB
GlobalReserve, single: total=16.00MiB, used=112.00KiB

I want to now drop back down to one single cache drive as the smaller drive is having pre-fail issues. I am trying to follow the following directions to drop back down.

But I am stuck at the Balance operation. it has been running for a couple hours and is still reporting the following:

Balance on '/mnt/cache' is running
3 out of about 4 chunks balanced (17 considered),  25% left

Is it normal for that to take so long?

Link to comment

Looks like it's stuck, also it's continuing after the previous reboot:

 

Quote

Nov 13 11:52:23 Tower emhttp: shcmd (58): mkdir -p /mnt/cache
Nov 13 11:52:23 Tower emhttp: shcmd (59): set -o pipefail ; mount -t btrfs -o noatime,nodiratime -U cefcc342-daaf-4c80-9fa0-34d00f89b66c /mnt/cache |& logger
Nov 13 11:52:23 Tower kernel: BTRFS info (device sdd1): disk space caching is enabled
Nov 13 11:52:23 Tower kernel: BTRFS info (device sdd1): has skinny extents
Nov 13 11:52:24 Tower kernel: BTRFS info (device sdd1): checking UUID tree
Nov 13 11:52:24 Tower kernel: BTRFS info (device sdd1): continuing balance

 

Try rebooting one more time, if there's still important data on the pool back it up before rebooting, if still stuck after reboot, remove the extra device and reformat.

Link to comment

So now I am stuck in a loop. Every time I reboot the balance process starts again and never finishes. So I forced the server down and pulled the drive I no longer want. Now it boots up and shows that drive as missing but is still running the balance operation. Clicking on cancel will not stop it either. It just hangs the webGUI. At next reboot it all starts again. Trying to stop the array causes the system to also hang and I have to force it down.

Link to comment

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