Skip to content

createHeader: prealloc failed: operation not supported #25

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

Closed
jjellinek opened this issue May 11, 2016 · 8 comments
Closed

createHeader: prealloc failed: operation not supported #25

jjellinek opened this issue May 11, 2016 · 8 comments

Comments

@jjellinek
Copy link

I am using Software RAID, LVM, and ext3 File system. gocryptfs works fine on my ubuntu 14.04 LTS install on regular partitions (non RAID/LVM) but when I try to mount my RAID/LVM partition and use this I get the above error whenever I try to create a file. I get a message in Vi about disk space not available (however there are GBs free)

@rfjakob
Copy link
Owner

rfjakob commented May 11, 2016 via email

@rfjakob
Copy link
Owner

rfjakob commented May 11, 2016

My guess is ZFS. Please take a look at #22 or just upgrade to latest master, gocryptfs now works on ZFS as well.

@jjellinek
Copy link
Author

No, it's ext3! I will have another fiddle, I may be doing something silly with mountpoints etc.
I'm trying to mount a set of USB drives using software RAID5, with LVM and ext3. All that works, but then using gocryptfs gives me the error.

@rfjakob
Copy link
Owner

rfjakob commented May 11, 2016 via email

@jjellinek
Copy link
Author

Great, I will try that.

@jjellinek
Copy link
Author

OK got it working with ext4 now and 0.9 binary. Couldn't get latest master to compile on Ubuntu 14.04 LTS as the golang is too old I think to have fuse libraries.

@rfjakob
Copy link
Owner

rfjakob commented May 11, 2016

Oh, I see. Ubuntu 14.04 has Go 1.2 that lacks sync.Pool:

$ go version
go version go1.2.1 linux/amd64
$ go build
# github.com/hanwen/go-fuse/fuse
../../hanwen/go-fuse/fuse/server.go:44: undefined: sync.Pool
../../hanwen/go-fuse/fuse/server.go:47: undefined: sync.Pool

@rfjakob
Copy link
Owner

rfjakob commented May 13, 2016

Released v0.10-rc3 that contains the fix. Binaries are available at https://github.com/rfjakob/gocryptfs/releases/tag/v0.10-rc3

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

No branches or pull requests

2 participants