From owner-freebsd-stable@FreeBSD.ORG Tue Mar 30 12:39:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52E22106566B; Tue, 30 Mar 2010 12:39:54 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6360E8FC14; Tue, 30 Mar 2010 12:39:53 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA25516; Tue, 30 Mar 2010 15:39:50 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4BB1F115.4020903@icyb.net.ua> Date: Tue, 30 Mar 2010 15:39:49 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100319) MIME-Version: 1.0 To: "M. Vale" References: <85d001331003291526l31b410a5jd1590f70eb3ac70f@mail.gmail.com> In-Reply-To: <85d001331003291526l31b410a5jd1590f70eb3ac70f@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Craig Rodrigues , freebsd-stable@freebsd.org Subject: Re: FreeBSD 8 and quotas on root partition error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 12:39:54 -0000 on 30/03/2010 01:26 M. Vale said the following: > Hi, on FreeBSD 8.0 (i386 or AMD64) if we configure to use quotas on root > partition. > > It stops on boot with the following message: > > Trying to mount root from ufs:/dev/ad0s1a > mount option is unknown > mount option is unknown > ROOT MOUNT ERROR: mount option is unknown > If you have invalid mount options, reboot, and first try the following from > > the loader prompt: > > set vfs.root.mountfrom.options=rw > > and then remove invalid mount options from /etc/fstab. > > Loader variables: > vfs.root.mountfrom=ufs:/dev/ad0s1a > vfs.root.mountfrom.options=rw,userquota,groupquota,acls > > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:/dev/da0s1a > eg. cd9660:/dev/acd0 > > This is equivalent to: mount -t cd9660 /dev/acd0 / > > ? List valid disk boot devices > Abort manual input > > mountroot> > > > If i do: > > ufs:/dev/ad0s1a > > Then the boot continues and it mount the quotas ok. but if I reboot the same > thing happens again. > > This only occurs on FreeBSD 8. > > Does anyone have a clue about the problem ? Yes, it's a known problem. It is caused by you having userquota/groupquota options for root filesystem in your fstab. Previously it was OK, but it got broken when a new feature was implemented in r193192. -- Andriy Gapon