Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata with Large ADS #3

Open
KenJyn76 opened this issue Apr 16, 2020 · 9 comments
Open

Metadata with Large ADS #3

KenJyn76 opened this issue Apr 16, 2020 · 9 comments

Comments

@KenJyn76
Copy link

Hi, I'm trying to convert my data drive (mainly contains games) to btrfs, but am getting the following error:

Skipping overly large ADS $Extend$RmMetadata$Repair:$Corrupt (9216000 > 16215)
Skipping overly large ADS $Extend$RmMetadata$Repair:$Verify (4096000 > 16216)
Skipping overly large ADS $Extend$RmMetadata$TxfLog$Tops:$T (1048576 > 16221)

I can't seem to find any way to resolve this, do you know of a way? I've tried a couple fsutil commands I found on the web with no luck.

Thanks!

@maharmstone
Copy link
Owner

maharmstone commented Apr 16, 2020

It's not an error. Anything in the \$Extend directory is skipped - it's just that the check to do so is after the check for the stream size. The message ought to be suppressed in this instance, really, and will be in later versions. You can ignore it.

The issue is that we map NTFS Alternative Data Streams onto Btrfs extended attributes, but the former can be any size while the latter are limited to just under 16 KB - which is a problem more in theory than practice.

@KenJyn76
Copy link
Author

Strange -- I assumed that was the error, since that was all that was thrown before ntfs2btrfs stopped working. Something does seem to be broken, though. It throws that message, prints "0.1%" to the next line and completely ends.

@maharmstone maharmstone reopened this Apr 17, 2020
@maharmstone
Copy link
Owner

Oh, right - it must be crashing on something then. Can you post the full output here please?

@KenJyn76
Copy link
Author

PS C:\Users\user\Desktop> .\ntfs2btrfs.exe D:
Skipping overly large ADS $Extend$RmMetadata$Repair:$Corrupt (9216000 > 16215)
Skipping overly large ADS $Extend$RmMetadata$Repair:$Verify (4096000 > 16216)
Skipping overly large ADS $Extend$RmMetadata$TxfLog$Tops:$T (1048576 > 16221)
PS C:\Users\user\Desktop> (0.1%)

This is the full stdout that I get from PowerShell and bash, if run in Linux. CMD gives nothing at all.

@sp1ritCS
Copy link

I have the same issue, (or at least I believe so).

$ sudo ./ntfs2btrfs /dev/sda1

gives my following output

[sudo] password for admin: 
Skipping overly large ADS \$Extend\$RmMetadata\$Repair:$Corrupt (10485760 > 16215)
Skipping overly large ADS \$Extend\$RmMetadata\$Repair:$Verify (4194304 > 16216)
Skipping overly large ADS \$Extend\$RmMetadata\$TxfLog\$Tops:$T (1048576 > 16221)
Attribute not found.

after It returns with POSIX exitcode 1.

@maharmstone
Copy link
Owner

Could you give it a go on the latest version please?

@KenJyn76
Copy link
Author

Could you give it a go on the latest version please?

Tested a spare HDD and it seems to work fine. Before I couldn't get it to work anywhere. I'll test it on a drive with more data shortly.

@KenJyn76
Copy link
Author

Could you give it a go on the latest version please?

On the SSD I wanted to convert, I'm getting "Error assigning space to file. This can occur if the space bitmap has been corrupted. Run chkdsk and try again."

chkdsk doesn't find anything. Might be because the original was one disk and currently I'm trying to convert a RAID 0 array?

@maharmstone
Copy link
Owner

Is this still an issue on today's version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants