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.

BTRFS bdev /dev/nvme0n1p1 error

Featured Replies

  • Community Expert

The problem is not the name, it's that the other device still belongs to tat filesystem:

 

Feb  7 14:00:26 ASAS emhttpd:  Total devices 3 FS bytes used 635.53GiB
Feb  7 14:00:26 ASAS emhttpd:  devid    1 size 953.87GiB used 654.06GiB path /dev/nvme1n1p1
Feb  7 14:00:26 ASAS emhttpd:  devid    4 size 953.87GiB used 24.00GiB path /dev/nvme0n1p1
Feb  7 14:00:26 ASAS emhttpd:  *** Some devices missing
Feb  7 14:00:26 ASAS emhttpd: cache: invalid config: total_devices 3 num_misplaced 1 num_missing 1

 

You need to first remove the device for the pool or wipe it, if the pool does not need it, but the pool is still reporting another missing device, so that should be fixed first.

  • Replies 50
  • Views 7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Posted Images

  • Author
3 minutes ago, JorgeB said:

The problem is not the name, it's that the other device still belongs to tat filesystem:

 

Feb  7 14:00:26 ASAS emhttpd:  Total devices 3 FS bytes used 635.53GiB
Feb  7 14:00:26 ASAS emhttpd:  devid    1 size 953.87GiB used 654.06GiB path /dev/nvme1n1p1
Feb  7 14:00:26 ASAS emhttpd:  devid    4 size 953.87GiB used 24.00GiB path /dev/nvme0n1p1
Feb  7 14:00:26 ASAS emhttpd:  *** Some devices missing
Feb  7 14:00:26 ASAS emhttpd: cache: invalid config: total_devices 3 num_misplaced 1 num_missing 1

 

You need to first remove the device for the pool or wipe it, if the pool does not need it, but the pool is still reporting another missing device, so that should be fixed first.

sorry i am a bit inexperienced with unraid, how do i do that? since i can't format the disk without the array started

  • Community Expert

First lets try and fix the pool, don't wipe the other device for now in case it's needed, because the pool should not work with two missing devices, disconnect that device and post new diags after array start.

  • Author
49 minutes ago, JorgeB said:

First lets try and fix the pool, don't wipe the other device for now in case it's needed, because the pool should not work with two missing devices, disconnect that device and post new diags after array start.

in the mean time , i just got another problem. somehow my unraid wont boot at all, it just blanked screen when i chose the USB that was used for unraid. what happened was that i added another NVME to the motherboard . connected monitor on it , and only shows a "-" dash on the corner left. 

any solution?

Edited by mrpainnogain

  • Community Expert

Is the USB still the first boot device? You can also press the boot menu key and choose that.

  • Author
5 minutes ago, JorgeB said:

Is the USB still the first boot device? You can also press the boot menu key and choose that.

