That is set to 10Gib, so I am not sure that’s the setting.
The The directory is too large to copy. The directory should be less than 1073741824 bytes., it is not from trying to upload a file but using the template creator by providing a path in the section: Path (the template will be created by copying files from this source path).
1073741824 bytes is only 1Gib and that aligns with the code I posted. The error message comes from a function in the /var/www/ood/apps/sys/myjobs/app/models/filesystem.rb
63 if size.blank?
64 safe, error = false, "Failed to properly parse the output of the du command."
65 elsif size.to_i > self.class.max_copy_safe_dir_size
66 safe, error = false, "The directory is too large to copy. The directory should be less than #{self.class.max_copy_safe_dir_size} bytes."
67 end
Please advise, as the two seem to be different
Thanks
Vasile
Sorry about that, you are correct that to copy the data it is hard coded. So if you wanted to change that for the Job Composer you would have to change the value.
That said, a workflow that is typically used is not to copy the large data files over that are to be used, but rather to use the script to reference the data, which sits somewhere on the fs setup for larger files. That way only the script is being copied and passed around by the job composer, and not the entire data set as well.