Jump to content

Very slow (12mins+) to mount array


ericbox
Go to solution Solved by ericbox,

Recommended Posts

Can anybody explain why starting my array, more specifically, mounting the drive takes such a long time? When observing the syslog, the mount command consistently takes ~12m30sec for a 2TB array. This is 100% reproducible and always takes roughly the same amount of time +/- 10 seconds

During this time, no other processes are running and interestingly enough the data drive has 1 - 1.5MB/s reads throughout this time. What exactly is it doing during this time and is there a way to avoid it?
Is this expected and does it take longer as the array grows bigger?

What I've tried:

  • Started without plugins
  • Ran xfs_check ... didn't notice anything out of the report, but not really sure what I'm looking for either
  • Started the array in maintenance and manually ran the mount command via terminal. Same slowness, and verbose flag didn't include anything new
  • The two disks are quite old with many power on hours as I'm just building this array as a proof-of-concept for now, but I'd like to make this my forever cloud


Any help is appreciated. Thanks

 

Edit: logs removed, diagnostics attached in reply below

Edited by ericbox
removed logs for brevity
Link to comment

Not much to report from diskspeed, thanks for the suggestion though. Ran it multiple times with different percentages and saw similar performance.

The array speed is fine once it's mounted, but it's just that initial 12min freeze that's very odd. Stopping the array responds quickly, within 10 seconds.

benchmark-speeds-2.thumb.png.a05708a13ef2b1aa9783b787908d177d.png

Link to comment
  • Solution

Thanks for the replies. Looks like it wasn't related to Unraid.

I booted an Ubuntu live CD last night and saw some slowness on boot when it was mounting the XFS file system (only 6+ mins there), so I also suspected a corrupt FS. Luckily this was just a proof-of-concept so no real data. I formatted the drives and started Unraid fresh with a New Config and it now mounts quickly as expected.

 

I'll cross my fingers and hope this was a one-time thing as I didn't find anybody else having similar issues. So maybe I corrupted it swapping drives around as I was getting things setup on my first-time Unraid usage.

This seems like a great piece of software and a really nice community. Thanks again. I'll resolve this topic.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...