i always press boot key and chose the usb manually, after that i chose which mode unraid i want to boot to. but this time after i chose the usual USB. it just black screen. i actually just did a back up before i added nvme on it, do i have to remove the nvme first? or can i just switch to other usb to boot straight away? to be more specifics i added one nvme made new pool on it, install VM on it. shutdown the system. then i added another NVME ( so total 3 NVME's) and after that it wont boot at all

Edited by mrpainnogain

  • Community Expert

Not sure the problem is the additional NVMe, but try removing it.

  • Author
5 minutes ago, JorgeB said:

Not sure the problem is the additional NVMe, but try removing it.

i did try, still the same issue. just black screen with dash on the corner. may be somehow the usb config got messed up? 

Edited by mrpainnogain

  • Community Expert

It's possible

  • Author
13 minutes ago, JorgeB said:

It's possible

Can i put the usb to other pc? May be view some log?

  • Community Expert

You can see if it boots in a different PC, if the same it's likely flash drive issue.

  • Author
2 hours ago, JorgeB said:

You can see if it boots in a different PC, if the same it's likely flash drive issue.

is it safe to do so? i tried plugging in the usb to other pc , it can read the data inside without any problem. i did not try to boot into the usb tho

  • Community Expert

It's safe.

  • Author
2 hours ago, JorgeB said:

It's safe.

ok i did boot to the usb, everything went smooth on my other PC. what might be the issue here? i could see everything on the GUI and it seems like there is no problem. just that the disks are missing as expected. also posted my latest diagnostic on different PC ( just in case needed) 

 

 

asas-diagnostics-20240208-0105.zip

Edited by mrpainnogain

  • Community Expert

If confirms the flash drive is not the problem, check the BIOS settings on the server or try resetting the CMOS.

  • Author
2 minutes ago, JorgeB said:

If confirms the flash drive is not the problem, check the BIOS settings on the server or try resetting the CMOS.

ok cool, will try tomorrow. thanks

  • Author
9 hours ago, mrpainnogain said:

ok cool, will try tomorrow. thanks

hi there , i have already done the CMOS reset , it was confirmed by having " bios has been reset" notification when i rebooted . but the same thing happened again , after i chose the usb. the screen stuck at black screen, i haven't even reached the blue background options yet. 

  • Author
10 hours ago, JorgeB said:

If confirms the flash drive is not the problem, check the BIOS settings on the server or try resetting the CMOS.

it just stuck like this 

 

 

 

IMG_8092.HEIC

  • Author

okay , finally it worked again now. all i had to do was updated the BIOS my mobo is z590 vision g and the version was F2 and now it became F8. i can boot again to unraid. it is weird though, i didn't do any softwares update. all i did was just added another NVME

  • Author
20 hours ago, JorgeB said:

First lets try and fix the pool, don't wipe the other device for now in case it's needed, because the pool should not work with two missing devices, disconnect that device and post new diags after array start.

okay back here. how do i resolve this issue? also attached the diag.  here's the diag with and without the new NVME attached on the system.

basically i want to use the NVME with series 2L082xx stays the same on the system as it has my current VM and others. but i want to create a new pool for the other NVME starting with series 2N462XX. 

 

 

asas-diagnostics-20240208-1333.zip

asas-diagnostics-20240208-1406.zip

Edited by mrpainnogain

  • Community Expert

With the other NVMe still disconnect post the output of

btrfs fi show

 

  • Author
7 hours ago, JorgeB said:
btrfs fi show

there we go , 

 

Label: none  uuid: 7f94e2af-8931-47e7-8457-d4946fa8df48
        Total devices 1 FS bytes used 597.08GiB
        devid    1 size 953.87GiB used 654.06GiB path /dev/nvme0n1p1

Label: none  uuid: ebf65eba-8218-475e-94e1-6aa9c3e2dc13
        Total devices 1 FS bytes used 5.41GiB
        devid    1 size 20.00GiB used 8.02GiB path /dev/loop2

Label: none  uuid: 3d8ee1e7-2c37-4667-9518-d41824ba9b65
        Total devices 1 FS bytes used 2.41MiB
        devid    1 size 1.00GiB used 126.38MiB path /dev/loop3

  • Community Expert

OK, just wanted to make sure the device is OK by itself, and it is, problem is that both NVMe devices were once part of the same pool, and if both are connected btrfs gets confused, you can reconnect the other device and wipe it, since you have UD installed suggest using it, less chance of making a mistake on which device to wipe, once it's wiped you can assign it to a new pool, start the array and format the new pool, but check that only the new pool has an unmountable device before formatting.

  • Author
3 minutes ago, JorgeB said:

OK, just wanted to make sure the device is OK by itself, and it is, problem is that both NVMe devices were once part of the same pool, and if both are connected btrfs gets confused, you can reconnect the other device and wipe it, since you have UD installed suggest using it, less chance of making a mistake on which device to wipe, once it's wiped you can assign it to a new pool, start the array and format the new pool, but check that only the new pool has an unmountable device before formatting.

yes the device is OK by itself, as i am currently using it. 

image.thumb.png.1e9998a1d27abbc5719801a98aedcecc.png

 

you are right, the device used to be part of the same pool, but due to btrfs corruption , i took it of from the motherboard and since that, every time i connected that device, the cache pool got the " missing disk" notification. 

 

when u say wipe it, do u mean format the NVME before starting the array? 

  • Community Expert
  • Solution

As long as Destructive mode is enabled in the UD settings, you will see something like this after reconnecting the other device:

 

image.png

 

Click the red X to wipe the partition.

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.