Giter VIP home page Giter VIP logo

Comments (9)

keuin avatar keuin commented on July 1, 2024

As a complementary, here is what dmesg reported after running mount:

[   64.166890] BTRFS info (device sdd1): has skinny extents
[   65.548597] BTRFS critical (device sdd1): corrupt leaf: root=2 block=1489133600768 slot=176 bg_start=4000763084800 bg_len=23003136, invalid block group used, have 23064576 expect [0, 23003136)
[   65.548602] BTRFS error (device sdd1): block=1489133600768 read time tree block corruption detected
[   65.548613] BTRFS error (device sdd1): failed to read block groups: -5
[   65.564421] BTRFS error (device sdd1): open_ctree failed

from ntfs2btrfs.

maharmstone avatar maharmstone commented on July 1, 2024

I have no idea if this is a bug of ntfs2btrfs.

Yes, it definitely is.

I suppose the first thing to find out is what's distinctive about those inodes in particular... Can you please rollback, install sleuthkit, and send me the output of the following?

istat /dev/sdd1 80798
istat /dev/sdd1 80853
istat /dev/sdd1 80901
istat /dev/sdd1 80956
istat /dev/sdd1 81009
istat /dev/sdd1 81064
istat /dev/sdd1 81116
istat /dev/sdd1 81173
istat /dev/sdd1 81225
istat /dev/sdd1 81275
istat /dev/sdd1 81327
istat /dev/sdd1 81382
istat /dev/sdd1 81438
istat /dev/sdd1 81494
istat /dev/sdd1 81547
istat /dev/sdd1 81606
istat /dev/sdd1 81661
istat /dev/sdd1 81716
istat /dev/sdd1 81771
istat /dev/sdd1 81826
istat /dev/sdd1 81882
istat /dev/sdd1 81933
istat /dev/sdd1 81985
istat /dev/sdd1 82036
istat /dev/sdd1 82090
istat /dev/sdd1 82142
istat /dev/sdd1 82194
istat /dev/sdd1 82248
istat /dev/sdd1 82303
istat /dev/sdd1 82360
istat /dev/sdd1 82415
istat /dev/sdd1 82466
istat /dev/sdd1 82521
istat /dev/sdd1 82574
istat /dev/sdd1 82627
istat /dev/sdd1 82680

(The NTFS inode numbers are 257 less than the Btrfs ones.)

from ntfs2btrfs.

keuin avatar keuin commented on July 1, 2024

I have no idea if this is a bug of ntfs2btrfs.

Yes, it definitely is.

I suppose the first thing to find out is what's distinctive about those inodes in particular... Can you please rollback, install sleuthkit, and send me the output of the following?

istat /dev/sdd1 80798
istat /dev/sdd1 80853
istat /dev/sdd1 80901
istat /dev/sdd1 80956
istat /dev/sdd1 81009
istat /dev/sdd1 81064
istat /dev/sdd1 81116
istat /dev/sdd1 81173
istat /dev/sdd1 81225
istat /dev/sdd1 81275
istat /dev/sdd1 81327
istat /dev/sdd1 81382
istat /dev/sdd1 81438
istat /dev/sdd1 81494
istat /dev/sdd1 81547
istat /dev/sdd1 81606
istat /dev/sdd1 81661
istat /dev/sdd1 81716
istat /dev/sdd1 81771
istat /dev/sdd1 81826
istat /dev/sdd1 81882
istat /dev/sdd1 81933
istat /dev/sdd1 81985
istat /dev/sdd1 82036
istat /dev/sdd1 82090
istat /dev/sdd1 82142
istat /dev/sdd1 82194
istat /dev/sdd1 82248
istat /dev/sdd1 82303
istat /dev/sdd1 82360
istat /dev/sdd1 82415
istat /dev/sdd1 82466
istat /dev/sdd1 82521
istat /dev/sdd1 82574
istat /dev/sdd1 82627
istat /dev/sdd1 82680

(The NTFS inode numbers are 257 less than the Btrfs ones.)

I rollbacked the partition to NTFS under Windows, and boot into Linux, ran these commands you've posted. It finished without any error. I saved the output into the attachment. File names in the output have been redacted for secrecy, and everything else has been kept intact.

istat_output.txt

from ntfs2btrfs.

maharmstone avatar maharmstone commented on July 1, 2024

