I am facing with an interesting issue with crunch

I am trying to generate an 8 digit password file with letters, numbers and special characters. Of course as this will be huge I want to compress it.

The command looks good and it does start to generate the file but it is always crashing. (if I am generating just a mixalpha password file that is working)


crunch 8 8 -f /usr/share/crunch/charset.lst mixalpha-numeric-all-space -o START -b 1gb -z 7z

Crunch will now generate the following amount of data: 59707838816015625 bytes
56941832366 MB
55607258 GB
54303 TB
53 PB
Crunch will now generate the following number of lines: 6634204312890625


crunch: 0% completed generating output


crunch: 0% completed generating output


crunch: 0% completed generating output


crunch: 0% completed generating output


7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (406E3),ASM,AES-NI)


Scanning the drive:
1 file, 999999999 bytes (954 MiB)


Creating archive: aaaaaaaa-aaabI4T8.txt.7z


Items to compress: 1


2% + aaaaaaaa-aaabI4T8.txt
crunch: 0% completed generating output
7% + aaaaaaaa-aaabI4T8.txt
...
94% 1 + aaaaaaaa-aaabI4T8.txt
crunch: 0% completed generating output
98% 1 + aaaaaaaa-aaabI4T8.txt
crunch: 0% completed generating output

Files read from disk: 1
Archive size: 7375395 bytes (7203 KiB)
Everything is Ok


crunch: 0% completed generating output


crunch: 0% completed generating output


crunch: 0% completed generating output


crunch: 0% completed generating output
Error renaming file. Status2 = -1 Code = 22
The problem is = Invalid argument



I did try to specify the characters by myself:
crunch 8 8 [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX YZ0123456789!@#$%^&*()-_+=~`{}|\:;"'<>,.?/ ] -o START -b 1gb -z 7z

I did try to change the file size to 100mb and 30gb but the result is the same error code 22

I deleted some of the special character and it started to work I managed to generate over 200gb password file nicely compressed


Please, is there any advise? I am struggling with it over a month!

Thank you in advance!