Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

can't unmount eCryptfs folder on Ubuntu Server 10.04

can't unmount eCryptfs folder on Ubuntu Server 10.04

I installed ecryptfs and encrypted /root/name1/name2. Somehow, I have multiple instances of it and can't unmount any of them. Also, I can't log in as root anymore (yes, I setup a root login.)

When I execute sudo umount /root/name1/name2, the system hangs up. Earlier, it said I had multiple instances of the file system.

There is nothing in /etc/fstab about ecryptfs.

Here is /etc/mtab (cleansed):

/dev/sda1 / ext3 rw,relatime,errors=remount-ro 0 0
proc /proc proc rw 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
/root/.Private /root/Private ecryptfs ecryptfs_sig=7ba7cd24acdf5bec,ecryptfs_fnek_sig=a35dd75849479788,ecryptfs_cipher=aes,ecryptfs_key_bytes=16 0 0
/root/Personal /root/Personal ecryptfs rw,ecryptfs_sig=efe28d17b9935d45,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs 0 0
/root/ms_encrypted/rep /root/name1/name2 ecryptfs rw,ecryptfs_sig=4a2f23d7f3af633e,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs 0 0
/root/name1/name2 /root/name1/name2 rw,ecryptfs_sig=4a2f23d7f3af633e,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs 0 0
/root/ms_encrypted/rep /root/name1/name2 ecryptfs rw,ecryptfs_sig=4a2f23d7f3af633e,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs 0 0

How do I fix this ?

By the way, I want the mounting of the ecryptfs file system to persist after I log out. However, I want to mount it via a remote script after the system boots.

Thank you in advance.



RE: can't unmount eCryptfs folder on Ubuntu Server 10.04

Check out this link:
Your situation reminded of it.  Specifically there are additional steps to the umount script related to the encrypted file system.  

RE: can't unmount eCryptfs folder on Ubuntu Server 10.04

to: Noway2

Thank you but it did not help. The link addresses encryption problems of a removable USB drive.

Something on my system is mounting too many instances of eCryptfs, and I think that is the root of the problem. I did not add any scripts to mount it. I say "root" with a double-meaning because I was logged in as root when I set up the eCryptfs file systems, so whenever I log in as root, the file system gets set up, and if it persists after I log out, then EVERY time I log in I will get another one even though it is already active.

If this is true, how do I disable it ?



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close