Lxc import issue

I have only 7G for /tmp, but I discover that for the import process the /tmp is used for cached?

:/var/tmp# snap list
Name    Version   Rev    Tracking       Publisher   Notes
core    16-2.45   9289   latest/stable  canonical✓  core
core18  20200427  1754   latest/stable  canonical✓  base
lxd     4.0.1     15268  4.0/stable     canonical✓  -

:/var/tmp# lxc import win2016std.tar.gz
Importing instance: 82% (328.17MB/s)Error: write /tmp/lxd_backup_342207348: no space left on device

I don't find in docs any setting related to a folder tmp
      
      lxc storage list
        +---------+-------------+--------+----------+---------+
        |  NAME   | DESCRIPTION | DRIVER |  SOURCE  | USED BY |
        +---------+-------------+--------+----------+---------+
        | default |             | zfs    | lxd_pool | 3       |
        +---------+-------------+--------+----------+---------+
      :/var/tmp# lxc import win2016std.tar.gz -s default
        Importing instance: 82% (332.84MB/s)Error: write /tmp/lxd_backup_626170435: no space left on device

Please can you log an issue at https://github.com/lxc/lxd/issues

1 Like

Hi, did you solve it? I have the same problem:

[/share/Instaladores/QNAP/HALXD] # lxc image import metadata.tar.gz haos_ova-9.5.qcow2 --alias haos
Error: write /tmp/lxc_image_858892160: no space left on device