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.

Remove disk pool btfrs single

Featured Replies

Hi everyone and sorry for my bad English.

I have a pool with 8 completely full disks and I would like to disconnect a disk from the pool because I need it on another PC. the pool is in btfrs single, does anyone have an idea how I can do it, even buying maybe another disc? Thank you

Solved by JorgeB

  • Community Expert

If it is a pool you can just remove it.   Note that any contents you want to keep should first be copied elsewhere.    Also anything referencing it (shares, docker containers, VMs) would need their settings adjusted appropriately.

  • Author

sorry, I explained myself poorly. I have to remove one disk at a time to try to recover the data. Unfortunately I don't have any other discs to put them on at the moment.

  • Community Expert

Do you really mean pool or array? Post a screenshot or the diagnostics.

  • Author

I'll attach the diagnostics and try to explain myself better.

Basically I have to move the disks from Unraid to a Windows PC and I would like to use them individually without losing the data (or at least limiting the loss). For me it might also be fine to delete a little bit of data to allow me to free up one disk at a time until I remove them all.

image.thumb.png.5e722956a422b2ca99fc22b1c476c4a6.png

tower-diagnostics-20241202-1839.zip

  • Community Expert

GUI doesn't allow removing disks from single profile pools, only redundant pools, you could do it manually using the CLI, one disk at a time, but would need to free up some space before removing each disk.

  • Author

Yes.... it would be perfect. You totally nailed what I meant. Even freeing up 20TB of space is fine for me. the only thing is that I need to be guided step by step because I have no idea how to do it. thanks so much for the help.

  • Community Expert
  • Solution

After freeing enough space, and make sure you leave at least many GBs extra space, ideally 1TB to avoid issues during the balance, type:

 

btrfs dev del /dev/sdX1 /mnt/plot_share

 

Replace X with one of the pool disks, wait for the data to be balanced, and the disk removed, it will be done when you get the cursor back, if you don't need to stop the array, you can repeat for the next disk, free up space, remove the disk, if you need to stop the array, you need to er-import the pool without the removed disk(s), to do that, stop array, unassign all pool devices, start array, stop array, reassign only the remaining pool devices, start array to import the pool, and you can continue removing another device.

  • Author

OK perfect.

I'll try in the next few days and update you on how it went, thanks again.

Do you have any other advice for me?

  • Community Expert

Not really, other than you can monitor the progress by looking at:

 

btrfs fi usage -T /mnt/plot_share

 

You will see the data being moved from the device you are removing to the other ones.

  • 2 weeks later...
  • Author

I'll be back here to write.

The process is slow (2 days to move the data and 2 days to erase the disk). In any case, I mark it as solved and thanks again for the solution 😉

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

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.