Thanks - so they're all subdirectories of inode 80743. What does istat /dev/sdd1 80743 say? Its full path would also greatly help as well, even if you have to censor some parts of it (e.g. your username).

from ntfs2btrfs.

keuin avatar keuin commented on July 1, 2024

Thanks - so they're all subdirectories of inode 80743. What does istat /dev/sdd1 80743 say? Its full path would also greatly help as well, even if you have to censor some parts of it (e.g. your username).

Well, the report contains no file names and paths. They are pasted below with nothing changed:

root@keuin-galaxy-ng:~# istat /dev/sdd1 80743
MFT Entry Header Values:
Entry: 80743        Sequence: 1
$LogFile Sequence Number: 30286751200
Allocated Directory
Links: 1

$STANDARD_INFORMATION Attribute Values:
Flags:
Owner ID: 0
Security ID: 336  (S-1-5-21-4112952269-3451346006-675731645-1003)
Last User Journal Update Sequence Number: 151200120
Created:        2019-01-26 23:37:45.716354800 (HKT)
File Modified:  2019-01-26 23:38:00.015099400 (HKT)
MFT Modified:   2019-01-26 23:38:00.015099400 (HKT)
Accessed:       2020-06-01 20:14:58.525917400 (HKT)

$FILE_NAME Attribute Values:
Flags: Directory
Name: person
Parent MFT Entry: 80556         Sequence: 6
Allocated Size: 0       Actual Size: 0
Created:        2019-01-26 23:37:50.508577900 (HKT)
File Modified:  2019-01-26 23:37:50.508577900 (HKT)
MFT Modified:   2019-01-26 23:37:50.508577900 (HKT)
Accessed:       2019-01-26 23:37:50.508577900 (HKT)

Attributes:
Type: $STANDARD_INFORMATION (16-0)   Name: N/A   Resident   size: 72
Type: $FILE_NAME (48-2)   Name: N/A   Resident   size: 78
Type: $INDEX_ROOT (144-6)   Name: $I30   Resident   size: 56
Type: $INDEX_ALLOCATION (160-3)   Name: $I30   Non-Resident   size: 163840  init_size: 163840
362205832 362205833 362205834 362205835 362205836 362205837 362205838 362205839
362205840 362205841 362205842 362205843 362205844 362205845 362205846 362205847
362205848 362205849 362205850 362205851 362205852 362205853 362205854 362205855
362205856 362205857 362205858 362205859 362205860 362205861 362205862 362205863
362205864 362205865 362205866 362205867 362205868 362205869 362205870 362205871
Type: $BITMAP (176-4)   Name: $I30   Resident   size: 8

from ntfs2btrfs.

maharmstone avatar maharmstone commented on July 1, 2024

Under $FILE_NAME you'll see the inode of the parent directory - this is parent in directory 80556. If you repeat istat with this value, i.e. istat /dev/sdd1 80556, all the way up to the top (which is inode 5), you'll be able to give me the full path.

from ntfs2btrfs.

keuin avatar keuin commented on July 1, 2024

80556 gives:

root@keuin-galaxy-ng:~# istat /dev/sdd1 80556
MFT Entry Header Values:
Entry: 80556        Sequence: 6
$LogFile Sequence Number: 306093701
Allocated Directory
Links: 1

$STANDARD_INFORMATION Attribute Values:
Flags:
Owner ID: 0
Security ID: 336  (S-1-5-21-4112952269-3451346006-675731645-1003)
Last User Journal Update Sequence Number: 151126312
Created:        2019-01-26 23:37:45.458001400 (HKT)
File Modified:  2019-01-26 23:37:50.508577900 (HKT)
MFT Modified:   2019-01-26 23:37:50.508577900 (HKT)
Accessed:       2020-06-01 20:14:58.426827500 (HKT)

$FILE_NAME Attribute Values:
Flags: Directory
Name: data
Parent MFT Entry: 18    Sequence: 18
Allocated Size: 0       Actual Size: 0
Created:        2019-01-26 23:37:48.725100100 (HKT)
File Modified:  2019-01-26 23:37:48.725100100 (HKT)
MFT Modified:   2019-01-26 23:37:48.725100100 (HKT)
Accessed:       2019-01-26 23:37:48.725100100 (HKT)

Attributes:
Type: $STANDARD_INFORMATION (16-0)   Name: N/A   Resident   size: 72
Type: $FILE_NAME (48-2)   Name: N/A   Resident   size: 74
Type: $INDEX_ROOT (144-1)   Name: $I30   Resident   size: 440

