FreeBSD 8 and quotas on root partition error

Andriy Gapon avg at icyb.net.ua
Tue Mar 30 12:39:54 UTC 2010


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


More information about the freebsd-stable mailing list