williamtul11 Posted July 15, 2023 Share Posted July 15, 2023 Hello While moving some files to a storage server everything came to a stop and when I logged into the server I noticed on of my drives said it was unmountable and the wrong file type. After doing some google searching I learned that it was caused by a XFS filesystem error, after trying to to the repair as stated online I have not been able to get it up and going again. Included is a diagnostic I took this morning. Thanks in advance for any support you can offer. asc-diagnostics-20230715-0946.zip Quote Link to comment
williamtul11 Posted July 15, 2023 Author Share Posted July 15, 2023 For context this is the video I used as a guide when trying to repair the XFS issue. https://youtu.be/JVjB0ROdLBA Quote Link to comment
itimpi Posted July 15, 2023 Share Posted July 15, 2023 You mention trying to run an XFS repair, but you do not say in what way it failed! Were you trying from the GUI or from the command line (as the command line is prone to error). Were you doing anything different to the instruction in this section of the online documentation that covers handling unmountable disks. Quote Link to comment
williamtul11 Posted July 16, 2023 Author Share Posted July 16, 2023 Ran it through the GUI and got a fatal error, fatal error -- couldn't map inode 2149847950, err = 117. The procedure I used is the same as mentioned in the repairing a file system section and it never asked for a -L. I have not tried using the command line method yet but I will have to re-sync the drive since I started it up without it selected in the drive pool. The diagnostics I posted before should have been after I tried the GUI repair, if I messed it up let me know. Quote Link to comment
williamtul11 Posted July 16, 2023 Author Share Posted July 16, 2023 So after trying both in the terminal and GUI repair as outlined in the guide linked by you I still get the same error. I will add the diagnostic after completing the repair attempt. asc-diagnostics-20230716-1354.zip Quote Link to comment
williamtul11 Posted July 16, 2023 Author Share Posted July 16, 2023 I forgot to run the repair through the GUI with -v here is that diagnostic. asc-diagnostics-20230716-1814.zip Quote Link to comment
JorgeB Posted July 17, 2023 Share Posted July 17, 2023 Try updating to v6.12.3 and run it again, it includes newer xfsprogs. Quote Link to comment
williamtul11 Posted July 17, 2023 Author Share Posted July 17, 2023 Updated to the latest version and ran the repair in both the GUI and in the command line both failed. Command line spit out fatal error -- couldn't initialize XFS library and the GUI stopped and spit out fatal error -- couldn't map inode 2149847950, err = 117. Will add the diagnostic files link always. asc-diagnostics-20230717-1700.zip Quote Link to comment
JorgeB Posted July 18, 2023 Share Posted July 18, 2023 Please post the full xfs_repair output, but possibly it's failing to repair the filesystem, if that's the case not much else that can be done. Quote Link to comment
williamtul11 Posted July 18, 2023 Author Share Posted July 18, 2023 Here you go. The GUI is a .txt and the terminal is a picture. GUI XFS repair.txt Quote Link to comment
JorgeB Posted July 18, 2023 Share Posted July 18, 2023 With v6.12.x it will be xfs_repair /dev/md1p1 Also array must be started in maintenance mode. Quote Link to comment
williamtul11 Posted July 18, 2023 Author Share Posted July 18, 2023 Says the same thing as the GUI repair and everytime I have tried to repair it has been in maintenance mode. Anything else I can try? Quote Link to comment
itimpi Posted July 18, 2023 Share Posted July 18, 2023 43 minutes ago, williamtul11 said: Says the same thing as the GUI repair and everytime I have tried to repair it has been in maintenance mode. Anything else I can try? The repair log shows major corruption - I suspect most of the data on the drive will either be lost or end up in the lost+found folder which it takes a LOT of effort to sort out, Do you have decent backups? Quote Link to comment
williamtul11 Posted July 18, 2023 Author Share Posted July 18, 2023 most recent back up was a month ago, even if I could just get the files back that would be a huge help. Quote Link to comment
JorgeB Posted July 19, 2023 Share Posted July 19, 2023 Post the xfs_repair output. Quote Link to comment
williamtul11 Posted July 20, 2023 Author Share Posted July 20, 2023 Here is what I can copy and paste over since there is so many corrupted files it seems to exceed the line limit on the terminal. If you guys can share the command to maybe export or output it to a txt file let me know and I can get the whole output. Terminal XFS.txt Quote Link to comment
JorgeB Posted July 21, 2023 Share Posted July 21, 2023 Looks like an xfs_repair problem, it's aborting, you can see if the actual disk has better contents vs the emulated one, see if it mounts with UD, you need to unassigned it first. Quote Link to comment
williamtul11 Posted July 21, 2023 Author Share Posted July 21, 2023 so unmount it, start it up and see what happens? Quote Link to comment
JorgeB Posted July 21, 2023 Share Posted July 21, 2023 No, unassign disk1 and see if it mounts with the UD plugin. Quote Link to comment
williamtul11 Posted July 21, 2023 Author Share Posted July 21, 2023 tab that is telling me whats going on keeps crashing, also not sure if it is mounted since the mount button is still the same but it is letting me run a file system check on it. If the tab crashes does it keep on doing the repair or do I need to restart it? Quote Link to comment
williamtul11 Posted July 22, 2023 Author Share Posted July 22, 2023 Got the file check to finish I believe, ended with xfs_repair: rmap.c:1279: fix_inode_reflink_flags: Assertion `(irec->ino_is_rl & irec->ir_free) == 0' failed. Going to do the file check again. Quote Link to comment
williamtul11 Posted July 22, 2023 Author Share Posted July 22, 2023 Here is the copy of the file check output if you want to look it over. UD File check output.txt Quote Link to comment
williamtul11 Posted July 24, 2023 Author Share Posted July 24, 2023 So I am unsure if the repair worked, is there something else I can try to do? Quote Link to comment
itimpi Posted July 24, 2023 Share Posted July 24, 2023 Looks like the repair failed as xfs_repair crashed with an assertion failure. Even if it HAD worked it looks like a lot of corruption was detected so that much of the data would have ended up in the lost+found folder with cryptic names. Do you have backups? Not sure you can do much at the Unraid level other than wait to see if a new Unraid with a later version of xfs_repair works. Another possibility is to see if a disk recovery program such as XFS Explorer on Windows can do anything. 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.