I discovered the following error after migrating LUNs in the Event viewer

“The file system structure on the disk is corrupt and unusable on volume Data”

The issue was resolved by the following steps:

  • Open the command prompt and type chkntfs for the drive in the error to identify the file system state
    i.e chkntfs and press enter.
  • The output should be is not dirty or dirty. In my case i got the output dirty.

    The next step for me was to run chkdsk with option /x:

    At the command prompt type chkdsk /x and press enter (the /x option will dismount the volume, which will render all opened handles on this volume as invalid).

    I got the output below

    The type of the file system is NTFS.
    Volume dismounted. All opened handles to this volume are now invalid.
    Volume label is .

    CHKDSK is verifying files (stage 1 of 3)…
    512 file records processed.
    File verification completed.
    0 large file records processed.
    0 bad file records processed.
    0 EA records processed.
    0 reparse records processed.
    CHKDSK is verifying indexes (stage 2 of 3)…
    27 percent complete. (507 of 568 index entries processed)
    Deleting index entry ERRORLOG.1 in index $I30 of file 48.
    Deleting index entry ERRORLOG.11 in index $I30 of file 48.
    Deleting index entry ERRORLOG.12 in index $I30 of file 48.
    Deleting index entry ERRORLOG.13 in index $I30 of file 48.
    Deleting index entry ERRORLOG.14 in index $I30 of file 48.
    Deleting index entry ERRORLOG.15 in index $I30 of file 48.
    Deleting index entry ERRORLOG.16 in index $I30 of file 48.
    Deleting index entry ERRORLOG.17 in index $I30 of file 48.
    Deleting index entry ERRORLOG.18 in index $I30 of file 48.
    Deleting index entry ERRORLOG.2 in index $I30 of file 48.
    Deleting index entry ERRORLOG.3 in index $I30 of file 48.
    Deleting index entry ERRORLOG.4 in index $I30 of file 48.
    Deleting index entry ERRORLOG.5 in index $I30 of file 48.
    Deleting index entry ERRORLOG.6 in index $I30 of file 48.
    Deleting index entry ERRORLOG.7 in index $I30 of file 48.
    Deleting index entry ERRORLOG.8 in index $I30 of file 48.
    Deleting index entry ERRORLOG.9 in index $I30 of file 48.
    568 index entries processed.
    Index verification completed.
    CHKDSK is scanning unindexed files for reconnect to their original directory.
    Recovering orphaned file ERRORLOG.18 (57) into directory file 48.
    Recovering orphaned file ERRORLOG.17 (58) into directory file 48.
    Recovering orphaned file ERRORLOG.16 (59) into directory file 48.
    Recovering orphaned file ERRORLOG.15 (62) into directory file 48.
    Recovering orphaned file ERRORLOG.14 (65) into directory file 48.
    Recovering orphaned file ERRORLOG.13 (66) into directory file 48.
    Recovering orphaned file ERRORLOG.12 (86) into directory file 48.
    Recovering orphaned file ERRORLOG.11 (111) into directory file 48.
    Recovering orphaned file ERRORLOG.10 (114) into directory file 48.
    Recovering orphaned file ERRORLOG.8 (148) into directory file 48.
    Recovering orphaned file ERRORLOG.7 (165) into directory file 48.
    Recovering orphaned file ERRORLOG.5 (171) into directory file 48.
    Recovering orphaned file ERRORLOG.6 (200) into directory file 48.
    Recovering orphaned file ERRORLOG.4 (202) into directory file 48.
    Recovering orphaned file ERRORLOG.3 (212) into directory file 48.
    Recovering orphaned file ERRORLOG.2 (221) into directory file 48.
    Recovering orphaned file ERRORLOG.1 (241) into directory file 48.
    19 unindexed files scanned.
    Recovering orphaned file log_180.trc (244) into directory file 48.
    CHKDSK is recovering remaining unindexed files.
    1 unindexed files recovered.
    CHKDSK is verifying security descriptors (stage 3 of 3)…
    512 file SDs/SIDs processed.
    Security descriptor verification completed.
    29 data files processed.
    CHKDSK is verifying Usn Journal…
    1145688 USN bytes processed.
    Usn Journal verification completed.
    Correcting errors in the master file table’s (MFT) BITMAP attribute.
    Windows has made corrections to the file system.

    4159487 KB total disk space.
    2745728 KB in 237 files.
    640 KB in 31 indexes.
    0 KB in bad sectors.
    25471 KB in use by the system.
    22848 KB occupied by the log file.
    1387648 KB available on disk.

    65536 bytes in each allocation unit.
    64991 total allocation units on disk.
    21682 allocation units available on disk.

    The above output shows the error as having been corrected.

    [asa2 tpl=”Book”]B00TKFEE5S[/asa2]