Requirements
System Requirements
- x64 Linux Distribution. The application was tested and developed on ubuntu 12.0.4
- Fuse 2.8+ . Debian Packages for this are available at http://opendedup.googlecode.com/files/sdfs_fuse_2.8.6.tar.gz
- 2 GB of RAM
- Java 7 - available at https://jdk7.dev.java.net/
Optional Packages
-
attr - (setfattr and getfattr) if you plan on doing snapshotting or setting extended file attributes
Getting Started
Step 1: Set your JAVA_HOME to the path of the java 1.7 jdk or jre folder, or edit the path in the shell scripts (mount.sdfs and mkfs.sdfs) to reflect the java path
e.g. export JAVA_HOME=/usr/lib/jvm/jdk
Step 2: Modify the maximum number of open files by editing /etc/security.limits.conf. Add the following lines
* soft nofile 65535
* hard nofile 65535
Step 2: Create an sdfs file system.
To create and SDFS file System you must run the following command:
sudo ./mkfs.sdfs --volume-name=<volume-name> --volume-capacity=<capacity>
e.g.
sudo ./mkfs.sdfs --volume-name=sdfs_vol1 --volume-capacity=100GB
Step 3: Mount the sdfs
To mount SDFS run the following command:
sudo ./mount.sdfs -v <volume-name> -m <mount-point>
e.g.
sudo ./mount.sdfs -v sdfs_vol1 -m /media/sdfs
Step 2: Create an sdfs file system.
To create and SDFS file System you must run the following command:
sudo ./mkfs.sdfs --volume-name=<volume-name> --volume-capacity=<capacity>
e.g.
sudo ./mkfs.sdfs --volume-name=sdfs_vol1 --volume-capacity=100GB
Step 3: Mount the sdfs
To mount SDFS run the following command:
sudo ./mount.sdfs -v <volume-name> -m <mount-point>
e.g.
sudo ./mount.sdfs -v sdfs_vol1 -m /media/sdfs
Quick Note:
If you would like to mount the volume with fuse 2.7 try mounting the volume and changing the fuse mount options. Take a look at this example
sudo ./mount.sdfs -v sdfs_vol1 -m /media/sdfs -o direct_io,allow_other,fsname=SDFS






