On 18/08/2022 16:17, Rodolfo Aramayo wrote:
All right, this is what I did:
First, I am running:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
Second, I have:
Size Used Avail Use% Mounted on
58G 11G 48G 19% /
9.7T 4.7T 4.6T 51% /media/volume/sdb
Third, I have re-run the process using the following command:
strace -o zzSTRACE_Error.log csplit --keep-files --quiet --elide-empty-files --digits=12
--prefix=zz_ uniref50.xml /"<entry id="/ {*}
Fourth, the file I am trying to split (uniref50.xml ) is 201G in size
Fifth, the resulting directory, after the job failed, is 162G in size
Sixth, the name of the last file written before Exit 1 was : zz_000017876562
Last, the tail of the zzSTRACE_Error.log is printed below (the log is 8GB in
size...)
You didn't say what the file system type was (df -T).
This would mainly help us minimize the possible issues
(consider limits, quotas etc.).
You didn't say whether you could create any more files in the directory
after the csplit run.
open() is returning ENOSPC, which at first glance seems like
you might be running out of inodes.
cheers,
Pádraig