4

I'm using a two-partition setup with ubuntu (one partition for the system, one for my home directories). Until now I had an ext3 formatted home partition, which I'm currently trying to migrate to an encrypted ext4 partition.

However, when copying the files the system is bugging me with errors, complaining that filenames are too long. As far as I could find out using wikipedia filename length is 255 bytes for ext3 and 256 bytes for ext4. So where's the problem, and how can I solve it?

Thanks!

1 Answer 1

6

This is a known bug about encryptfs for along time. As you can see this is a huge bug and whishlist. They are struggling with to support this for 12.04. I couldn't see a neat solution but there is a workaround. But those files are missing right now. A PPA is being set up but there are'nt any package right now.

So, I can't see a direct solution for this problem. Maybe you can ask John Johansen for a new kernel which is for Oneric.

Note: I couldn't read all the comments, there is a possibility that I missed something. ie, there could be a solution or this possible solution (Johansen's) could harm your files.

4
  • Okay, thanks for the info! I guess I just have to live with shorter file names at the moment, the workaround seems not to be a stable solution for now.
    – fdlm
    Nov 26, 2011 at 10:28
  • You are welcome, I hope this will be fix in 12.04. Nov 26, 2011 at 10:45
  • It should be, as its status in Precise is In Progress and precise-alpha-2 is set as a milestone (from the bug page). Nov 26, 2011 at 10:49
  • Yeah @Eliah Kagan, there is a milestone for 12.04, but I see there was a milestone(s) for Natty also :) Nov 26, 2011 at 10:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .