Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-16-2012, 05:48 AM   #1
LQ Newbie
Registered: Nov 2007
Location: UK
Distribution: CentOS
Posts: 20

Rep: Reputation: 0
Cannot create encrypted filesystem with encfs on CentOS 5.8


I want to create an encrypted backup on my CentOS machine. I have chosen to use fuse/encfs again as the container expands with usage rather than being predefined. I have used fuse successfully in the past on a different machine, but cannot get it working on this new machine.

I have installed everything I need but I think there is some configuration issue or the versions are not compatible etc

as root I enter:
encfs /backupdisk2/data /backupdisk2/.encrypted/
I select p for pre-configured paranoia mode

I then get a warning:
-------------------------- WARNING --------------------------
The external initialization-vector chaining option has been
enabled. This option disables the use of hard links on the
filesystem. Without hard links, some programs may not work.
The programs 'mutt' and 'procmail' are known to fail. For
more information, please see the encfs mailing list.
If you would like to choose another configuration setting,
please press CTRL-C now to abort and start over.

Then continuing I enter a new password and confirm it, but then it fails:
/bin/mount: unrecognized option `--no-canonicalize'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
fuse failed. Common problems:
- fuse kernel module not installed (modprobe fuse)
- invalid options -- see usage message

I have tried for hours to fix this, searching Google and reading forums but cannot find how.

Is there anyone who can point me in the right direction? Please.

Old 12-24-2012, 03:16 PM   #2
Registered: Nov 2012
Location: Bangalore
Distribution: Fedora & Ubuntu
Posts: 77

Rep: Reputation: 18
Just try the following

1) crate one empty directory on your home directory
eg: mkdir car-pillow
2) create the root directory for the encfs (here it is .car-p and I selected the empty line option while creating)
eg: encfs -v /home/bijob/.car-p /home/bijob/car-pillow # Give the absolute path while creating
3) check the mount command, now you can see the directory "home/bijob/car-pillow" in the o/p
4) if it's mounted, copy the files and directory which you needs to be there in the encfs.
eg : cp -Rv car-pillow.bak/* car-pillow/
6) ls -ltr car-pillow
7) cd car-pillow; touch anewfile
8) ls -ltr
9) cd ..
10) fusermount -u /home/bijob/car-pillow
11) check the directory /home/bijob/.car-p (if you can see the files and folders in encrypted form and then delete the main folder "car-pillow")
eg: rm -rf car-pillow

12) Then create a new mount point
mkdir /home/bijob/car-p
13) encfs -v /home/bijob/.car-p/ /home/bijob/car-p
14) mount
15) ls -ltr /home/bijob/car-p; cd /home/bijob/car-p;

I hope this will help you...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Encrypted offsite backup with EncFS, Amazon S3, and s3cmd LXer Syndicated Linux News 1 07-31-2016 07:39 PM
Encrypted Filesystem saeedsssss Ubuntu 4 09-25-2012 01:30 PM
LXer: Introduction to EncFS, Encrypted Filesystem LXer Syndicated Linux News 0 12-14-2011 07:20 AM
[SOLVED] EncFS failure (NFS export of a reverse encfs mount) Skaperen Linux - Software 2 04-29-2011 01:51 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration