Opened 6 years ago
Last modified 5 years ago
#3832 new enhancement
Add environment variable to create all temp-files at a user-defined location (outside the mapsets)
Reported by: | sbl | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Default | Version: | svn-trunk |
Keywords: | environment variables | Cc: | |
CPU: | Unspecified | Platform: | All |
Description
Some Network Attached Storage (NAS) filers with snapshot backup on volume level do not allow to exclude specific file types or directories to be excluded from backup. If GRASS data DB is stored on such a storage system, temporary files can grow the snapshot file significantly until a point where available space is used up by backup files (how fast that happens depends on the snapshot frequency of course, and the time they are preserved).
Currently, it is not possible to redirect all temporary data to other storage locations. Would be great to have an environment variable that allows to specify a path (directory) where all temporary data will be stored.
Might be necessary to make a subdirectory per mapset within that directory... (Maybe an 8.0 thing?)
Change History (7)
comment:1 by , 6 years ago
comment:3 by , 5 years ago
Such variable is currently implemented only for vector library (GRASS_VECTOR_TMPDIR_MAPSET), see also related discussion, https://lists.osgeo.org/pipermail/grass-dev/2015-June/075220.html
comment:7 by , 5 years ago
Milestone: | → 7.8.3 |
---|
As a workaround you could simply replace the location/mapset/.tmp/ with a link to a directory on SSD.
However, from the planning document:
https://trac.osgeo.org/grass/wiki/Grass8Planning#Rasterlibrary
Maybe to be worked out in more detail but for sure very important (we frequently face the same issue).