Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignoreFailedRead not supported by the underlying tar #585

Open
fcanovai opened this issue Feb 19, 2025 · 1 comment · May be fixed by #586
Open

ignoreFailedRead not supported by the underlying tar #585

fcanovai opened this issue Feb 19, 2025 · 1 comment · May be fixed by #586
Assignees

Comments

@fcanovai
Copy link

Setting the ignoreFailedRead parameter to true adds the --ignore-failed-read option to the tar command. However, tar from busybox doesn't support that parameter and the snapshot fails with the following message:

Failed to check and update snapshot content: failed to take snapshot
      of the volume 7b5742c7-eee1-11ef-828c-5a6a51f1b16d: "rpc error: code = Unknown
      desc = failed create snapshot: exit status 1: tar: unrecognized option: ignore-failed-read\nBusyBox
      v1.36.1 (2024-06-10 07:11:47 UTC) multi-call binary.\n\nUsage: tar c|x|t [-ZzJjahmvokO]
      [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [LONGOPT]... [FILE]...\n\nCreate,
      extract, or list files from a tar file\n\n\tc\tCreate\n\tx\tExtract\n\tt\tList\n\t-f
      FILE\tName of TARFILE (''-'' for stdin/out)\n\t-C DIR\tChange to DIR before
      operation\n\t-v\tVerbose\n\t-O\tExtract to stdout\n\t-m\tDon''t restore mtime\n\t-o\tDon''t
      restore user:group\n\t-k\tDon''t replace existing files\n\t-Z\t(De)compress
      using compress\n\t-z\t(De)compress using gzip\n\t-J\t(De)compress using xz\n\t-j\t(De)compress
      using bzip2\n\t--lzma\t(De)compress using lzma\n\t-a\t(De)compress based on
      extension\n\t-h\tFollow symlinks\n\t-T FILE\tFile with names to include\n\t-X
      FILE\tFile with glob patterns to exclude\n\t--exclude PATTERN\tGlob pattern
      to exclude\n\t--overwrite\t\tReplace existing files\n\t--strip-components NUM\tNUM
      of leading components to strip\n\t--no-recursion\t\tDon''t descend in directories\n\t--numeric-owner\t\tUse
      numeric user:group\n\t--no-same-permissions\tDon''t restore access permissions\n"
@leonardoce
Copy link
Contributor

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants