Is sharing same files between VEs possible with simfs? [message #26290] |
Sun, 20 January 2008 14:40 |
piavlo
Messages: 159 Registered: January 2007
|
Senior Member |
|
|
Hi, i'd like to initialy clone some VE private area with rsync
using the --link-dest= option for hard linking so that to VE with same unmodified file will actually use same inode and save space.
The question is will it work correctly with simfs? Meaning that
if one VE modifies some shared file data inode this inode will be cloned with modifications, and the original inode link count will be reduced. Or will the original node be modified thus affecting all VEs sharing the file?
Thanks
Alex
|
|
|
|
|
Re: Is sharing same files between VEs possible with simfs? [message #26415 is a reply to message #26298] |
Wed, 23 January 2008 09:14 |
szocske
Messages: 35 Registered: September 2006
|
Member |
|
|
piavlo wrote on Mon, 21 January 2008 02:23 |
rickb wrote on Sun, 20 January 2008 21:49 | Hi, the openvz fs does not have this ability. If this is critical for you, you should consider virtuozzo and its vzfs filesystem, which accomplishes exactly what you want.
|
Well it's certainly not critical for me, just nice to have, especially considering it should not be hard to implement in
container aware vfs code.
|
Overlay filesystems should be virtualisation-agnostic, but probably more hassle and less efficient than the virtuozzo-specific integrated solution.
VServer has vhashify, but lacks many openVZ features we all like
|
|
|