Are quotas possbile on md filesystems?

Bob Johnson bob89 at bobj.org
Fri Mar 4 19:54:49 PST 2005


On Friday 04 March 2005 10:33 pm, Bob Johnson wrote:
> On Friday 04 March 2005 05:56 pm, Bob Johnson wrote:
> > Michael R. Wayne wrote:
> > >On Thu, 03 Mar 2005 16:53:19 -0500, Michael R. Wayne
> > > <wayne at staff.msen.com>
>
> wrote:
> > >>Is it possible to use quotas on file-backed md filesystems
> > >>on 5.3?  I was guessing that a line in fstab like:
> > >
> > >OK, I see the error in my ways.  My goal is to use file-based
> > >filesystems that are preserved acoss boots.  vnconfig says to
> > >use mdconfig, the handbook suggests that the method I used is
> > >correct.  But everything is cleared on reboot, which is not
> > >what I was looking for.
> >
> > It appears that it always formats a new filesystem because that's what
> > mount_mfs did, and mdmfs is a replacement for mount_mfs.  I agree
> > with you that that should not be the default behavior for a file-backed
> > (vnode) disk, so I wrote a little patch to fix that:
>
> [patch omitted]
>

So after all that, NOW I notice that there is already a published 
patch for this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74105

Oh, well.  It was an amusing exercise.

- Bob


More information about the freebsd-questions mailing list