maharmstone / ntfs2btrfs

GNU General Public License v2.0
683 stars 30 forks source link

Metadata with Large ADS #3

Open KenJyn76 opened 4 years ago

KenJyn76 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

KenJyn76 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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

KenJyn76 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Is this still an issue on today's version?