Date: Tue, 30 Mar 2010 15:39:49 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: "M. Vale" <maurovale@gmail.com> Cc: Craig Rodrigues <rodrigc@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: FreeBSD 8 and quotas on root partition error Message-ID: <4BB1F115.4020903@icyb.net.ua> In-Reply-To: <85d001331003291526l31b410a5jd1590f70eb3ac70f@mail.gmail.com> References: <85d001331003291526l31b410a5jd1590f70eb3ac70f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <userquota> is unknown > mount option <groupquota> is unknown > ROOT MOUNT ERROR: mount option <groupquota> 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: > <fstype>:<device> Mount <device> using filesystem <fstype> > eg. ufs:/dev/da0s1a > eg. cd9660:/dev/acd0 > > This is equivalent to: mount -t cd9660 /dev/acd0 / > > ? List valid disk boot devices > <empty line> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB1F115.4020903>