svfs icon indicating copy to clipboard operation
svfs copied to clipboard

gpg says iobuf_write failed

Open jeffallen opened this issue 7 years ago • 1 comments

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 avatar Aug 29 '17 15:08 jeffallen

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.

jeffallen avatar Aug 29 '17 15:08 jeffallen