ericbox Posted September 8, 2023 Share Posted September 8, 2023 (edited) 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 September 8, 2023 by ericbox removed logs for brevity Quote Link to comment
Squid Posted September 8, 2023 Share Posted September 8, 2023 Can you post your entire diagnostics zip file Quote Link to comment
ericbox Posted September 8, 2023 Author Share Posted September 8, 2023 Yup, sorry, was just going off some old logs from last week since I rebuilt it ... captured diagnostics before (0112) and after (0126) mounting. And in case it's related, on bootup, the "Loading /bzroot..." does hang for 15-20seconds too danbox-diagnostics-20230908-0112.zip danbox-diagnostics-20230908-0126.zip Quote Link to comment
JorgeB Posted September 8, 2023 Share Posted September 8, 2023 Nothing obvious, run the docker diskspeed test to confirm the disks is performing normally. Quote Link to comment
ericbox Posted September 9, 2023 Author Share Posted September 9, 2023 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. Quote Link to comment
JorgeB Posted September 9, 2023 Share Posted September 9, 2023 That looks normal, not quite sure what it could be, next thing I would try would be to reformat the disk and create a new filesystem, data would need to be backed up first. 1 Quote Link to comment
Solution ericbox Posted September 10, 2023 Author Solution Share Posted September 10, 2023 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. Quote Link to comment
Recommended Posts
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.