SmartDisk crashes with Faulting application name: chunkstored.exe in the windows application logs as see below:
Faulting application name: chunkstored.exe, version: 0.0.0.0, time stamp: 0x53ad47f4
Faulting module name: libnvessentials.dll, version: 0.0.0.0, time stamp: 0x53ad483c
Exception code: 0xc0000005
Fault offset: 0x0000000000001691
Faulting process id: 0x70c
Faulting application start time: 0x01d058e6a9ceda69
Faulting application path: C:\Program Files\Quest\NetVault SmartDisk\dedupe\bin\chunkstored.exe
Trace file chunkstored.xxxx.xxx.0.trc shows that the crash was cause because we could not delete directory “D:\Store\dedupe\cabindex\12286”.
0 CSD ??? 37 145452288061 The CSD previously exited uncleanly, checking store...
0 CSD ??? 45 145557945020 Check succeeded
0 FILEMANP ??? 85 040418108816 FileDirForceDelete("") failed
0 FILEMANP ??? 91 040418108816 error calling FileDirForceDelete(\\?\D:\Store\dedupe\cabindex\12286)
0 SYS ??? 1 040418108816 C:/cygwin/home/buildbot/buildslave/smartdisk-windows-x86_64/build/k7/dedupe/source/libraries/libcabinet/libcabinet.c:2041 - Failed assertion: TRUE == FileTreeDelete(oCabinet->oTransactionDirectory)
External program from SmartDisk had locked SmartDisk Store directory
In this case the program was rsync I would recommend not to use rsync to replicate the data on SmartDisk but if you have to make sure the rsync replication is done at a time when no activity on the SmartDisk.
You can try to schedule deduplication and Garbage collection using the SmartDisk scheduler but if the SmartDisk is idle it will automatically use the dedupe and GC if required out side of configured windows. See commands below for scheduling deduplication and GC.
cd to the …/smartdisk/foundation/bin director to run the these commands.
smartdisk config --add|--delete --dedupe-window <[Sun|Mon|Tue|Wed|Thu|Fri|Sat-]HH:MM-HH:MM>|<Never|Anytime>
smartdisk config --add|--delete --gc-window <[Sun|Mon|Tue|Wed|Thu|Fri|Sat-]HH:MM-HH:MM>|<Never|Anytime>
Note it is possible that any other external software that locks files/directories could cause this type of problem. I.e. antivirus so configure these application not to access the SmartDisk install stage and store directories.