From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 03:54:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D463116A4CE for ; Sat, 5 Mar 2005 03:54:49 +0000 (GMT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2091243D2D for ; Sat, 5 Mar 2005 03:54:49 +0000 (GMT) (envelope-from bob89@bobj.org) Received: from mail.bobj.org ([24.250.218.207]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050305035448.DMMO3789.lakermmtao05.cox.net@mail.bobj.org> for ; Fri, 4 Mar 2005 22:54:48 -0500 Received: from bobj.dyndns.org ([192.168.132.161]) (AUTH: PLAIN bobj, ) by mail.bobj.org with esmtp; Fri, 04 Mar 2005 22:54:47 -0500 From: Bob Johnson To: freebsd-questions@freebsd.org Date: Fri, 4 Mar 2005 22:54:40 -0500 User-Agent: KMail/1.7.2 References: <200503032153.j23LrJTA026477@manor.msen.com> <4228E798.7040701@eng.ufl.edu> <200503042233.38378.bob89@bobj.org> In-Reply-To: <200503042233.38378.bob89@bobj.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503042254.40766.bob89@bobj.org> cc: "Michael R. Wayne" Subject: Re: Are quotas possbile on md filesystems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 03:54:49 -0000 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 > > > > > 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