Menu

9.2 'diff' error

Help
2016-01-10
2016-01-13
  • Gábor Lévai

    Gábor Lévai - 2016-01-10

    After adding 36540 new file and directory to the array:

    c:\SnapRAID>snapraid diff

    ...
    add U:/data3/DEVEL/#2011-06-28/#32/P13/reg_index.hpp
    add U:/data3/DEVEL/#2011-06-28/#32/P13/rss.cpp
    Internal inode '981581920' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#
    32/P13/save_inf.cpp' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.bp
    f' matching and already present but different
    Stacktrace of snapraid v9.2, mingw, gcc 4.9.3, 64-bit, PATH_MAX=1024
    [bt] 00: 000000000042ea90
    [bt] 01: 000000000041881a
    [bt] 02: 0000000000419203
    [bt] 03: 00000000004193f2
    [bt] 04: 00000000004193f2
    [bt] 05: 00000000004193f2
    [bt] 06: 00000000004193f2
    [bt] 07: 0000000000419697
    [bt] 08: 0000000000419de7
    [bt] 09: 000000000040c0a4
    [bt] 10: 00000000004013e8
    [bt] 11: 000000000040151b
    [bt] 12: 0000000076f959cd
    [bt] 13: 00000000771cb891
    Please report this error to the SnapRAID Forum:
    https://sourceforge.net/p/snapraid/discussion/1677233/

    c:\SnapRAID>

     
  • Gábor Lévai

    Gábor Lévai - 2016-01-10

    And this:

    c:\SnapRAID>snapraid check
    Self test...
    Loading state from T:/SnapRAID/snapraid.content...
    Searching disk d1...
    Searching disk d2...
    Searching disk d3...
    Using 7 MiB of memory.
    Initializing...
    Checking...
    100% completed, 6750 MB processed in 0:12
    Everything OK

    c:\SnapRAID>snapraid status
    Self test...
    Loading state from T:/SnapRAID/snapraid.content...
    Using 0 MiB of memory.
    SnapRAID status report:

    Files Fragmented Excess Wasted Used Free Use Name
    Files Fragments GB GB GB
    37 0 0 -12.9 3 18 15% d1
    354 0 0 -12.8 3 18 15% d2
    0 0 0 -34.3 0 - - d3


     391       0       0     0.0       6      36  15%
    

    100%|o
    |o
    |o
    |o
    |o
    |o
    |o
    50%|o
    |o
    |o
    |o
    |o
    |o
    |o
    0%|o_______________
    0 days ago of the last scrub/sync 0

    The oldest block was scrubbed 0 days ago, the median 0, the newest 0.

    No sync is in progress.
    The 100% of the array is not scrubbed.
    No rehash is in progress or needed.
    No error detected.

    c:\SnapRAID>snapraid sync
    Self test...
    Loading state from T:/SnapRAID/snapraid.content...
    Scanning disk d1...
    Scanning disk d2...
    Scanning disk d3...
    Internal inode '981581920' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#
    32/P13/save_inf.cpp' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.bp
    f' matching and already present but different
    Stacktrace of snapraid v9.2, mingw, gcc 4.9.3, 64-bit, PATH_MAX=1024
    [bt] 00: 000000000042ea90
    [bt] 01: 000000000041881a
    [bt] 02: 0000000000419203
    [bt] 03: 00000000004193f2
    [bt] 04: 00000000004193f2
    [bt] 05: 00000000004193f2
    [bt] 06: 00000000004193f2
    [bt] 07: 0000000000419697
    [bt] 08: 0000000000419dfa
    [bt] 09: 000000000040c0e3
    [bt] 10: 00000000004013e8
    [bt] 11: 000000000040151b
    [bt] 12: 0000000076f959cd
    [bt] 13: 00000000771cb891
    Please report this error to the SnapRAID Forum:
    https://sourceforge.net/p/snapraid/discussion/1677233/

    snapraid.conf:
    parity Z:\snapraid.parity
    2-parity Y:\snapraid.parity
    3-parity X:\snapraid.parity
    content T:\SnapRAID\snapraid.content
    content S:\SnapRAID\snapraid.content
    content R:\SnapRAID\snapraid.content
    content Q:\SnapRAID\snapraid.content

    disk d1 W:\data1\
    disk d2 V:\data2\
    disk d3 U:\data3\

     
  • Gábor Lévai

    Gábor Lévai - 2016-01-10

    After delete and recopy files to d3 change this only:

    Internal inode '8497741920' inconsistency ...

     
  • Andrea Mazzoleni

    Hi Gabor,

    It's a strange condition. SnapRAID found two different files that have the same inode information. Theoreticalyl something that should not happen.

    What filesystem are you using ? NTFS ? Or maybe ReFS or something other ?

    My expectation is that you'll get the same error even with older SnapRAID versions. Did you tried one ?

    Anyway, what is this .BPF file ? Is it maybe associated to an application that is running ?

    Ciao,
    Andrea

     
  • Gábor Lévai

    Gábor Lévai - 2016-01-10

    Hi Andrea!

    Your question (What filesystem are you using?) was very good.

    Originaly:
    Z:, Y:, X: (big, parity) NTFS
    T:, S:, R:, Q: (small, content) FAT32
    W:, V:, U: (small, data) FAT32

    1. step: copy 37 file (3.3 GB) -> W:
    2. step: sync OK
    3. step: copy 354 file (3.3 GB) -> V:
    4. step: diff OK
    5. step: sync OK
    6. step: copy 36542 file (7.2 GB) -> U:
    7. step: diff failed
    8. step: sync failed

    Then I modified contents of U: drive several steps without success:

    After delete U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.bpf:
    ...
    add U:/data3/DEVEL/#2011-06-28/#32/P13/save_inf.cpp
    Internal inode '8497741984' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#32/
    P13/save_info.cpp' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.
    bpr' matching and already present but different

    After delete U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.bpf:
    ...
    add U:/data3/DEVEL/#2011-06-28/#32/P13/save_info.cpp
    Internal inode '8497742048' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#32/
    P13/save_info.h' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.ex
    e' matching and already present but different

    After delete U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/Project2.exe:
    ...
    add U:/data3/DEVEL/#2011-06-28/#32/P13/save_info.h
    Internal inode '8497742080' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#32/
    P13/shm_i.cpp' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/QM_SRV.CPP' m
    atching and already present but different

    with snapraid 8.0 same:
    ...
    add U:/data3/DEVEL/#2011-06-28/#32/P13/save_info.h
    Internal inode '8497742080' inconsistency for files 'U:/data3/DEVEL/#2011-06-28/#32/
    P13/shm_i.cpp' and 'U:/data3/DEVEL/#2011-06-28/#32/P13/BCB2GCC/QM_SRV.CPP' m
    atching and already present but different

    After delete full U:/data3/DEVEL/#2011-06-28 directory:
    ...
    add U:/data3/DEVEL/#_debug/2015_10_15-szikla-forras/src/gykeres.dfm
    Internal inode '1030619200' inconsistency for files 'U:/data3/DEVEL/#_debug/2015
    _10_15-szikla-forras/src/gykeres.h' and 'U:/data3/DEVEL/#_debug/2015_10_15-szikl
    a-forras/src/BIN/a2as.exe' matching and already present but different


    Finally format U: to NTFS (W: and V: remain FAT32),
    copy 36542 file (7.2 GB) -> U:

    Then

    snapraid diff
    ...
    391 equal
    0 moved
    0 copied
    0 restored
    0 updated
    0 removed
    36542 added
    There are differences!

    snapraid sync
    ...
    Everithing OK
    Saving state to T:/SnapRAID/snapraid.content...
    Saving state to S:/SnapRAID/snapraid.content...
    Saving state to R:/SnapRAID/snapraid.content...
    Saving state to Q:/SnapRAID/snapraid.content...
    Verifying T:/SnapRAID/snapraid.content...
    Verifying S:/SnapRAID/snapraid.content...
    Verifying R:/SnapRAID/snapraid.content...
    Verifying Q:/SnapRAID/snapraid.content...

     
  • Andrea Mazzoleni

    Hi Gábor,

    Thanks for the report.

    I've now added in the FAQ the recomendation to convert FAT to NTFS in case this error appears.

    Ciao,
    Andrea

     
  • Gábor Lévai

    Gábor Lévai - 2016-01-13

    The problem does not occur with exFAT FS.

     

Log in to post a comment.

MongoDB Logo MongoDB