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.

Start Array/Parity Check stuck on Mounting disks...

Featured Replies

I recently built a new server as an upgrade to my old rig. I had already transferred over all my old drives and did a parity check and everything was fine. I added a new data drive and a cache drive and everything has been working fine for a few days. Today, another new data drive finished pre-clearing and I tried to stop the array to add the new drive. For some reason, the stopping of the array got hung up, I believe on "Unmounting disks..." I couldn't get anything to change its status, so I powered down the server.

 

Now when I power it back up and get back to the webGUI (where all drives are detected as in "Normal operation"), I click the "Start" button to start the array and perform a parity check. However, just like when I tried to stop it, it's now stuck on "Mounting disks..."

 

I'm pretty new to all of this and the command line, so I'm not sure what to do to troubleshoot this and get everything working again. If someone could give me some guidance, it would be greatly appreciated.

  • Community Expert

Most likely filesystem corruption on a xfs disk, after starting the array, when the GUI gets stuck, use the console or SSH into the server and type diagnostics then upload the resulting zip.

  • Author

Okay, I'll give that a shot and see how it goes. Thanks for the help.

6 minutes ago, johnnie.black said:

Disk5 (md5) is the one with the problem, run xfs_repair on it:

 

http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems#Drives_formatted_with_XFS

 

 

 

At some point the wiki needs to be updated.

A disk repair tool can be activated from the GUI when the array is in maintenance mode.

The GUI takes care that the right tool - based on the file system in use - and right selected disk are chosen.

Should make life easier :)

 

  • Author
Quote

root@Tower:~# xfs_repair -v /dev/md5
Phase 1 - find and verify superblock...
        - block cache size set to 3040896 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 196710 tail block 194435
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.

 

This is what I get when trying it. Do I use the -L option?

  • Author
Just now, bonienl said:

 

At some point the wiki needs to be updated.

A disk repair tool can be activated from the GUI when the array is in maintenance mode.

The GUI takes care that the right tool - based on the file system in use - and right selected disk are chosen.

Should make life easier :)

 

 

How do you do it from the GUI?

1 minute ago, Tiller said:

 

How do you do it from the GUI?

 

1. Start your array in maintenance mode

2. On the Main page click on the disk which you want to verify/fix

3. Turn on HELP and follow the instructions

 

  • Community Expert
  At some point the wiki needs to be updated.

A disk repair tool can be activated from the GUI when the array is in maintenance mode.

The GUI takes care that the right tool - based on the file system in use - and right selected disk are chosen.

Should make life easier [emoji4]

 

 

Yes, at some point in the past I linked the GUI instructions, but since most users didn't remove the read only flag it was more work for me, but you're right, I should start linking those instead. 

 

 

 

  • Author
1 minute ago, bonienl said:

 

1. Start your array in maintenance mode

2. On the Main page click on the disk which you want to verify/fix

3. Turn on HELP and follow the instructions

 

 

Okay. I found it. Thanks.

 

However, it is giving me the same error message I replied with before about using the -L option. So do I just go ahead and do that or are there any other things I should try since it says the -L option may cause corruption?

  • Community Expert

Use -L, usually there's no data loss.

  • Author

Okay, I'll run it and report back.

 

Thanks again for all the help, everyone.

  • Author

So it finished and I was able to start the array. Are there any steps I need to do now? A parity check?

 

The only difference I noticed was a new share called "lost+found". Is there anything I need to do involving that?

  • Community Expert

Parity is maintained during the repair, but since you had unclean shutdowns you should do one, other than that check the lost+plus found folder for any lost/partial files.

  • Author

I am currently performing the parity check. All of the files in the lost+found folder seem to be 0 byte files with numbers as names. How am I supposed to interpret that? There are about 25 of them.

  • Community Expert

If they are all 0 byte files it's most likely nothing important, probably some transactions lost because of the not replayed log.

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.