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.

Mirrored cache drive upgrade resulted in unmountable: No file system

Featured Replies

Hello fellow unraiders,

recently I did a stupid thing. Instead of following any of the guides how to upgrade cache drives I did it the way I imagined it should work...

Situation:
I have 2x256gb cache ssd's in raid1 configuration. Since I ran out of memory I purchased 2x1tb ssd's
I've stoped the array, unassigned one of the cache drives and started the array.

Added 1 of new ssd's (1tb) to the cache pool and started the array again. Left it overnight to do its thing.
Then stoped the array, unassigned second 256gb ssd from cache pool and started array. 


Now I have one 1tb cache ssd that has error "Unmountable: No file system" instead of capacity shown. Since all my dockers live in cache, I can't do a thing with my unraid server now.

Tried running btrfs rescue zero-log /dev/sde (since 1tb ssd for sure is sde) with no luck:

Quote

No valid Btrfs found on /dev/sde
ERROR: could not open ctree

 

I do have both 256gb ssd's untouched thou. But don't know how to re-add them ( or at least one of them) just to get my server up and running...

Any help is much appreciated,
Thank you in advance!

 

the-beast-diagnostics-20230321-2028.zip

Solved by JorgeB

  • Replies 60
  • Views 3.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • JunkoZane
    JunkoZane

    It worked out fine, not sure why I had problems the first two times.  Anyways, thank you for your time and help! Appreciate it 

  • JunkoZane
    JunkoZane

    Thank you

Posted Images

  • Community Expert

Post the output of

btrfs fi show

 

  • Author
6 hours ago, JorgeB said:

Post the output of

btrfs fi show

 

Label: none  uuid: ad3a33bd-dcf5-4a1a-bdd2-6d499aaecb25
        Total devices 2 FS bytes used 2.36TiB
        devid    1 size 1.82TiB used 1.73TiB path /dev/sdb1
        devid    2 size 1.82TiB used 1.73TiB path /dev/sdf1

  • Community Expert

That confirms they were wiped, post the output of:

btrfs-select-super -s 1 /dev/sde1

and

btrfs-select-super -s 1 /dev/sdg1

 

  • Author
Quote

btrfs-select-super -s 1 /dev/sde1

No valid Btrfs found on /dev/sde1
ERROR: open ctree failed

 

Quote

btrfs-select-super -s 1 /dev/sdg1

using SB copy 1, bytenr 67108864

  • Community Expert
13 minutes ago, JunkoZane said:

Post the output of

btrfs fi show

again please

  • Author

Ofcourse!
 

Quote

btrfs fi show

Label: none  uuid: ad3a33bd-dcf5-4a1a-bdd2-6d499aaecb25
        Total devices 2 FS bytes used 2.36TiB
        devid    1 size 1.82TiB used 1.73TiB path /dev/sdb1
        devid    2 size 1.82TiB used 1.73TiB path /dev/sdf1

Label: none  uuid: 630416da-0948-4846-a062-d6c0b6e30614
        Total devices 2 FS bytes used 140.57GiB
        devid    1 size 238.47GiB used 159.03GiB path /dev/sdg1
        *** Some devices missing
 

  • Community Expert

Stop array, unassign all devices from that pool, start array, stop array, re-assign the Micron SSD (sdg) as the only pool device, start array, post new diags.

  • Author
41 minutes ago, JorgeB said:

Stop array, unassign all devices from that pool, start array, stop array, re-assign the Micron SSD (sdg) as the only pool device, start array, post new diags.

I have my old cache pool working :)

Should I now set all shares not to use cache pool and invoke mover? 
Or is there other way to uploading my new magazine of SSD's? :)

  • Community Expert

Do you still want to upgrade using the 1TB devices?

  • Author

Yes

  • Community Expert
  • Solution

You can add (not replace) one of the 1TB devices, wait for the pool to balance, when done you can replace the 250GB with the other 1TB.

  • Author

I'm confused. I did exactly that the first time...

  • Community Expert

And it should work, you can try again and post new diags if there is problem, before rebooting.

  • Author

Thank you :)

  • 2 weeks later...
  • Author

Hello, again.
Same problem occurred when I tried to remove 256GB drive (sdg): 1TB drive shows same error "UNMOUNTABLE: NO FILE SYSTEM"

As you mentioned, I attach logs before rebooting

 

the-beast-diagnostics-20230401-2216.zip

  • Community Expert

Don't touch the removed device since likely you need it to re-use it, for now post the output of:

btrfs fi show

 

  • Author
48 minutes ago, JorgeB said:

Don't touch the removed device since likely you need it to re-use it, for now post the output of:

I still have both 256GB drives untouched, maybe first one that I took out would be more helpful? 

I have stopped the array yesterday and started it today, but no reboot was performed since this error occurred (since I don't know what's happening, I figured I'll better mention it...)

48 minutes ago, JorgeB said:
btrfs fi show

 

Label: none  uuid: ad3a33bd-dcf5-4a1a-bdd2-6d499aaecb25
        Total devices 2 FS bytes used 2.36TiB
        devid    1 size 1.82TiB used 1.73TiB path /dev/sdb1
        devid    2 size 1.82TiB used 1.73TiB path /dev/sdf1

  • Community Expert
1 hour ago, JunkoZane said:

  Total devices 2 FS bytes used 2.36TiB

This is you other pool, meaning the current pool has no valid filesystem, diags you posted only show you removing a device, but the problem was already there before that, so something went wrong before.

 

Since you rebooted check that the old cache device is still sdg, then post output of:

 

btrfs-select-super -s 1 /dev/sdg1

 

  • Author
6 hours ago, JorgeB said:

Since you rebooted...

I haven't, unless stopping and starting array has same effect.

 

btrfs-select-super -s 1 /dev/sdg1

warning, device 2 is missing
using SB copy 1, bytenr 67108864

 

 

I do suspect that problems started at the very beginning when I removed first 256GB drive. Maybe I should try using it as my only cache pool device and later build mirror to my new 1TB SSD from it?  

 

 

 

  • Community Expert

That single device should be usable now, the old pool was a raid1 mirror correct?

  • Author
22 minutes ago, JorgeB said:

That single device should be usable now, the old pool was a raid1 mirror correct?

You're talking about sdg?

 

Yes, my cache pool was raid1 mirrored and consisted 2 * 256gb ssd's

  • Community Expert
8 minutes ago, JunkoZane said:

You're talking about sdg?

Yes, stop array, unassign all pool devices, start array, stop array, re-assign old pol device (sdg) by itself, start array, post new diags.

  • Community Expert

Post new diags to confirm the missing device was deleted, since that was still going on in the previous ones.

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.