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.

Grevious btrfs error leading to missing devices

Featured Replies

I recently spent some time doing a drive replace in BTRFS Raid 1. I needed to use the command line, so the frontend and backend were out-of-sync in terms of the drives used. I did the following to attempt to re-add the devices:

  1. Go into storage settings

  2. Remove pool

  3. Add pool of 5 devices in the same order (the array started on device id 2, which might be the problem)

  4. Go back into storage settings for the pool and set filesystem type to btrfs because it didn't mount the first time.

  5. Unmount everything after unsuccessful mount and check btrfs filesystem show.

The btrfs filesystem show doesn't show all 5 devices or even a placeholder for all of them.

Is there a good way to resolve this, or would there potentially also be a different btrfs-specific forum to check?

Screenshot 2025-07-31 at 21-49-59 root@HoloNet ~ _bin_bash --login (HoloNet).png

  • Author

After doing an lsblk, it looks like the sdd1 and sdg1 partitions are missing

Screenshot 2025-07-31 at 21-57-11 root@HoloNet ~ _bin_bash --login (HoloNet).png

  • Author

Using fdisk, I can seee that some of them show up as having partitions while others don't.

Screenshot 2025-07-31 at 22-07-21 root@HoloNet ~ _bin_bash --login (HoloNet).png

  • Community Expert

There are 4 missing devices, any idea what happened to the partitions?

Assuming sdg was part of the pool, type sfdisk /dev/sdg and enter, then type 64 and enter, then hit CTRL + C to abort, capture that output and post here.

  • Author

I think that unraid got rid of their association as a pool when I tried to mount them through the pool devices frontend. I wish that I copied the data to a different drive before trying to mount it with unraid since I did get it working again on the command line.

Screenshot 2025-08-01 at 17-34-42 root@HoloNet ~ _bin_bash --login (HoloNet).png

  • Author

Before I mounted them with unraid, they did have the partitions listed when using lsblk, but they aren't there anymore after attempting an unraid mount. There were initially gaps in the grouping, so that may also be why it had an error. I had two failing drives and needed to do a replace and then a remove and then another replace, so I ended up with something like:

device id 2 - sdd

device id 3 - sdc

device id 4 - sdg

device id 5 - sdf

device id 7 - sdb

Edited by muddles17

  • Author

I only had the extra 12tb disk that I tried to do a balance that didn't go well and then had to replace it in the following process (from memory):

starting array:

device id 1 - 2tb (currently sdb)

device id 2 - 4tb

device id 3 - 4tb

device id 4 - 12tb

device id 5 - 12tb

  1. I added a 12tb as device 6 and started a balance that errored out - then I couldn't remove device id 3 because it had an I/O error

    • device id 1 - 2tb - sdb

    • device id 2 - 4tb - sdd

    • device id 3 - 4tb - don't remember

    • device id 4 - 12tb - sdg

    • device id 5 - 12tb - sdf

    • device id 6 - 12tb - sdc

  2. I started but then stopped a remove of device 6 because I was concerned about it re-distributing the data onto the failed drives

  3. I removed device id 1 because it didn't have any data on it

    • device id 2 - 4tb - sdd

    • device id 3 - 4tb - don't remember

    • device id 4 - 12tb - sdg

    • device id 5 - 12tb - sdf

    • device id 6 - 12tb - sdc

  4. After the balance, device id 6 had less than 2tb, so I did a replace with the 2tb drive to free up the added 12tb that was device 6. I think somehow it got added as device 7 because of the previously attempted remove.

    • device id 2 - 4tb - sdd

    • device id 3 - 4tb - don't remember

    • device id 4 - 12tb - sdg

    • device id 5 - 12tb - sdf

    • device id 7 - 2tb - sdb

  5. I then did a replace on device id 3 with the freed up 12tb drive so that it got rid of the worst drive. That successfully completed.

    • device id 2 - 4tb - sdd

    • device id 3 - 12tb - sdc

    • device id 4 - 12tb - sdg

    • device id 5 - 12tb - sdf

    • device id 7 - 2tb - sdb

  6. I then had the array mounted as the post above this one (I'm pretty sure - because I did a remove on device id 1, but I don't have 100% confidence that 6 was the other missing id.)

I then unmounted the drives and then added them like this, which then broke the array when I tried to mount it.

Screenshot 2025-08-01 at 17-55-17 HoloNet_Main.png

Edited by muddles17
specifying the complete process

  • Community Expert

There's no BTRFS signature on that disk, try the same command for all the disks that were part of the pool and don't have a partition, always abort after entering 64 and post the output, it's just to see if a signature is found; we don't want to use sfdisk to create the partitions.

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.