ntfs2btrfs icon indicating copy to clipboard operation
ntfs2btrfs copied to clipboard

Metadata with Large ADS

Open KenJyn76 opened this issue 6 years ago • 9 comments

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!

KenJyn76 avatar Apr 16 '20 22:04 KenJyn76

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.

maharmstone avatar Apr 16 '20 23:04 maharmstone

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.

KenJyn76 avatar Apr 16 '20 23:04 KenJyn76

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

maharmstone avatar Apr 17 '20 00:04 maharmstone

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.

KenJyn76 avatar Apr 17 '20 00:04 KenJyn76

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.

sp1ritCS avatar May 18 '20 11:05 sp1ritCS

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

maharmstone avatar Nov 08 '20 23:11 maharmstone

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 avatar Nov 25 '20 00:11 KenJyn76

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?

KenJyn76 avatar Nov 25 '20 12:11 KenJyn76

Is this still an issue on today's version?

maharmstone avatar Jan 06 '21 01:01 maharmstone