maharmstone / ntfs2btrfs

GNU General Public License v2.0
705 stars 32 forks source link

Could not find enough space to create new chunk. Try clearing a few gigabytes of space, or defragging. #70

Open solarisfire opened 1 year ago

solarisfire commented 1 year ago

Yes it's a 2TB drive that's 91% full, but is 174G not enough space to do an "in place" conversion in??

/dev/sdc2 1.9T 1.7T 174G 91% /media/ssd1

And could it not throw this error before it sits there for almost an hour calculating checksums?

maharmstone commented 1 year ago

It needs contiguous space - I'm guessing you've got lots of part-allocated chunks. What does btrfs fi usage say?

Edit: Disregard that, I was getting confused. Have you got a lot of compressed files?

solarisfire commented 1 year ago

No, the drive isn't compressed at all... It contains a lot of Steam Games, and some Windows Apps that I really don't care about...

RayJW commented 1 year ago

Were you able to resolve this? I ran into the same issue on a 4 TB drive with over 500 GB of free space, I think that should be enough to convert the drive, no?

cpanceac commented 1 year ago

See also: https://bugzilla.redhat.com/show_bug.cgi?id=2238054. Not sure what is the right answer but for a EXT4 to BTRFS conversion 4% of free space was enough. So, for my 500 GB NTFS partition i'll try 20 GB. Once the next test is completed i'll report back. ETA tomorrow evening :)

maharmstone commented 1 year ago

There's really no point in logging it with Red Hat, all they're going to do is send it back to me...

cpanceac commented 1 year ago

Thank you, new issue created: https://github.com/maharmstone/ntfs2btrfs/issues/72

cpanceac commented 1 year ago

To all interested parties: to me 4% free space was enough to complete the conversion. But maybe it depends on the type of files stored or other things.