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 file system (btrfs)

Featured Replies

Hi,

 

Im new to UnRaid and have it running for a few days now. I wanted to upgrade the amount of RAM in my UnRaid system so i pressed the shutdown button without first stopping the Array of disks, i guess thats a rookie mistake.. but now when i boot my system i have some disks with a "Unmountable: Wrong or no file system" message. I found some threats here on how to fix it, but i didnt succeed yet.

 

I have attachted the diagnostics log files for more information. If there are any question, feel free to ask ofcourse :)

root@UnRaidOS:~# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0    7:0    0 117.9M  1 loop /lib/firmware
loop1    7:1    0  19.4M  1 loop /lib/modules
loop2    7:2    0    20G  0 loop /var/lib/docker/btrfs
                                 /var/lib/docker
loop3    7:3    0     1G  0 loop /etc/libvirt
sda      8:0    1  59.8G  0 disk 
└─sda1   8:1    1  59.8G  0 part /boot
sdb      8:16   0   1.8T  0 disk 
└─sdb1   8:17   0   1.8T  0 part 
sdc      8:32   0   1.8T  0 disk 
└─sdc1   8:33   0   1.8T  0 part 
sdd      8:48   0   1.8T  0 disk 
└─sdd1   8:49   0   1.8T  0 part 
sde      8:64   0 465.8G  0 disk 
└─sde1   8:65   0 465.8G  0 part 
md1      9:1    0 465.8G  0 md   /mnt/disk1
md2      9:2    0   1.8T  0 md   
md3      9:3    0   1.8T  0 md   
md4      9:4    0   1.8T  0 md   
root@UnRaidOS:~# btrfs fi show
Label: none  uuid: 16a1d760-1d68-4a40-8d28-eb0c22e4b8a7
        Total devices 1 FS bytes used 2.42GiB
        devid    1 size 20.00GiB used 4.52GiB path /dev/loop2

Label: none  uuid: 012e5100-7bc9-498a-94c7-4f38e29cd32b
        Total devices 1 FS bytes used 728.00KiB
        devid    1 size 1.00GiB used 126.38MiB path /dev/loop3

warning, device 3 is missing
Label: none  uuid: 783d706a-3752-45d5-80e9-05fb172ba5ce
        Total devices 3 FS bytes used 988.64GiB
        devid    1 size 1.82TiB used 669.00GiB path /dev/md2
        devid    2 size 1.82TiB used 668.03GiB path /dev/md3
        *** Some devices missing

 

I have also tried some resuce commands:

root@UnRaidOS:~# btrfs rescue zero-log /dev/sdb1
warning, device 3 is missing
Clearing log on /dev/sdb1, previous log_root 0, level 0
root@UnRaidOS:~# btrfs rescue zero-log /dev/sdc1
No valid Btrfs found on /dev/sdc1
ERROR: could not open ctree
root@UnRaidOS:~# btrfs rescue zero-log /dev/sdd1
warning, device 3 is missing
Clearing log on /dev/sdd1, previous log_root 0, level 0

 

I found it weird that i get messages where a disk is missing, its plugged in, its running and i can see it in Unraid.

 

Kind regrads,

Graxo

unraidos-diagnostics-20230402-1441.zip

Edited by Graxo

  • Community Expert
1 hour ago, Graxo said:

so i pressed the shutdown button without first stopping the Array of disks, i guess thats a rookie mistake..

That wasn't the problem, at least not for disks 2 and 3, could have been for disk4.

 

1 hour ago, Graxo said:
        devid    1 size 1.82TiB used 669.00GiB path /dev/md2
        devid    2 size 1.82TiB used 668.03GiB path /dev/md3

This shows disks 2 and 3 were part of the same btrfs pool, together with another disk, were these assigned to a cache pool  before? If they were being used with the default raid1 profile data might be still recoverable despite the missing disk, if there's any important data there.

 

Disk1 is xfs and mounting, disk4 is also xfs but has filesystem corruption, so check filesystem for that one.

 

 

  • Author

Hi!

Thanks for the quick reply! Much appreciated!

Atm i dont use a cache pool. This is something i still have to look into.

The data is not really important, so i reformatted the disks and everything is working fine again.

Is there a way to prevent this from happening again?

 

  • Community Expert

This usually can only happen if the device were previously used with a btrfs pool, with Unraid or outside Unraid.

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.