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.

Unable to mount cache pool after trying to remove a device from it.

Featured Replies

So I put it in raid 1 mode, fully balanced, then stopped the array and removed it. When I started the array it said something like "unmounable or no file system". So I stopped again are added it back. Worked, back at square one.

 

The next time I read to use the btrfs remove command. So I just tried to remove the one drive again, let it do it's thing for awhile til it completed, then again stopped the array and removed it from the pool. Again, "unmountable or no file system".

 

Problem is, THIS time when I added it back, it's still unmountable.

 

Looking through the logs I found two things that might me relevant. This:

 

Jul  6 20:39:45 CyprusSrv kernel: BTRFS info (device nvme0n1p1): device deleted: /dev/nvme3n1p1 

(when i used the command to delete that device from the pool).

 

And this:
 

Jul  6 20:40:55 CyprusSrv emhttpd: shcmd (2317): mount -t btrfs -o noatime,space_cache=v2 -U acda611c-011e-41b8-98fd-dc6054483acb /mnt/nvme_cache
Jul  6 20:40:55 CyprusSrv root: mount: /mnt/nvme_cache: wrong fs type, bad option, bad superblock on /dev/nvme3n1p1, missing codepage or helper program, or other error.

 

Maybe I'm actually going crazy but the docs seem spotty on exactly how to removing a drive, and I got different answers while searching.

Thanks for any help guys.

 

 

Edit: Edited title to be a little more clear, and added more information

 

 

Edited by SGAShepp

  • SGAShepp changed the title to Unable to mount cache pool after trying to remove a device from it.
  • Community Expert

Post the output of

btrfs fi show

 

  • Author

Sure thing.

 

:~# btrfs fi show
Label: none  uuid: e4beedf9-3a0d-4ff0-81ad-6f00dd4d38f5
        Total devices 2 FS bytes used 1.57TiB
        devid    1 size 931.51GiB used 805.00GiB path /dev/sdd1
        devid    2 size 931.51GiB used 804.06GiB path /dev/sdc1

Label: none  uuid: acda611c-011e-41b8-98fd-dc6054483acb
        Total devices 3 FS bytes used 276.14GiB
        devid    1 size 931.51GiB used 184.03GiB path /dev/nvme0n1p1
        devid    2 size 931.51GiB used 186.00GiB path /dev/nvme1n1p1
        devid    3 size 931.51GiB used 185.03GiB path /dev/nvme2n1p1

 

Sorry for the delay, Miss your post last night and worked today.

 

Thanks for the help!

  • Author

Hmm. Reading that output suggests the removal process did work.

 

So, I tried to remove /dev/nvme3n1p1 from the pool again and it worked this time. The only difference is that I set it to "unassigned" first, started the array, it mounted properly. then went back and did the "new config", setting the total devices to 3. The first time I just went straight with new config. Not even sure if that was the reason or not. but nothing else makes sense. I 100% removed the correct device the first time.
 

For future reverence, what IS the most recommended way to remove a device from a btrfs pool in unraid?

 

 

Thanks!

 

 

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.