gmirror magic ?
Eric Anderson
anderson at freebsd.org
Tue May 1 13:39:15 UTC 2007
On 05/01/07 08:28, Frans Haarman wrote:
> Excuse my ignorance,
>
> What I tried was removing a file on disk which
> was attached as a "md vnode".
>
> I assumed removing the file on disk will "kill"
> the "md vnode" but it does not.
>
> It seems this has nothing todo with gmirror/gstripe
> but the way md vnodes work!
It's the way all files in UFS work - if it's in use, and it gets
removed, the directory entry goes away, but the data stays there until
all references are gone. Once they are all gone, the data blocks get
recycled too.
Eric
More information about the freebsd-geom
mailing list