Snapshot in ext4

Greg Freemyer greg.freemyer at gmail.com
Thu Jan 5 14:17:15 EST 2012


I missed this series of questions before:

On Wed, Jan 4, 2012 at 4:43 AM, Swapnil Gaikwad <swapnilgaik72 at gmail.com> wrote:
> 1. Where to place snapshot files in filesystem level snapshot?

What does that even mean.

> 2. Is there any issues regarding it?
> 3. It is helpful to allocate new inode for a file od which snapshot is
> taken?

I told you NTFS does the equivalent of allocating a new inode and new
pointer blocks for any files which have both a previous version and a
current verson.

So with a file like a database table that has some common content
between live and previous versions, you end up with data pointer
blocks for each version.  But they can point at the same data blocks
if the data blocks are unchanged.

So it clearly is a good way to do things.  I don't know how btrfs or
next4 handle it, so I'm not saying it is the best way.

>
> --
>     Regards,
>
> Swapnil Gaikwad.

Greg



More information about the Kernelnewbies mailing list