Max 26 concurrent ecryptfs mounts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi ecryptfs community,

We're trying to use ecryptfs to create a large number of uniquely
encrypted directories.  We really like the idea that these are
overlayed on the existing filesystem and can all have different
encryption keys assigned.  So I'm hoping we can make ecryptfs work.

It appears that we can create 26 directories (which also means 26
different mounts), but then we get a exit value of 134 from
mount.ecryptfs on the 27th user.  Here is the exact error message:

Error attempting to evaluate mount options: [-122] Disk quota exceeded
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or
submit a bug report on

My theory is that since we mount everything using "sudo" and thus as
root, that its reusing the same keyring and maybe is hitting the 32K
limit on kernel keyrings.

So my questions:

1) Is my theory correct?

2) Are there any workarounds?  Any magic kernel settings I can tune to
allow for more?  Or can we actually mount a directory under a
different account than root so that a new keyring is used as opposed
for root.

To unsubscribe from this list: send the line "unsubscribe ecryptfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [Linux Crypto]     [Device Mapper Crypto]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux