Page 1 of 1

wimcapture and File too large error....

Posted: Tue Nov 08, 2016 12:04 pm
by cacheman
Hi....

I'm trying to use wimcapture on linux to capture an ~220GB NTFS partition and save the .wim file to another linux machine, but after capturing about 3GB of the ~220GB, I get an error:

wimcapture /dev/sda4 somefile.wim
......
......
[ERROR] Error writing chunk data to WIM file: File too large
ERROR: Exiting with error code 72
Failed to write data to a file

I can't tell for sure, but my suspicion is that wimcapture is hitting a file on the NTFS partition about 3GB in that it thinks is too big to capture.....
If I'm right, what is the file size limit for wimcapture? Or is there a switch I can use to get around this?
If I'm wrong, what is the error telling me?

Thanks in advance.

Chris Bradshaw.

Re: wimcapture and File too large error....

Posted: Wed Nov 09, 2016 2:13 am
by synchronicity
Apparently you hit a file size limit on the filesystem where you were creating the WIM archive. This is not a limitation with wimlib or with the WIM file format; you'd almost certainly get this same error with any application that attempts to create a large file on the same filesystem.

Re: wimcapture and File too large error....

Posted: Wed Nov 09, 2016 11:07 am
by cacheman
Ooops.....my apologies.

I was outputing to a .wim file on an NFS v2 share, and forgot that the max file size on NFS v2 is 2GB.
Changed to NFS v3 and it seems to be working fine.

Apologies if I wasted anyones time.

Chris.