July 15, 20232 yr 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
July 15, 20232 yr Author For context this is the video I used as a guide when trying to repair the XFS issue. https://youtu.be/JVjB0ROdLBA
July 15, 20232 yr Community Expert 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.
July 16, 20232 yr Author 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.
July 16, 20232 yr Author 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
July 16, 20232 yr Author I forgot to run the repair through the GUI with -v here is that diagnostic. asc-diagnostics-20230716-1814.zip
July 17, 20232 yr Community Expert Try updating to v6.12.3 and run it again, it includes newer xfsprogs.
July 17, 20232 yr Author 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
July 18, 20232 yr Community Expert 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.
July 18, 20232 yr Author Here you go. The GUI is a .txt and the terminal is a picture. GUI XFS repair.txt
July 18, 20232 yr Community Expert With v6.12.x it will be xfs_repair /dev/md1p1 Also array must be started in maintenance mode.
July 18, 20232 yr Author 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?
July 18, 20232 yr Community Expert 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?
July 18, 20232 yr Author most recent back up was a month ago, even if I could just get the files back that would be a huge help.
July 20, 20232 yr Author 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
July 21, 20232 yr Community Expert 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.
July 21, 20232 yr Author 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?
July 22, 20232 yr Author 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.
July 22, 20232 yr Author Here is the copy of the file check output if you want to look it over. UD File check output.txt
July 24, 20232 yr Author So I am unsure if the repair worked, is there something else I can try to do?
July 24, 20232 yr Community Expert 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.
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.