Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bob Harris <harris@zk3.dec.com>
Subject: Re: Clone File system
Date: Wed, 19 Dec 2001 09:32:25 -0500	[thread overview]
Message-ID: <191220010932256342%harris@zk3.dec.com> (raw)
In-Reply-To: 3c2089df$0$12229$4d4efb8e@news.be.uu.net

In article <3c2089df$0$12229$4d4efb8e@news.be.uu.net>, MIKA
<mika@robot.cvo> wrote:

X  Thanks All for your quick answer,
X  but i still not really understand.
X  I just give you an example of my config.
X  I have 3 File Domain Where data of database are present each One equal to 9
X  GByte
X  I have Also Root_domain and Usr_domain 1 Gbyte and 2 Gbyte
X  When I run Clonefset data1_domain data1 CloneData1
X  Then Mount Clonefset data1_domain#CloneData1 on /mnt/Clone
X  If i do df -k
X  I show the CloneData1 mounted, but really
X  the space used by this clone file set is a new space added that means i need
X  another disks to clone on it or a physical copy at time T (When i have do my
X  clone ) or it just a pointer to my data that mean i don't need another disk
X  to clone on my file system.
X  Thanks a lot,
X  
X  
X  "Tobias Ernst" <tobi@bland.fido.de> wrote in message
X  news:1008760927@p15.f1.n7600.z242.fido.de...
X  > Hallo MIKA!
X  >
X  >  > Hy I have To clone File System To win Time On Backup
X  >  > How Many Space I need To clone My FileSystem.
X  >  > Did i need Exactly the same Space used By the File system
X  >  > On onother Disks to Clone or less .
X  >
X  > If you use AdvFS, which I assume, you need only as much file space, as
X  > much the data on the original file system changes while the clone
X  > exists, because only that DATA is duplicated that really is different
X  > on the clone and the master. This means that when you create the clone,
X  > you need virtually no space at all. But while the clone exists, space
X  > requirements are growing as data is modified on the master. But if you
X  > only create the clone right before starting the backup, and delete the
X  > clone right afterwards, you won't need too much space for it. Depending
X  > on what you are doing with the master in this time, of course :-).
X  >
X  > Viele Gr��e,
X  > Tobias

I get the feeling you want to use the clone "As the Backup".  That is
to say, all the previous replies said or suggested you should

        clonefset
        mount clone
        vdump clone to backup media
        umount clone
        rmfset clone

And while the vdump was happening the amount of extra space being used
would be equal to the number of 8K pages modified in the original
fileset.

Since this didn't seem to answer your question, I am wondering if when
you said "I have To clone File System To win Time On Backup", if maybe
you were saying you could not afford the time to do the vdump and you
wanted to know if you could just use a clone "As the Backup".

Assuming this was the question, then there are problems with this
approach when using AdvFS clones.  But to answer the question of how
much disk space would you need.  You would need to have an equal amount
of space to what you are currently using assuming you are going to keep
the clone for an extended period of time and that over that period of
time most of the files in the original fileset are going to be
modified.

As to problems.  You can only have 1 AdvFS clone per fileset at a time. 
So if you do not vdump the AdvFS clone to backup media, then to clone
the fileset again, you will first need to remove the current clone. 
This would leave a gap in your backup strategy.  When you rmfset to
remove the clone, AdvFS has to delete all the storage used by the
clone.  The longer the AdvFS clone has existed, and the more data it
has captured, the longer it will take to preform the rmfset, again
widening the gap in the badkup strategy.  And while the clone is in
effect, there is extra overhead when modifications are made to the
original file while AdvFS allocates storage for the clone, copies the
original data to clone, then make the modification to the original
file.

If you want to uses clones and ONLY clones as a backup strategy for
speed reasons, then consider using LSM mirrors and splitting them or
hardware storage system mirrors, clones, or snapshots.

I hope this has answered your question.

                                        Bob Harris


  reply	other threads:[~2001-12-19 14:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-19  8:35 Clone File system MIKA
2001-12-19 10:04 ` Jonathan Wheeler
2001-12-19 10:27 ` Tobias Ernst
2001-12-19 12:40   ` MIKA
2001-12-19 14:32     ` Bob Harris [this message]
2001-12-19 15:34       ` MIKA
2001-12-20  8:13         ` Tobias Ernst
2001-12-19 10:31 ` Jean-Yves Picard
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