Michael, Charles, thank you for your comments. I had already seen the wikipedia entries about ZFS, but when I have performed my tests, consisting in: generate a program that writes a 100 MB file to disk and perform the snapshot during the file is being written. Obviously the snapshot shows a view of the file with the information and size it had at the time of the snapshot... so I get a portion of it.
In order to save space I prefer no to have such half-files (mails) , and it is for this reason that I am asking if there is any way to prevent this. I'm not an expert in field of file systems, so I can be asking very naive questions... but I appreciate your comments on this topic. Thank you Felix On Friday 09 August 2013 20:39:31 Michael Grimm wrote: > > On 09.08.2013, at 19:43, Felix Rubio Dalmau <felixrubiodal...@gmail.com> > wrote: > > > Actually the problem is that the snapshot is instantaneous, so if some > > commands are being run at the time of the snapshot I could get a snapshot > > of a non-consistent FS, right? > > As mentioned before: Wrong. > Have a look at http://en.wikipedia.org/wiki/Zfs#Snapshots_and_clones and > http://en.wikipedia.org/wiki/Snapshot_(computer_storage) and alike. > > Regards, > Michael >