On 17/08/2022 17:36, Rodolfo Aramayo via GNU coreutils General Discussion wrote:
Dear Coreutils Maintainers,First, thank you for your work. I use coreutils daily both for my research and teaching. It is a great set of tools. Second, I have recently run into an "No space left on device" error when attempting to csplit a 200GB xml file. The command I am using is: csplit --quiet --elide-empty-files --digits=12 --prefix=zz_ 00_founder_file /"<entry id="/ {*}; I should say that this command works like a charm with 2GB and with 20GB test files, but when scaled to the target file (200GB), csplit reports the error and stops there, despite the fact that I have plenty of disk space and memory available on the machine. I should also say that I am running this process on an Ubuntu machine (default ulimit parameters): Linux digitalbiology01 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux I am using: csplit (GNU coreutils) 8.30 Any advice/comments on how to proceed will be gratefully appreciated
It does sound like you've hit some system limit. You've not indicated which file system you use, or how much space is free. I would run csplit with --keep-files, to see how many files were created, how much space is free, and whether one can create any more files in the directory using other means. cheers, Pádraig
