From: Alex Nord <alex_nord@jabil.com>
Subject: Re: Understanding backup and advfs clonefset
Date: 1997/02/17 [thread overview]
Message-ID: <330892CE.2059@jabil.com> (raw)
In-Reply-To: brown.47.000F6C3C@lincoln.ac.nz
Brown, Martyn wrote:
> OK, how do things change if I decide to make a clone and back that up ? If a
> file is active during the cloning period, won't that mean that the clone
> "snapshot" will have the same types of internal inconsistencies ? How does
> the cloning process remove the inconsistencies that are inherent in active
> files ? I can see how cloning shields you from =future= activity; but what
> about activity at the time of cloning ?
When you make a cloned fileset with advfs, it doesn't actually make a
copy of the entire fileset. Instead, it makes aset of pointers that
point to all the original data. Then, when the original data changes,
advfs first copies the data that is ABOUT to change to the place where
the pointer is located (removing the pointer, because the actual old
data is now there), and then changes the original data. Then, when
backups are performed and data is being backed up block by block, if the
block is a pointer, then the original data that is being pointed to is
backed up (i.e. - that block hasn't changed yet). Or, if that block is
actually a chunk of data, (a COPY of the original), then that is backed
up instead. In either case, you're getting the original information.
(Please note, this is a VERY simplified version, and may not be 100%
correct, but it's close enough to get the point across. :)
As for your worries about internal inconsistencies, it may take 5-10
minutes to back up a file, giving that much time for the end of a file
to change, while the beginning is already written (or maybe for a
database index file to change), whereas an entire fileset may be cloned
almost instantly.
next prev parent reply other threads:[~1997-02-17 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-17 5:00 Understanding backup and advfs clonefset Brown, Martyn
1997-02-17 5:00 ` Alex Nord [this message]
1997-02-20 5:00 ` Peter Mayne
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox