Hello,
For performance reasons, I am looking for copy-on-write file system in which when I copy file f1 to new file f2, the FS should only create new inode for f2. It should share all data blocks that was created by f1.
Post copy, f1 and/or f2 can be modified. Only during modifications/writes, required block(s) should get replicated and write should be performed on new block(s).
The system where I work needs to copy approx 500M size file. So copy is slow. Post copy only few blocks are modified (either in source or in destination file). So I believe copy-on-write should be very useful for my usecase.
I know ZFS does this but I am running FreeBSD 6.x and the memory I have under 1G.
Do we have light weight copy-on-write FS available ? If not, do you think modifying ufs is an option to achieve this ?
Thanks.
For performance reasons, I am looking for copy-on-write file system in which when I copy file f1 to new file f2, the FS should only create new inode for f2. It should share all data blocks that was created by f1.
Post copy, f1 and/or f2 can be modified. Only during modifications/writes, required block(s) should get replicated and write should be performed on new block(s).
The system where I work needs to copy approx 500M size file. So copy is slow. Post copy only few blocks are modified (either in source or in destination file). So I believe copy-on-write should be very useful for my usecase.
I know ZFS does this but I am running FreeBSD 6.x and the memory I have under 1G.
Do we have light weight copy-on-write FS available ? If not, do you think modifying ufs is an option to achieve this ?
Thanks.