Cache Pool - Removing a drive.


ryan

Recommended Posts

So i just removed a drive from the cache pool with hopes of adding it to the array, however, i took the array offline and unassigned the disk (it was disk1) then started the array back up. leaving the disk2 in place in hopes it will figure out i only have one cache disk..

 

Now in dmesg i'm seeing a bunch of this:

 

BTRFS info (device sde1): found 930 extents
BTRFS info (device sde1): found 930 extents
BTRFS info (device sde1): relocating block group 161090633728 flags 17
BTRFS info (device sde1): found 1739 extents
BTRFS info (device sde1): found 1739 extents
BTRFS info (device sde1): relocating block group 160016891904 flags 17
BTRFS info (device sde1): found 5624 extents
BTRFS info (device sde1): found 5624 extents
BTRFS info (device sde1): relocating block group 158943150080 flags 17
BTRFS info (device sde1): found 7597 extents
BTRFS info (device sde1): found 7597 extents
BTRFS info (device sde1): relocating block group 157869408256 flags 17

 

Is this correct? The array hasn't mounted yet, i'm assuming it's still trying to figure out that i left a disk out? :o have i broken it?

Link to comment

For future reference - after some research it's expected behavior to balance out the renaming blocks? i think that's what it was doing anyway.

 

So it ended up sticking to Cache2 - i stopped the array and moved it to cache1 - it all seems to work fine as expected.

 

I'm not sure if this is hows it's supposed to be done - maybe there is a quicker way. Worked for me.  ::)

Screen_Shot_2014-10-30_at_09_32_09.PNG.26c5b219449d0576eef9de11b721a91f.PNG

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.