I've created a sdfs filesystem with:
sudo mkfs.sdfs --volume-name=sdfss0p0 --volume-capacity=284974MB --base-path=/mnt/sdg1-kons/raw/
It successfully created with the following text:
Attempting to create SDFS volume ...
Volume [sdfss0p0] created with a capacity of [284974MB]
check [/etc/sdfs/sdfss0p0-volume-cfg.xml] for configuration details if you need to change anything
---
Then I mount it with:
sudo mount.sdfs sdfss0p0 /mnt/sdg1-kons/sdfs-p0/
It successfully mounts with the following message:
Running Program SDFS Version 3.5.7.1 build date 2017-09-27 06:03
reading config file = /etc/sdfs/sdfss0p0-volume-cfg.xml
multiplier=32 size=8
mem=36484672 memperDB=4560584 bufferSize=1073741824 bufferSizePerDB=134217728
Loading Existing Hash Tables |))))))))))))))))))))))))))))))))))))))))))))))))))| 100%
Mounted Filesystem
---
Then, I unmount it:
sudo umount /mnt/sdg1-kons/sdfs-p0
The text output:
Filesystem is unmounted
Closing Hash Tables |))))))))))))))))))))))))))))))))))))))))))))))))))| 100%
---
Then, I try to mount it again:
sudo mount.sdfs sdfss0p0 /mnt/sdg1-kons/sdfs-p0/
And it fails with the following error:
Running Program SDFS Version 3.5.7.1 build date 2017-09-27 06:03
reading config file = /etc/sdfs/sdfss0p0-volume-cfg.xml
java.lang.NumberFormatException: For input string: "278,29"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at org.opendedup.util.StringUtils.parseSize(StringUtils.java:102)
at org.opendedup.sdfs.io.Volume.(Volume.java:225)
at org.opendedup.sdfs.Config.parseSDFSConfigFile(Config.java:394)
at org.opendedup.sdfs.servers.SDFSService.start(SDFSService.java:69)
at fuse.SDFS.MountSDFS.setup(MountSDFS.java:214)
at fuse.SDFS.MountSDFS.init(MountSDFS.java:253)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:207)
Exiting because java.lang.NumberFormatException: For input string: "278,29"
Service exit with a return value of 255
---------------------------------------------------
The reason, I've tried to test mounting/unmounting/remounting is because, it failed to remount after I written data to it. I thought, at first, that it couldn't mount, because the raw data became corrupt, but it can't remount even when no data is written. I tried it several times.