andrinux / opendedup

Open Deduplication File System
1 stars 2 forks source link

sdfscli --dedup-file=true creates a file if file is nonexistant #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create and mount a volume.
2. Perform a sdfscli --dedupe_file=true --file-path=anything.txt

What is the expected output? What do you see instead?

The output I get is:
Dedup Command [failed] returned [ERROR Dedup Failed: unable to set dedup Source 
[C:\Program Files\sdfs\volumes\sdfs_vol2\files\anything.txt] to [true]  because 
:java.io.IOException: The file must be closed to perform th
is operation]

However the file is non-existant and its not open however by performing the 
operation sdfscli --dedeupe_file=true --file-path=anything.txt creates a empty 
file of that name on the mounted volume.

What version of the product are you using? On what operating system?
0.9.7 on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by z0r...@googlemail.com on 28 Oct 2010 at 11:49