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.

Bad Superblock on Disk in array

Featured Replies

Unraid had be running for almost 6 days.  II created 2 VM's One Ubuntu and one Windows.  I created a separate user for each VM. Set passwords for both. Logged in and setup and configured both. I wanted to add a dedicated drive for them, so I shut down and added the drive. When I rebooted Disk 1 (4TB) did not mount. I Sopped the array and restarted in maintenance mode.  I then ran the Filesystem Status check. It found my primary Super block was corrupted but the secondary was ok.  It said I had to mount the drive for it to correct  it. Also, I ran Preclear on all the drives in the array prior to use. I have never mounted any drives directly on my VM's.

 

How do I mount the drive?  If I have to reformat the drive, will I be able to recover the data on it?  I am using "High Water" for write.

 

I apologize if this is not the correct forum, I am a newbe.

 

Thanks in advance for any help.

behemouth-diagnostics-20200321-1846.zip

  • Author

Also, I see two new VM's are missing from the VMS tab and Krusader is missing from the Docker tab.

  • Author

Yes I was following the wiki instructions.  I did not run the XFS repair tool.  Do I do this from a shell command window?  My disk is listed as "sdk" is that the device name? What command ... -v or -nv?  This is new, want to be careful.

 

Thanks for the quick reply!

  • Author

Ok, I ran the xfs_repair with the -v switch. this returned:

--------------------------------------------------------------------------------------------------

Phase 1 - find and verify superblock... bad primary superblock - bad magic number !!! attempting to find secondary superblock... .found candidate secondary superblock... verified secondary superblock... writing modified primary superblock - block cache size set to 4607824 entries sb realtime bitmap inode 18446744073709551615 (NULLFSINO) inconsistent with calculated value 129 resetting superblock realtime bitmap ino pointer to 129 sb realtime summary inode 18446744073709551615 (NULLFSINO) inconsistent with calculated value 130 resetting superblock realtime summary ino pointer to 130 Phase 2 - using internal log - zero log... zero_log: head block 109496 tail block 109446 ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_repair. If you are unable to mount the filesystem, then use the -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this.

--------------------------------------------------------------------------------------------------

How do I force mount this disk to replay the metadata changes?

 

Thanks in advance.

  • Community Expert
1 hour ago, Mr-Cpu said:

My disk is listed as "sdk" is that the device name?

No. Please read that wiki again. You must repair the md device for a disk in the parity array, or you will invalidate parity.

  • Author

I used the repair function associated with the unmountable disk (Disk1) with -v switch which yielded the results posted in my previous post.  What now?  how do I mount this disk so it can reply the metadata which will hopefully allow an easy fix.

  • Community Expert

It is unmountable. Use the -L switch.

Archived

This topic is now archived and is closed to further replies.

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.