From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a90342090af6a45b X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-01 07:17:32 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!lnewsifeed00.lnd.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!news.be.uu.net!not-for-mail From: "MIKA" Newsgroups: comp.unix.tru64 References: <3b67b424$0$12225$4d4efb8e@news.be.uu.net> <010820010937029107%harris@zk3.dec.com> Subject: Re: Clone File Syetm Date: Wed, 1 Aug 2001 16:25:44 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <3b680f61$0$7117$4d4efb8e@news.be.uu.net> NNTP-Posting-Host: uu194-7-206-50.unknown.uunet.be X-Trace: 996675425 news.be.uu.net 7117 194.7.206.50 X-Complaints-To: abuse@be.uu.net Xref: archiver1.google.com comp.unix.tru64:4013 Thanks Bob for your explication but sorry may be for this stupid question What is Mcell mean ? "Bob Harris" wrote in message news:010820010937029107%harris@zk3.dec.com... > [[ This message was both posted and mailed: see > the "To," "Cc," and "Newsgroups" headers for details. ]] > > In article <3b67b424$0$12225$4d4efb8e@news.be.uu.net>, MIKA > wrote: > > X Hy gy, > X Does anoyone know how Cloning Works cause i have create > X a clone of a root file system, and when i do a modification > X on the original root file system i don't show the repercussion on the root > X clone file > X system. Is this normal ? > X If yes why they say Copy on write ? > > The first time part of a file is modified, a new Mcell is allocated for > the clone and this is attached to the original file's Mcell. Then > storage is allocated and attached to the clone's Mcell, then the pages > about to be modified are copied to the newly allocated clone storage. > > Any additional modifications to the same pages, will _NOT_ be copied to > the clone, since it is only the first modifications to any given page > that are copied to the clone. > > If the file is deleted or truncated, then all the deleted pages are > given to the clone Mcell. > > If a file is renamed, this is actually a modification to a directory, > and the directory pages are copied to its clone Mcell. > > Creating new files only affects the clone in that, creating file is a > directory modification. > > The domain should show less free space over time as modifications to > previously untouched pages are made. > > The way to see the clone is to mount the cloned fileset. This will > present an image of the fileset at the time the clone was snapped. If > a file was not changed, then the original file will be displayed. If > only some of a file's pages were changed, then the unchanged pages will > come from the original file, and the modified pages will come from the > clone Mcell. > > Bob Harris