Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer
    
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 '11 at 10:28
    
You are welcome, I hope this will be fix in 12.04. –  heartsmagic Nov 26 '11 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). –  Eliah Kagan Nov 26 '11 at 10:49
    
Yeah @Eliah Kagan, there is a milestone for 12.04, but I see there was a milestone(s) for Natty also :) –  heartsmagic Nov 26 '11 at 10:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.