During the archiving of nodes the process stops very early on. It is a very large database of 2TB, but the space should be there on partition. This is the short error message (whole log at the end as file).
Archiving database: nodes 0.0%| | 378/16749234
Traceback (most recent call last):
File "/home/aiida/.virtualenvs/aiida-fermisurf/lib/python3.8/site-packages/archive_path/zip_path.py", line 325, in open
yield handle
File "/home/aiida/envs/aiida-fermisurf/code/aiida-core/aiida/tools/archive/implementations/sqlite_zip/writer.py", line 182, in _stream_binary
shutil.copyfileobj(handle, zip_handle)
File "/usr/lib/python3.8/shutil.py", line 208, in copyfileobj
fdst_write(buf)
File "/usr/lib/python3.8/zipfile.py", line 1141, in write
self._fileobj.write(data)
OSError: [Errno 28] No space left on device
Maybe the caveat is that the space is available on a different partition and not on the partition where the current aiida database is stored. I thought that this might be because the data is not chunked properly and added for a local tests the -b 1000
option to the archive command, but this still invokes this line
during archiving that does not chunk. I am not sure if this fixes the problem. I could hard code it to try out, bu I have doubts that this is the actual solution. On the directory we archive from there is still 1.6TB space free and the database consists is a lot of loose files that should not be that large individually.
Environment
py[aiida-fermisurf] î‚° prnmarvelsrv3 î‚° ~/e/aiida-fermisurf î‚° î‚ main ± î‚° verdi status
:heavy_check_mark: version: AiiDA v2.3.1
:heavy_check_mark: config: /home/aiida/envs/aiida-fermisurf/.aiida
:heavy_check_mark: profile: main
:heavy_check_mark: storage: Storage for 'main' [open] @ postgresql://aiida:***@localhost:5432/aiida-fermisurf / DiskObjectStoreRepository: 580f68c6eb6347b7a203030615ef1d40 | /hith/aiida-fermisurf/repositories/main/container
:heavy_check_mark: rabbitmq: Connected to RabbitMQ v3.8.2 as amqp://guest:guest@127.0.0.1:5672?heartbeat=600
:heavy_check_mark: daemon: Daemon is running with PID 1193148
Full logs
verdi_archive-out_of_diskspace.txt (6.0 KB)