Subject: Re: kern/33642: panic: free dquot isn't
To: None <gnats-bugs@NetBSD.org>
From: Lasse Kliemann <lasse-private-2005@plastictree.net>
List: netbsd-bugs
Date: 06/03/2006 18:34:47
--hoZxPH4CaxYzWscb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Christos Zoulas writes:
=20
>  On Jun 3,  3:50pm, lasse-send-pr-2006@plastictree.net (Lasse Kliemann) w=
rote:
>  -- Subject: kern/33642: panic: free dquot isn't
> =20
>  | # groupadd test
>  | # useradd -g test -m test
>  | # mkdir /bulk/home/test
>  | # chown test.test /bulk/home/test
>  |=20
>  |=20
>  | panic: free dquot isn't
>  | Stopped in pid 22336.1 (chown) at netbsd:cpu_Debugger+0x4: leave
>  |=20
>  |=20
>  | Mounted partitions:
>  |=20
>  | # mount
>  | /dev/wd0a on / type ffs (noatime, soft dependencies, local)
>  | /dev/raid0f on /var type ffs (noatime, soft dependencies, local)
>  | /dev/raid0e on /usr type ffs (noatime, soft dependencies, local)
>  | /dev/raid0g on /bulk type ffs (noatime, soft dependencies, local, with=
 quotas)
>  | /dev/raid1e on /home type ffs (noatime, soft dependencies, local, with=
 quotas)
>  | kernfs on /kern type kernfs (local)
>  |=20
>  | >How-To-Repeat:
>  |=20
>  | Difficult. Just repeating the above sequence does not always=20
>  | lead to a panic. Because this ought to be a production=20
>  | machine, I have not conducted extensive tests. I can do so, if=20
>  | it is required.
>  |=20
> =20
>  Do you have disk quotas turned on?

I believe so. I have

quota=3Dyes

in my /etc/rc.conf, and /etc/fstab looks like:

/dev/wd0a / ffs rw,noatime,softdep 1 1
/dev/raid0e /usr ffs rw,noatime,softdep 1 2
/dev/raid0f /var ffs rw,noatime,softdep 1 2
/dev/raid0g /bulk ffs rw,noatime,softdep,userquota,groupquota 1 2
/dev/raid1e /home ffs rw,noatime,softdep,userquota,groupquota 1 2
/dev/raid0a none swap sw,priority=3D0 0 0
/dev/wd1a none swap sw,priority=3D1 0 0
kernfs /kern kernfs rw
procfs /proc procfs rw,noauto


Or does "disk quotas" mean something special apart from that?

--hoZxPH4CaxYzWscb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFEgbon1gObwed86AkRAgi0AJ9o3i5jaj8fFkYiOoTxZVUxw2FaBgCguCT5
RBHVLo0SOc50GuHYyXj7Eqg=
=rlIk
-----END PGP SIGNATURE-----

--hoZxPH4CaxYzWscb--