Immutable hard links on ext3/4?
Posted
by shovas
on Server Fault
See other posts from Server Fault
or by shovas
Published on 2010-03-28T12:36:11Z
Indexed on
2010/03/28
12:43 UTC
Read the original article
Hit count: 621
In my research on file versioning at the fs level, snapshotting, and related ideas, I took a look at hard-links and exactly what they are and how they behave. Using rsync you can get a pretty slick poor man's snapshotting system up and running on file systems that don't natively support it.
But, can you get immutable hard links on ext3/4 or any other file systems for that matter?
My definition for immutable hard link is: A hard link which, when changed on one location, becomes a regular copy and no longer a hard link.
I would like this because it would enable snapshotting use of the source data to link against instead of a copy of the data (in the case of the rsync snapshotting technique).
I have gigabytes of data that can't be duplicated due to space restrictions but I have enough room if I can intelligently snapshot individual changed files with the rest linked to the source not a copy.
Given all that, is there some other technique, feature or technology I'm really looking for?
© Server Fault or respective owner