Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Peter Mayne <Peter.Mayne@cao.mts.dec.com>
To: Michael Matthews <matthewm@sgate.com>
Subject: Re: AdvFS advantage
Date: 1997/01/23	[thread overview]
Message-ID: <32E686EE.75A1@cao.mts.dec.com> (raw)
In-Reply-To: 5c2vlp$lea$1@jekyll.sgate.com


Michael Matthews wrote:
> 
> In article <32E2A1D2.762B@cao.mts.dec.com>,
> Peter Mayne  <Peter.Mayne@cao.mts.dec.com> wrote:
> >This is from memory, use the man pages.
> 
> >Assume your Oracle directory (/ora) is in the ora_dmn#ora fileset.
> 
> >Shut down the database in /ora.
> >clonefset ora ora2
> ># This makes a snapshot of the ora_dmn#ora fileset, takes no time.
> >Start your database.
> >mount -t advfs ora_dmn#ora2 /mnt
> >Backup /mnt
> >umount /mnt
> >--
> >PJDM
> >Digital Equipment Corporation (Australia), Canberra, ACT
> 
> While this certainly works, it could potentially create a space problem.  The
> clone fileset works (as I'm sure you know, Peter Mayne) by writing out a new
> file only if it's changed.  There aren't that many files in an Oracle
> database, and they tend to be huge.  So you've got the "clone" main DB file
> at, say, 1 gigabyte, and then you change it, and POOF!  you've got the
> read/write copy also at 1 gigabyte.  Total space used:  2 gigabytes until you
> rmfset the clone fileset.

No, that's not how it works. Cloning only writes blocks that have
changed, not files. If you change 1 block in the 1GB file, then the
clone only writes out 1 block. Total space used: 1GB + 1 block until you
rmfset the clone fileset.

> Don't forget to unclone after you umount /mnt too.

You mean rmfset. Already mentioned.
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
-------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
This was typed by an infinite number of monkeys.








.



  reply	other threads:[~1997-01-23  5:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-13  5:00 AdvFS advantage Graham Jones
1997-01-17  5:00 ` Doug Anderson
1997-01-20  5:00   ` Dan Duncan
1997-01-20  5:00   ` Steve Strange USG
1997-01-20  5:00   ` Peter Mayne
1997-01-20  5:00     ` T.Osborn
1997-01-24  5:00       ` User
1997-01-21  5:00     ` Michael Matthews
1997-01-23  5:00       ` Peter Mayne [this message]
1997-01-24  5:00     ` Norm Soley
  -- strict thread matches above, loose matches on Subject: below --
1997-01-09  5:00 Advfs advantage Nik Pallatroni
1997-01-09  5:00 ` Curt Smith
1997-01-10  5:00 ` Peter Mayne
1997-01-10  5:00   ` James A Conz Jr
1997-01-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