[lkml]   [1998]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Building Big Ass Linux Machine, what are the limits?
| As far as I know it uses copy-on-write.. this means that you only have one
| copy of the data - the most recent. Snapshots are only the bytes that
| are different... applied (as a patch would be) to the most recent version.

it is copy-on-write, but it is not a patch, it's a completely different block.
basically, assume you have a file using blocks 4, 5, and 6. That is in the
current filesystem (aka: consistency checkpoint.)

if you don't change the file, and then create a new snapshot (#1), the blocks
are the same, and the inode in snapshot 1 points to the same data blocks (4,
5, and 6.)

now, say you append to the file. snapshot 1 still points to (4,5,6), and the
current filesystem will point to (4,5,7), where block 7 is copied data from
block 6, plus the appendage.

snapshots are a read-only view of the file system at the time of the snapshot.

for a graphical interpretation, see
2.html, page 11.

Randomly Generated Tagline:
Always first decide the sentence, then the verdict.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [W:0.093 / U:9.524 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site