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.

Issues with USB Drive and XFS errors

Featured Replies

Hi All,

Unraid GUI is occasionally showing "USB drive is offline please post diags on the forum." It boots fine and I plugged it into a windows machine and ran chkdsk with no errors. I have replaced the USB twice and this error persists, it shows fine elsewhere as well.

Also having some errors with drives that may show up in the diagnostics. Multiple drives show as disabled occasionally and need to be re-added and rebuilt, unsure if this is caused by the USB drive issues. Had a ZFS pool fail at one point as well (check my previous posts). I have ordered a replacement HBA and cables and currently rebuilding a drive, also looks like I may need to run xfs repair once the rebuild it is done ("Structure needs cleaning" errors in dockers). If anything else shows up regarding that would appreciate the advice as well.

Appreciate any help! Thanks

licenas-diagnostics-20260426-2136.zip

Solved by JorgeB

  • Author
24 minutes ago, JorgeB said:

Syslog is being spammed with filesystem issues on disk2, check filesystem on that disk, then reboot to clear thelogs, and post new diagnostics after the next issues.

Will do, just about finished rebuilding disk 2 so will check after that.

  • Author
4 hours ago, JorgeB said:

Syslog is being spammed with filesystem issues on disk2, check filesystem on that disk, then reboot to clear thelogs, and post new diagnostics after the next issues.

Got 2 of my drives fixed up with xfs_repair now. See new diagnostics, did see the USB offline/corrupt error after my last reboot but not as of yet for this boot (when I generated the diags).licenas-diagnostics-20260427-2310.zip

4 hours ago, lbrwnie said:

just about finished rebuilding disk 2 so will check after that.

For future reference, you should always repair the filesystem BEFORE rebuilding.

  • Author
5 minutes ago, trurl said:

For future reference, you should always repair the filesystem BEFORE rebuilding.

Yeah, the drive was offline and had to re-add it to array and rebuild. Will attempt this next time. Also, lost a bunch of data from the repair apparently... I have a backup but thats a real pain

Your system share is on the array. Ideally, Docker/VM shares - appdata, domains, system - should have all files on cache or other pool with nothing on the array, so Docker/VM will perform better, and so array disks can spin down since these files are always open. Arguably, system is the most important share to have off the array, since its files are always open if Docker or VM Manager is enabled, even if no containers or VMs are running.

In fact, you have system and domains both configured to be moved to the array.

Nothing can move open files so you will have to disable Docker and VM Manager in Settings before these shares can be moved.

None of this should be the cause of your other problems.

You seem to have a plugin related to USB that is unknown or too old to be updated. Remove that plugin.

libvirt.hotplug.usb.plg - 2025.12.03  (Unknown to Community Applications)
  • Author
4 minutes ago, trurl said:

Your system share is on the array. Ideally, Docker/VM shares - appdata, domains, system - should have all files on cache or other pool with nothing on the array, so Docker/VM will perform better, and so array disks can spin down since these files are always open. Arguably, system is the most important share to have off the array, since its files are always open if Docker or VM Manager is enabled, even if no containers or VMs are running.

In fact, you have system and domains both configured to be moved to the array.

Nothing can move open files so you will have to disable Docker and VM Manager in Settings before these shares can be moved.

None of this should be the cause of your other problems.

Roger, will fix this up. Had a ZFS pool fail a while ago and swapped these around, must have forgot to fix it. Appreciate it

4 minutes ago, trurl said:

You seem to have a plugin related to USB that is unknown or too old to be updated. Remove that plugin.

libvirt.hotplug.usb.plg - 2025.12.03  (Unknown to Community Applications)

Removed that, thanks

  • Author
10 hours ago, trurl said:

You seem to have a plugin related to USB that is unknown or too old to be updated. Remove that plugin.

libvirt.hotplug.usb.plg - 2025.12.03  (Unknown to Community Applications)

Still getting the USB drive is corrupted or offline error after this.

11 hours ago, lbrwnie said:

lost a bunch of data from the repair apparently

I don't see any lost+found in your diagnostics.

Are you using USB2 port (recommended) for your boot flash?

  • Author
1 hour ago, trurl said:

I don't see any lost+found in your diagnostics.

Are you using USB2 port (recommended) for your boot flash?

I did reboot after running the repairs so maybe got removed? First time running xfs repairs in the 10 years running unraid if thats not obvious haha

No, don't have one on this motherboard unfortunately

6 hours ago, lbrwnie said:

Still getting the USB drive is corrupted or offline error after this.

Post new diags, please.

Apr 27 23:37:25 LiceNAS webgui: /boot/config/flash.cfg corrupted or missing

Do a dummy change to recreate this file, e.g., export/stop exporting the flash drive.

  • Author
1 minute ago, JorgeB said:

Apr 27 23:37:25 LiceNAS webgui: /boot/config/flash.cfg corrupted or missing

Do a dummy change to recreate this file, e.g., export/stop exporting the flash drive.

Done, will wait and see if error pops up. Do see in the file list it was recreated/modified at the timestamp I did that, thanks for the tip

8 hours ago, lbrwnie said:

did reboot after running the repairs so maybe got removed?

lost+found would be a new user share.

Why do you think any data was lost?

  • Author
5 minutes ago, trurl said:

lost+found would be a new user share.

Why do you think any data was lost?

The drives went from 60-70% full down to 10% after the repair, was missing the majority of my appdata (wasn't even set to array) and a bunch of files from other shares. Don't see any user share under shares named lost+found

Me neither.

10 hours ago, trurl said:

I don't see any lost+found in your diagnostics.

Repair would not be the cause of your loss. It especially can't lose data on other drives. Did you format anything?

  • Author
Just now, trurl said:

Me neither.

Repair would not be the cause of your loss. It especially can't lose data on other drives. Did you format anything?

Nope, nothing else was done. Was making sure not to touch anything while repair was running, unraid was booted in safe mode and array in maintenance mode

Maybe something else was done earlier and you just hadn't noticed until you had this other problem.

5 minutes ago, trurl said:

Repair...can't lose data on other drives

Since repair is done in maintenance mode it is not possible for anything to access the filesystems of other drives. Only the filesystem being repaired is accessed.

  • Author
Just now, trurl said:

Maybe something else was done earlier and you just hadn't noticed until you had this other problem.

Since repair is done in maintenance mode it is not possible for anything to access the filesystems of other drives. Only the filesystem being repaired is accessed.

Perhaps, would be very odd as all my docker apps were working up until I rebooted to safe mode to repair the drive. Wasn't a complete deletion on anything in any share either, just some/most files with some shared not touched nearly as much. Also looked to be isolated to the disks I had errors found and fixed with xfs_repair. The other disks are at their previous capacity %. Maybe my appdata was still on array and I didn't move them back over correctly after I had that pool failure and reconfigured everything. Don't know what else could have affected only the repaired drives and not the others but not completely wiped them either.

On 4/27/2026 at 9:12 AM, lbrwnie said:

2 of my drives fixed up with xfs_repair

Disk2 and what other disk?

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.