How to not add temporary storage for GRASS GIS analysis
When there is not enough temporary disk space for analysis in a filesystem, do not add a symbolic linked .tmp
directory from another filesystem. That will cause an “Invalid cross-device link” because GRASS renames temporary files to their permanent location, but rename
only works within the same filesystem.
WARNING: Unable to rename null file '/home/user/grassdata/location/mapset/.tmp/hostname.x/2390.5' to '/home/user/grassdata/location/mapset/cell_misc/accum/nullcmpr': Invalid cross-device link
Bind mount (mount --bind
or bindfs
) doesn’t work either. The only way to address this storage issue is to create a symlink or bind mount for the entire mapset.