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.

Drive unmountable

Featured Replies

Hello,

My docker containers and vm's disappeared out of nowhere. I rebooted thinking that would help it was stuck on spinning down drives. I forced reboot and when I started the array, my cache drive was unmountable. I tried reformatting it, doing more damage than anything. If I'm able to somehow get this to work or just reformat the cache drive, I'd greatly appreciate it. I am running Unraid version 6.12.2. I have also attached the diagnostics to this post. Thanks in advance.

sage-diagnostics-20231018-1834.zip

  • Community Expert
Oct 18 14:56:52 Sage kernel: sd 1:0:1:0: [sdc] tag#3135 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=DRIVER_OK cmd_age=0s
Oct 18 14:56:52 Sage kernel: sd 1:0:1:0: [sdc] tag#3135 CDB: opcode=0x28 28 00 00 00 02 00 00 00 08 00
Oct 18 14:56:52 Sage kernel: I/O error, dev sdc, sector 512 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
Oct 18 14:56:52 Sage kernel: sd 1:0:1:0: [sdc] tag#3134 UNKNOWN(0x2003) Result: hostbyte=0x0b driverbyte=DRIVER_OK cmd_age=7s
Oct 18 14:56:52 Sage kernel: sd 1:0:1:0: [sdc] tag#3134 CDB: opcode=0x2a 2a 00 3a 39 3b 1b 00 08 00 00
Oct 18 14:56:52 Sage kernel: I/O error, dev sdc, sector 976829211 op 0x1:(WRITE) flags 0x1800 phys_seg 20 prio class 2
Oct 18 14:56:52 Sage kernel: XFS (dm-4): log recovery write I/O error at daddr 0xb80b len 4096 error -5
Oct 18 14:56:52 Sage kernel: XFS (dm-4): failed to locate log tail
Oct 18 14:56:52 Sage kernel: XFS (dm-4): log mount/recovery failed: error -5
Oct 18 14:56:52 Sage kernel: XFS (dm-4): log mount failed
Oct 18 14:56:52 Sage kernel: sd 1:0:1:0: Power-on or device reset occurred

 

Issues with the cache device, try replacing cables and post new diags after array start.

  • Author

Swapped out the cables and looks like I'm getting the same error. Attached the screenshot and logs.

 

image.png.750af7c692fdefd075c7dc46236be573.png

sage-diagnostics-20231019-1510.zip

  • Community Expert

Much less but there are still errors, I guess it can also be a device problem, connect the SSD to the onboard SATA instead.

  • Community Expert

No device errors so far which is good, check filesystem on cache, run it without -n, and if it asks for -L use it.

  • Author

So I'm kind of stuck... having trouble determining what the cache drive file system was or is since it is on auto. Don't seem to be any instructions if the drive is set to auto on that page.

  • Community Expert

It's XFS.

  • Author

Received the following at the end of the scan.

.................Sorry, could not find valid secondary superblock
Exiting now.

  • Community Expert
9 minutes ago, Gazzo said:

Received the following at the end of the scan.

.................Sorry, could not find valid secondary superblock
Exiting now.

What was the exact command you used?   You can get this symptom if the command is not quite right.

  • Author

xfs_repair /dev/sdb and xfs_repair -n /dev/sdb, both yielded the same message

 

  • Community Expert

That's no the correct command, see the link above.

  • Author

only other command im seeing is "reiserfsck --fix-fixable /dev/sdb1"

 

should i run that one?

  • Community Expert
1 hour ago, Gazzo said:

only other command im seeing is "reiserfsck --fix-fixable /dev/sdb1"

 

should i run that one?

The xfs_repair always requires the partition number to e supplied so the device should have been /dev/sdb1

  • Author

After running xfs_repair -n /dev/sdb1  it returns the text below and then continues to scan and returns sorry could not find secondary block.

 

Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!

attempting to find secondary superblock...

 

I tried without -n and it said it couldn't run it because resource was busy. I did start the array in maintenance mode.

  • Community Expert
9 hours ago, Gazzo said:

I tried without -n and it said it couldn't run it because resource was busy.

If enabled disable array auto-start, reboot, start in maintenance mode and try again without -n.

  • Author

I checked to make sure that the auto-start is off. I rebooted, started in maintenance mode and tried xfs_repair /dev/sdb1 again. Same message.

image.png.ca783edcb8a32ff622f6499bf6608c09.png

  • Community Expert

That's rather strange, try rebooting in safe mode in case there's a plugin interfering.

  • Author

Unfortunately same results :/

Rebooted in safe mode, started in maintenance mode and ran the command xfs_repair /dev/sdb1

image.png.9c3f8500d5bc037abe79be9890ed6870.png

image.png.db5470fe25e727beefac32fae2c10287.png

  • Community Expert

Post new diags.

  • Community Expert

Before missed that you are using encryption, it should be:

 

xfs_repair -v /dev/mapper/sdb1
  • Community Expert

Alternatively you can always use the GUI like the link above explains, no need for typing commands.

  • Author

So I did xfs_repair -v /dev/mapper/sdb1 and received a short error. Then I ran xfs_repair -vL /dev/mapper/sdb1 and got some results that I don't understand. Should I post a new diagnostics? Not sure if this would be included.

 

image.thumb.png.2e19292ee76897999b508e57437d7931.png

  • Community Expert

Instead of a screenshot copy/paste the full xfs_repair output here.

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.