[OpenAFS] CopyOnWrite failed

Derrick J Brashear shadow@dementia.org
Wed, 26 Jun 2002 01:30:42 -0400 (EDT)


On Wed, 26 Jun 2002, FBO wrote:

> Hello,
> 
> what is CopyOnWrite? What does it do?

When you clone you get pointers to the contents on disk as they exist. If
you write something you get a CopyOnWrite as the "old volume" gets the
original contents and the "new volume" gets the new contents

> > ROs are clones just like the backup volumes so this won't help.
> As far as I understood Cow is a function, copying the differences of
> a changing RW- to a Backup- or RO-VOlume.



> Shouldn't the Bug be avoided if RO-Volumes are used
> and I have them them on a Partition different to the RW's one
> (with the disadvantage of needing more diskspace for ROs)?

you still clone a volume to send a copy when you release, so, unless you
don't release it...