Meller Posted April 13, 2021 Share Posted April 13, 2021 So I've read up on people running the following commands xfs_db -r /dev/md# (where # = whichever disk you want to mount to inspect) From there you can run "Frag" to see the fragmentation on the disk. I have 8 drives (7 drives 1 parity). All are roughly 8TB. The lowest one is 6.7TB used and the most full is 7.2TB. When I ran a frag check, I was getting fragmentation at 97.5% on the least fragmented drive, with the highest being over 98%. Most of the articles/reddit/forum posts I see have people talking about anything over say 60% is high enough to make them defrag. Where as a lot of people are at like 40% or well under. With mine being at 97-98%... is there any good way to defrag them all at once, rather than running this method one drive at a time? I understand this can take many days to run, per disk. Just curious what the best approach or method would be. Quote Link to comment
JorgeB Posted April 13, 2021 Share Posted April 13, 2021 43 minutes ago, Meller said: is there any good way to defrag them all at once Only if you disable parity, or it would be hammered and take much longer. Quote Link to comment
Meller Posted April 13, 2021 Author Share Posted April 13, 2021 Ok, if I didn't disable parity... how would I go about defragging them in the best method? Is one at a time still the only route? Quote Link to comment
JorgeB Posted April 13, 2021 Share Posted April 13, 2021 32 minutes ago, Meller said: Is one at a time still the only route? With parity is what I would recommend. Quote Link to comment
Meller Posted April 13, 2021 Author Share Posted April 13, 2021 Ok, if I disabled parity... how would I go about defragging them in the best method? Is one at a time still the only route? Quote Link to comment
JorgeB Posted April 13, 2021 Share Posted April 13, 2021 If you disable parity you can defrag them all the same time. Quote Link to comment
John_M Posted April 13, 2021 Share Posted April 13, 2021 Have you see this thread? Unless things have changed in the last five years, it hardly seems worth the effort. You might make better use of the time simply copying files sequentially from one disk to another. I personally think it's a non-issue anyway. Quote Link to comment
Meller Posted May 10, 2021 Author Share Posted May 10, 2021 On 4/13/2021 at 6:47 AM, John_M said: Have you see this thread? Unless things have changed in the last five years, it hardly seems worth the effort. You might make better use of the time simply copying files sequentially from one disk to another. I personally think it's a non-issue anyway. Strongly disagree. While yes, it took me a couple of weeks to defrag (xfs_fsr) 8x8tb drives all at 89% or higher capacity. I can honestly say... once I finished and had all drives at 1% fragmentation or less... the speed was so much faster. Files and folders open almost immediately, plex media plays almost immediately with the ability to skip/search so SO much faster. I will 100% keep an eye on my disk/file/folder fragmentation for now on as keeping it low has proven first hand how extremely beneficial it is in terms of speed. Quote Link to comment
FlyingTexan Posted February 5, 2023 Share Posted February 5, 2023 How did you check how fragmented your drives were? While they were defragging were you still able to use them? I was hoping to find a disk utility docker or plugin but no luck. Quote Link to comment
ljm42 Posted February 6, 2023 Share Posted February 6, 2023 On 2/4/2023 at 11:16 PM, FlyingTexan said: How did you check how fragmented your drives were? While they were defragging were you still able to use them? I was hoping to find a disk utility docker or plugin but no luck. See the link John_M posted a few comments back 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.