NewtownGuy
Technical User
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.
--
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.
--