December 12, 20169 yr I'm looking for some clarification: How do I know when a disk has been repaired? This past weekend I ran XFS_Repair (with -v) on all 15 of my data drives, and the majority of them finished within seconds. That said, 4 of them took between 2 and 5 minutes to finish. No matter how many times I ran XFS_Repair, I could not get those 4 drives to complete the check quicker. Does this mean they are still in need of repairing? I tried through the gui, as well as from command line. There are no messages output that indicate the state of my drive. Also, I noticed a thread in the requests forum that RobJ started with similar concerns, but without an official response. Am I doing something wrong? Am I supposed to be re-running xfs_repair -v until the drive completes in a few seconds? Is it repaired, but just a bit poky? Any input would be great!
December 12, 20169 yr Community Expert If you run xfs_repair without the -n option then the repair will take place. The length of time is highly dependent on the number of files on the drive so your timings are not abnormal.
December 12, 20169 yr I can't believe more users haven't complained about it, because it's ridiculous! It's absurd for a diagnostic tool not to at least say "it's fine" or "it's not fine, do this" or at least "don't know". Instead the tool reports suspicious lines that look like it *might* be doing something, but in a way that leaves you confused as to whether it did anything at all, or if there's even anything at all to do. Terrible usability! I know that some users found that their drive didn't work before, and after running it, the drive *did* work, an empirical result. The tool does seem to work, especially the latest versions, but it still isn't communicative, not usefully at least. We aren't waiting for an official response, as there's nothing Lime Technology can do, it's up to the XFS developers, whoever they may be. But I'm still hoping bonienl or Eric or Tom can add a check on the return code, and thereby inform us of the pass/fail status we need.
December 13, 20169 yr Author Thanks for the responses! Do we need to run xfs_repair more than once on a drive, or is one time sufficient to repair an ailing drive?
December 13, 20169 yr Community Expert Thanks for the responses! Do we need to run xfs_repair more than once on a drive, or is one time sufficient to repair an ailing drive? i believe that as long as xfs_repair does not report an error then there is nothing to be gained by running it again.
Archived
This topic is now archived and is closed to further replies.