Hi there,
I am trying to publish a snapshot, but I am facing an error I have never seen before. I googled it and but comments were not useful. I am using Ubuntu 18.04 and lxc 3.0.3.
This is the container I am trying to export:
fmello@ai2sklsrv00:~$ lxc list
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| NOME | ESTADO | IPV4 | IPV6 | TIPO | SNAPSHOTS |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| ai2AIDevel | STOPPED | | | PERSISTENTE | 0 |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| ai2AIProd | STOPPED | | | PERSISTENTE | 0 |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| ai2Base | STOPPED | | | PERSISTENTE | 0 |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| ai2CA | STOPPED | | | PERSISTENTE | 0 |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
| ai2GitLab | RUNNING | 10.110.142.27 (eth0) | fd42:aaaf:209:f211:216:3eff:fe3f:a93d (eth0) | PERSISTENTE | 0 |
±-----------±--------±----------------------±---------------------------------------------±------------±----------+
And these are the commands that I am using:
fmello@ai2sklsrv00:~$ lxc stop ai2GitLab
fmello@ai2sklsrv00:~$ lxc snapshot ai2GitLab snap210912
fmello@ai2sklsrv00:~$ lxc publish ai2GitLab/snap210912 --alias image210912b
Error: Failed to copy file content: read /var/lib/lxd/snapshots/ai2GitLab/snap210912/rootfs/lib/systemd/libsystemd-shared-237.so: input/output error
I read that this input/output error might be related with storage space, but it looks odd to me. The container has 48G, and I have have almost 800G o free space. It must be something different.
Does anyone has any tip?
Thanks in advance,
Flávio Mello