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.

External USB HDD goes offline and becomes inaccessible after several hours (XFS error, sdf1)

Featured Replies

Hello,
I'm using Unraid 7.1.4 and connected an external HDD (24TB ST24000DM001) via USB. At first, it mounts and works fine using Unassigned Devices. However, after about half a day, the drive suddenly becomes unavailable — the mount/unmount icons are greyed out, and it appears as an Array disk (even though it’s not).

Here is the issue timeline and relevant logs:

  • The drive is detected normally:

Jul 5 21:59:43 YURIANAS kernel: sd 7:0:0:0: [sdf] 46875541504 512-byte logical blocks: (24.0 TB/21.8 TiB)
Jul 5 21:59:43 YURIANAS kernel: sdf: sdf1
Jul 5 21:59:43 YURIANAS kernel: sd 7:0:0:0: [sdf] Attached SCSI disk

コピーする編集する

Jul 5 21:59:43 YURIANAS kernel: sd 7:0:0:0: [sdf] 46875541504 512-byte logical blocks: (24.0 TB/21.8 TiB) Jul 5 21:59:43 YURIANAS kernel: sdf: sdf1 Jul 5 21:59:43 YURIANAS kernel: sd 7:0:0:0: [sdf] Attached SCSI disk

  • But later, I get an XFS error:

Jul 6 11:49:21 YURIANAS kernel: device offline error, dev sdf, sector 23624466960 op 0x1:(WRITE)
Jul 6 11:49:21 YURIANAS kernel: XFS (sdf1): log I/O error -19
Jul 6 11:49:21 YURIANAS kernel: XFS (sdf1): Filesystem has been shut down due to log error (0x2).

コピーする編集する

Jul 6 11:49:21 YURIANAS kernel: device offline error, dev sdf, sector 23624466960 op 0x1:(WRITE) Jul 6 11:49:21 YURIANAS kernel: XFS (sdf1): log I/O error -19 Jul 6 11:49:21 YURIANAS kernel: XFS (sdf1): Filesystem has been shut down due to log error (0x2).

  • Then the system cannot access the block device anymore:

Jul 6 12:10:54 YURIANAS kernel: /dev/sdf1: Can't lookup blockdev

コピーする編集する

Jul 6 12:10:54 YURIANAS kernel: /dev/sdf1: Can't lookup blockdev

  • And finally:

Jul 6 12:11:50 YURIANAS kernel: XFS (sdf1): Unmounting Filesystem

コピーする編集する

Jul 6 12:11:50 YURIANAS kernel: XFS (sdf1): Unmounting Filesystem

After this point, the mount/unmount buttons disappear (grey out) and the drive ends up with an icon that says "Unallocated Device" array, even though it's not part of any array.

This seems to happen frequently after a few hours of uptime.

My questions:

  1. Is this a known issue with external USB drives on Unraid?

  2. Is the XFS log I/O error due to power saving, USB disconnect, or something else?

  3. How can I avoid the system treating the drive as an Array disk after failure?

  4. What’s the proper way to recover from this without rebooting?

Thanks in advance for your help. Let me know if you need full diagnostics or more logs.


YURIANAS_Main - Google Chrome 2025_07_07 7_39_59.png

Edited by yamanobe

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.