I have a truecrypt volume, and I have some restricted data on it. I had mounted today and I started a Matlab simulation. The simulation is takes around 2-3 days, and I would like to unmount the truecrypt, but I can't because I the Matlab had opened the files and I forgot to include the close function to close those files. I don't want to stop the simulation but I would like to unmount the truecrypt.
I used lsof to figure it out who is using this volume.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
MATLAB 6013 bku 276r REG 252,0 333 158 /media/vulturus_data/wesys/Transfer/repower_temp/R4_Scada_Mai_11/sensors/sensorInfos_RePower_1.00000000.csv
MATLAB 6013 bku 278r REG 252,0 333 158 /media/vulturus_data/wesys/Transfer/repower_temp/R4_Scada_Mai_11/sensors/sensorInfos_RePower_1.00000000.csv
MATLAB 6013 bku 279r REG 252,0 581 159 /media/vulturus_data/wesys/Transfer/repower_temp/R4_Scada_Mai_11/sensors/sensorInfos_RePower_50.00000000.csv
MATLAB 6013 bku 281r REG 252,0 61890 79 /media/vulturus_data/wesys/Transfer/repower_temp/R4_Scada_Mai_11/aggregated/AggregatedData_RePower_50.00000000_17.05.2011_06-30.csv
How can I close this files without stopping the Matlab Simulation.