Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

gpg says iobuf_write failed #148

Open
jeffallen opened this issue Aug 29, 2017 · 1 comment
Open

gpg says iobuf_write failed #148

jeffallen opened this issue Aug 29, 2017 · 1 comment

Comments

@jeffallen
Copy link

Context

  • svfs version : 0.9.1
  • storage provider : ovh
  • product : PCA

Steps to reproduce this issue :

Use gpg to compress and encrypt something, writing to an svfs volume, like:

tar -C / -c etc | gpg --batch --passphrase $BACKUP_PASSPHRASE --compress-algo bzip2 -c -o /pca/bucketname/etc.tar.gpg

Results you expected :

Writing from gpg should work. I suspect from the error message that gpg is using the writev system call (which deals in iobuf_t's).

Results you observed :

gpg: /pca/uf6/home-20170829.tar.gpg: write error: Input/output error
gpg: DBG: bzCompress: iobuf_write failed
gpg: iobuf_flush failed on close: file write error

I can get a debug log if it is necessary, but I'd rather not remount this partition at the moment.

@jeffallen
Copy link
Author

If I remove the -o from gpg and let it write to stdout (then use redirection to put it into the svfs partition) it works. So it seems like gpg thinks it can do something special that svfs can't really handle.

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

No branches or pull requests

1 participant