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.

"Unmountable: Bad or No System File System" after pendrive corruption

Featured Replies

Hi, Due to bad connection of USB port to motherboard, my pendrive got corrupted and after recovering it, my Cache pool and Vms-apps pool shows "Unmountable: Bad or No System File System".

 

Please, can you help me recover them?

 

image.thumb.png.cf02adacffe7f61e21814713b99e4d30.png

 

I've attached the diagnostic file.

 

matrix-diagnostics-20250426-1751.zip

Solved by JorgeB

  • Community Expert

Post the output from

btrfs fi show

 

  • Author

Thanks for your reply. This is the result of the execution:

 

image.png.09279316b1dd5960b02ceaea905aae33.png

  • Community Expert

First pool is corrupt:

 

Apr 26 17:44:31 Matrix kernel: BTRFS error (device sdb1): bad tree block start, mirror 2 want 23461888 have 0

 

You can try the recovery option here.

 

Second one doesn't have a valid btrfs filesystem, post the output from:

blkid

and

fdisk -l /dev/nvme01

 

  • Author

This is the ouput of blkid:

image.thumb.png.a057188767f68d07e14b8a53a69a62a0.png

 

I understand that the execution of the other command is on nvme0n1. If so, the result is:

 

image.png.e72b645a2dbaebbe6e391d6ed4427778.png

  • Community Expert

The NVMe device doesn't even have a partition, any idea how that happen? Post the same output for the other NVMe device.

  • Author

I have no idea. I think I'll have to give up on the partition and regenerate it. The result for the other NVME is the same:

 

image.png.2a2be9dedbee1eb5bc3c4df8272bd029.png

  • Community Expert

Sorry for the delay but was without power almost all day yesterday, if just the partiion was deleted it may still be able to recover the pool, type:

 

sfdisk /dev/nvme0n1

then type 2048 and hit enter, then capture and post the output, don't type anything else

  • Author

Don't worry, I was in the same situation. This is the output from the command execution, and I need to know what do I need to answer to the question it asks me:

 

image.png.1ad9280c103ebad954e45a3c4b3732b5.png

Edited by javierpm

  • Community Expert

Type N to keep the signature, then type write and enter to save the changes.

 

Do the same thing for the other nvme device, and if it also finds a signature keep it and write, after that post the output from

 

btrfs fi show

 

  • Author

Hello, this is the ouput of the execution:

 

image.png.da3972c9391baa2856ace81a40ae42d9.png

  • Community Expert

Try restarting the array now to see if the second pool mounts, if it doesn't, post new diags.

  • Author

image.thumb.png.d78582449918ed10a44d5017552d6199.png

 

I have restarted the array and then tried restarting the server but unfortunately, I still can't mount it (I haven't done anything with the cache pool yet). Here are the new diagnostics:

matrix-diagnostics-20250429-1314.zip

Edited by javierpm

  • Community Expert

The second pool has similar corruptions as the other one:

 

Apr 29 13:12:11 Matrix kernel: BTRFS error (device nvme1n1p1): bad tree block start, mirror 2 want 24068096 have 0
Apr 29 13:12:11 Matrix kernel: BTRFS error (device nvme1n1p1): bad tree block start, mirror 1 want 24068096 have 0

 

So it wasn't just the partitions that were deleted, looks like some metadata was deleted in both devices (have 0 means it's not finding the tree locations it's looking for), you can also try the recovery options I posted before for the 1st pool

  • Author

Thank you very much. I'll try the recovery and post the results.

  • Author

Finally I had to use the option to use BTRFS check --repair, and it's been going on for about 2 hours now:

image.thumb.png.7d4bf6c867908bc8320cbdd517fb0096.png

Edited by javierpm

  • Community Expert

Typically, it doesn't take more than a few minutes.

  • Author

So should I wait or cancel and delete the storage pools? I don't see it going past the point of "opening filesystem to check".

  • Community Expert

Anything in the syslog? It may have crashed.

  • Author

No. This are the las lines:

 

Apr 30 11:01:40 Matrix ool www[441601]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_check 'start' '/dev/sdb1' 'KINGSTON_SA400S37480G_50026B73828C0015' '--repair'

Apr 30 11:14:41 Matrix flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update

Apr 30 11:32:48 Matrix ool www[771838]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_check 'start' '/dev/nvme0n1p1' 'Samsung_SSD_980_1TB_S649NL0WA02420T' '--repair'

Edited by javierpm

  • Community Expert

I doubt it's doing anything, try rebooting, then running that command on the CLI:

 

btrfs check --repair /dev/sdb1

or

btrfs check --repair /dev/nvme0n1p1

 

Depending on with pool you are running it, you just need to run it on one of the pool devices.

  • Author

With the arrays in Maintenance mode, correct?

  • Community Expert

Nod needed, since the pools are not mounting anyway.

  • Author

It doesn't look good:

 

image.png.2adafd02affaf69f847cbd0f44428c63.png

  • Community Expert
  • Solution

I'm afraid so, you will likely need to reformat.

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.