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.

v7.2.3 Appdata cache/FS screwed - no longer accepting good working drive

Featured Replies

Initially had what looked like a faulty sata cable, removed the disk and re-balanced back to the one disk.

Have replaced the cable and on adding the drive back in, it's all turned to custard.

Initial steps were:

Re-added drive to appdata cache pool, prompted for a format of the disk. Ticked Yes.

Array started and says the appdata cache pool is unmountable/readable fs. I thought it should automatically pick this up and set it up as raid1, it's done this for me in the past. Assume it as a v7 bug, which on googling looks like it might be?

Rebooted the array and then got this:

Wrong Pool State
appcache - too many wrong or missing devices

Found a few posts about this to remove the pool and re-add it back but in doing so when the array starts, it just comes back with no drive found in the 2nd slot(the original good disk with data) which is assigned to slot one but shows as missing from slot 2.

If i remove the pool again, I just get the same.

Edited by Distorter

Solved by JorgeB

  • Author

Even if I redo the Pool on reboot it has a mare:

19Z was in slot one whenever I create the pool and then on reboot it says it is wrong because it drops that disk completely on array start up.

The "wrong" is wrong or more so unraid is very confused.

image.png

  • Distorter changed the title to v7.2.3 Appdata cache/FS screwed - no longer accepting good working drive
  • Community Expert

Post the output from btrfs fi show

  • Author
3 hours ago, JorgeB said:

Post the output from btrfs fi show

Label: none uuid: b87d8b7b-fbe0-4260-8dbd-05b70b3f9ce7

Total devices 2 FS bytes used 552.59GiB

devid 1 size 931.51GiB used 618.03GiB path /dev/nvme0n1p1

devid 2 size 931.51GiB used 618.03GiB path /dev/nvme1n1p1

Label: none uuid: a36906f0-74ea-4479-b57b-fee2e8aec608

Total devices 1 FS bytes used 440.00KiB

devid 1 size 1.00GiB used 126.38MiB path /dev/loop2

Label: none uuid: e4152190-aeeb-4c91-b1c1-6e222b394f50

Total devices 2 FS bytes used 77.58GiB

devid 1 size 465.76GiB used 84.03GiB path /dev/sdg1

devid 2 size 465.76GiB used 54.06GiB path /dev/sdh1

I've removed the pool so I can start the array and get to my shares if that changes anything in those results.

  • Author

So I can successfully mount /dev/sdh1 from the unassigned device and browse this.

But mounting /dev/sdg1 give this error:

Mar 11 00:49:44 Ragnarok unassigned.devices: Mounting partition 'sdg1' at mountpoint '/mnt/disks/S2R9NX0J522893R'...

Mar 11 00:49:44 Ragnarok unassigned.devices: Mount cmd: /sbin/mount -t 'btrfs' -o rw,relatime,space_cache=v2,discard '/dev/sdg1' '/mnt/disks/S2R9NX0J522893R'

Mar 11 00:49:44 Ragnarok kernel: BTRFS info (device sdg1): first mount of filesystem e4152190-aeeb-4c91-b1c1-6e222b394f50

Mar 11 00:49:44 Ragnarok kernel: BTRFS info (device sdg1): using crc32c (crc32c-intel) checksum algorithm

Mar 11 00:49:44 Ragnarok kernel: BTRFS error (device sdg1): devid 2 uuid bac53136-eb52-4ea8-bf24-11b25eb40fe5 is missing

Mar 11 00:49:44 Ragnarok kernel: BTRFS error (device sdg1): failed to read chunk tree: -2

Mar 11 00:49:44 Ragnarok kernel: BTRFS error (device sdg1): open_ctree failed: -2

Mar 11 00:49:44 Ragnarok unassigned.devices: Mount of 'sdg1' failed: 'mount: /mnt/disks/S2R9NX0J522893R: mount() failed: No such file or directory. dmesg(1) may have more information after failed mount system call.'

  • Community Expert
44 minutes ago, Distorter said:

devid 1 size 465.76GiB used 84.03GiB path /dev/sdg1

devid 2 size 465.76GiB used 54.06GiB path /dev/sdh1

Pool appears to be out of sync. Try temporarily dropping the second device offline, is has less used space, so you are going to assume it's older:

echo 1 > /sys/block/sdh/device/delete

Then and without rebooting, create a new pool and add only sdg to it, start the array, and post new diags

  • Author

OK, so that has at least allowed the fs to mount but I think the 54GB is correct as thats what it was originally before all of this. Not sure what the extra 30GB is? Or I could be wrong.

Things aren't working though as docker wont start.

unraid-diagnostics-20260311-0913.zip

Edited by Distorter

  • Author

How would that break the pool and btrfs?

I tried to just go nuclear and did the new config and wiped the disks but it still won't mount the drives. This is as a brand new pool with wiped disks but it just loops and asks to format the drives over and over.

It's like unraid has blacklisted the disks?

unraid-diagnostics-20260311-2053.zip

Edited by Distorter

  • Community Expert
3 hours ago, Distorter said:

How would that break the pool and btrfs?

Not sure what you are asking. The pool is currently working with one device, but the Docker image is corrupt and needs to be recreated. Once all is working, you can add the other device to recreate the mirror, but note that it will need to be wiped first, but only do that after confirming the pool is working as expected with the current one.

  • Author

How do I get unraid to accept the disks as brand new like they've never seen them before?

  • Community Expert
  • Solution

If you mean pool SSDs you can wipe them with blkdiscard -f , all data will be deleted.

  • Author
9 minutes ago, JorgeB said:

If you mean pool SSDs you can wipe them with blkdiscard -f , all data will be deleted.

Have tried that. Even did a new config.

  • Community Expert

Post new diags after trying that.

  • Community Expert

Device is in use:

Mar 13 18:22:45 Ragnarok root: This disk is currently in use - repartitioning is probably a bad idea.

You cannot reformat a mounted device.

/dev/sdh1 466G 42G 423G 9% /temp_mount

  • Author

Ah mounted it to pull the data. Will unmount and try again.

The gui just cycles over and over, doesnt give too much to go on.

  • Author

Thanks for your help.

blkdiscard -f was the command needed to get the drive back into a working state.

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.