• [6.7.0] Disk unmountable [SOLVED]


    tazman
    • Minor

    Hi,

     

    during the re-boot after the 6.7.0 upgrade the machine hung during BIOS boot and needed to be turned off again. When 6.7.0 came up it reported Disk 17 as "Unmountable: No file system" with the following errors in the log:

     

    May 21 12:24:14 SS kernel: XFS (md17): Internal error xlog_valid_rec_header(2) at line 5283 of file fs/xfs/xfs_log_recover.c. Caller xlog_do_recovery_pass+0xc7/0x514 [xfs]

    May 21 12:24:14 SS kernel: CPU: 2 PID: 14488 Comm: mount Not tainted 4.19.41-Unraid #1

    May 21 12:24:14 SS emhttpd: /mnt/disk17 mount error: No file system

     

    The SMART parameters of the drive looks normal, it passes the short SMART test. I didn't run the extended one.

     

    Diagnostics are attached.

     

    I suspect that the drive got damaged during the stalled BIOS boot and that this is not an unraid issue. However, I wanted to...

    - ... report it just in case that it might be a (possibly new) unraid issue

    - ... get your advice on how to best fix this.

     

    Normally just rebuild the drive, but a xfs repair might also be possible.

     

    Thanks for your support and advice!

     

    Taxman

    ss-diagnostics-20190521-0429.zip




    User Feedback

    Recommended Comments

    Rebuilding a disk won't help with filesystem corruption, you need to check filesystem on disk17:

     

    https://wiki.unraid.net/Check_Disk_Filesystems#Checking_and_fixing_drives_in_the_webGui

    or

    https://wiki.unraid.net/Check_Disk_Filesystems#Drives_formatted_with_XFS

     

    Seems to be relatively common some xfs disks going unmountable after a kernel upgrade, it happened before and it's happening to some users now, likely newer kernel is detecting some previous undetected corruption.

    • Like 1
    Link to comment

    Thanks, Johnny, that worked.

     

    A xfs_repair -Ln was needed and the drive is ok again. However, during the repair it mentioned that it is moving inodes to lost+found but I was not able to find any folder with that name on the drive looking at it using the disk share.

     

    It is sad to note that a file system corruption is not protected for by parity and can lead to data loss on a single drive failure.

    Link to comment

    If there's no lost+found folder then nothing was moved there, message always appears regardless.

     

    Drive failure and filesystem corruption are two very different things, parity can't help with the latter, same as protecting against accidental deletions or ransomware, that's what backups are for.

     

    Link to comment

    Checking all other drives now. Noticed that the message: "- found root inode chunk" appears always. Probably normal though "chunk" sounds negative. The scan, regardless of -n or -v is added only ends with "done" but doesn't state clearly that errors were found or not. I guess when nothing in-between is mentioned that says "error" it is ok. But wondering if there is a better way of telling if everything is ok nor not.

    Link to comment
    1 hour ago, tazman said:

    The scan, regardless of -n or -v is added only ends with "done" but doesn't state clearly that errors were found or not.

    With xfs_repair -n, when there's nothing obvious in the output, the only way to know if errors were detected is to check the exit status, 0 means no errors detected, 1 means errors detected

     

     

    Edited by johnnie.black
    Link to comment


    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.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.