I am trying to restore a backup of mattermost chat container in a new container.
I kept getting errors like
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h/Participants -- Vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c/Participants -- vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy/Participants vow.pdf: Cannot open: No such file or directory
And then at the end this:
tar: Exiting with failure status due to previous errors
Logical volume "vm-109-disk-1" successfully removed
TASK ERROR: command 'tar xpf /proc/self/fd/12 --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/109/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Help please
I kept getting errors like
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/gj1yieifdjnf7xdxei46hme41h/Participants -- Vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/3ggugm6nk3bwfdigwd9zinij4c/Participants -- vow.pdf: Cannot open: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy: Cannot mkdir: No such file or directory
tar: ./opt/mattermost/data/20180325: Cannot mkdir: Structure needs cleaning
tar: ./opt/mattermost/data/20180325/teams/noteam/channels/u44z6gnns38k9kfxm58di736ba/users/6swxfzmfypbm7pu1dx7t7s9gge/zt481gu5k3ysud138n37c93epy/Participants vow.pdf: Cannot open: No such file or directory
And then at the end this:
tar: Exiting with failure status due to previous errors
Logical volume "vm-109-disk-1" successfully removed
TASK ERROR: command 'tar xpf /proc/self/fd/12 --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/109/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
Help please