What steps will reproduce the problem?
mkfs.sdfs --volume-name=s3_vol1 --volume-capacity=900GB --aws-enabled=true
--aws-access-key=XXXXXXXXXXXXX --aws-bucket-name=sdfs
--aws-secret-key="XXXXXXXXXXXXXXXXXXXXXXXXXXX" --chunk-store-encrypt=true
mount.sdfs -v s3_vol1 -m /var/lib/sdfs/backup
What is the expected output? What do you see instead?
I expected it to mount the s3 storage backend
At first, I kept getting this error:
[03:05 PM]root@magneto:~# mount.sdfs -v s3_vol1 -m /var/lib/sdfs/backup
Running SDFS Version 1.0.6
reading config file = /etc/sdfs/s3_vol1-volume-cfg.xml
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jets3t/service/ServiceException
I figured out that if I changed the jets3t-0.7.4.jar to jets3t-0.8.1.jar in
both /etc/sdfs/s3_vol1-volume-cfg.xml and /sbin/mount.sdfs, that it was finally
able to find that class.
Then I got this error that only appears in the log file because it exits:
2011-07-07 15:40:22,553 [main] INFO sdfs - Wrote volume config =
/etc/sdfs/s3_vol1-volume-cfg.xml
2011-07-07 15:40:22,564 [main] FATAL sdfs - Unable to initiate ChunkStore
java.lang.InstantiationException: org.opendedup.sdfs.filestore.S3ChunkStore
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:325)
at org.opendedup.sdfs.servers.HashChunkService.<clinit>(HashChunkService.java:40)
at org.opendedup.sdfs.servers.SDFSService.start(SDFSService.java:52)
at fuse.SDFS.MountSDFS.main(MountSDFS.java:135)
What version of the product are you using? On what operating system?
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Linux magneto 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011
x86_64 GNU/Linux
SDFS Version 1.0.6
[03:42 PM]root@magneto:jdk1.7.0# /opt/jdk1.7.0/bin/java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
[03:43 PM]root@magneto:jdk1.7.0# env | grep JAVA
JAVA_HOME=/opt/jdk1.7.0
[03:44 PM]root@magneto:jdk1.7.0# apt-cache show fuse-utils
Version: 2.8.3-opendedup0
I installed these packages:
fuse-utils_2.8.3-opendedup0_amd64.deb
libfuse-dev_2.8.3-opendedup0_amd64.deb
libfuse2_2.8.3-opendedup0_amd64.deb
Original issue reported on code.google.com by plas...@gmail.com on 7 Jul 2011 at 8:51
Original issue reported on code.google.com by
plas...@gmail.com
on 7 Jul 2011 at 8:51