And its parent, 18, gives:

root@keuin-galaxy-ng:~# istat /dev/sdd1 18
MFT Entry Header Values:
Entry: 18        Sequence: 18
$LogFile Sequence Number: 335889976
Allocated Directory
Links: 1

$STANDARD_INFORMATION Attribute Values:
Flags:
Owner ID: 0
Security ID: 336  (S-1-5-21-4112952269-3451346006-675731645-1003)
Last User Journal Update Sequence Number: 151124344
Created:        2019-01-26 23:37:45.442320800 (HKT)
File Modified:  2019-01-26 23:38:00.032916800 (HKT)
MFT Modified:   2019-01-26 23:38:00.032916800 (HKT)
Accessed:       2020-06-09 13:38:49.602679300 (HKT)

$FILE_NAME Attribute Values:
Flags: Directory
Name: zhao-master
Parent MFT Entry: 5     Sequence: 5
Allocated Size: 0       Actual Size: 0
Created:        2019-01-26 23:37:48.678320000 (HKT)
File Modified:  2019-01-26 23:37:48.678320000 (HKT)
MFT Modified:   2019-01-26 23:37:48.678320000 (HKT)
Accessed:       2019-01-26 23:37:48.678320000 (HKT)

Attributes:
Type: $STANDARD_INFORMATION (16-0)   Name: N/A   Resident   size: 72
Type: $FILE_NAME (48-2)   Name: N/A   Resident   size: 88
Type: $INDEX_ROOT (144-1)   Name: $I30   Resident   size: 536

And its parent, 5, gives:

root@keuin-galaxy-ng:~# istat /dev/sdd1 5
MFT Entry Header Values:
Entry: 5        Sequence: 5
$LogFile Sequence Number: 32615924453
Allocated Directory
Links: 1

$STANDARD_INFORMATION Attribute Values:
Flags: Hidden, System
Owner ID: 0
Security ID: 0  ()
Last User Journal Update Sequence Number: 12660736
Created:        2018-06-27 17:03:34.014478800 (HKT)
File Modified:  2021-09-26 10:54:15.016702000 (HKT)
MFT Modified:   2021-09-26 10:54:15.016702000 (HKT)
Accessed:       2021-09-26 10:54:15.016702000 (HKT)

$FILE_NAME Attribute Values:
Flags: Directory, Hidden, System
Name: .
Parent MFT Entry: 5     Sequence: 5
Allocated Size: 0       Actual Size: 0
Created:        2018-06-27 17:03:34.014478800 (HKT)
File Modified:  2021-09-26 10:54:15.016702000 (HKT)
MFT Modified:   2021-09-26 10:54:15.016702000 (HKT)
Accessed:       2021-09-26 10:54:15.016702000 (HKT)

$OBJECT_ID Attribute Values:
Object Id: e88721bc-79f0-11e8-825c-408d5cf89422

Attributes:
Type: $STANDARD_INFORMATION (16-0)   Name: N/A   Resident   size: 72
Type: $FILE_NAME (48-1)   Name: N/A   Resident   size: 68
Type: $OBJECT_ID (64-10)   Name: N/A   Resident   size: 16
Type: $SECURITY_DESCRIPTOR (80-2)   Name: N/A   Resident   size: 228
Type: $INDEX_ROOT (144-630)   Name: $I30   Resident   size: 56
Type: $INDEX_ALLOCATION (160-632)   Name: $I30   Non-Resident   size: 65536  init_size: 65536
361697722 361697723 361697724 361697725 361697726 361697727 361697728 361697729
361697730 361697731 361697732 361697733 361697734 361697735 361697736 361697737
Type: $BITMAP (176-631)   Name: $I30   Resident   size: 8
Type: $LOGGED_UTILITY_STREAM (256-9)   Name: $TXF_DATA   Resident   size: 56

5 seemed to be the root node, since its parent is itself.

These outputs are not modified.

from ntfs2btrfs.

AlecMcCutcheon avatar AlecMcCutcheon commented on July 1, 2024

I was just able to run the NTFS2BTRFS convention on a partition in Windows with no errors and I was happy it completed but Windows is telling me that it is still NTFS. any fixes for this?

from ntfs2btrfs.

AlecMcCutcheon avatar AlecMcCutcheon commented on July 1, 2024

Again, I'm on Windows, not Linux.

from ntfs2btrfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.