Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 14:15:17 -0700 (PDT)
From:      David Kirchner <dpk@dpk.net>
To:        freebsd-questions@freebsd.org
Subject:   quotacheck on a live filesystem; safe?
Message-ID:  <Pine.BSF.4.21.0008091410050.77341-100000@web2.sea.nwserv.com>

next in thread | raw e-mail | index | archive | help

Hi,

I've been reading over source for quotacheck and ufs_quota.c and so far I
have not found a reason why running quotacheck on a live filesystem would
cause anything but inconsistencies in the quota.user file. Is this an
incorrect belief?

From what I understand:

  the quota.user file is used as a storage for quota information between
  boots and by the various userland quota reporting utilities. The kernel
  maintains an idea of the quota in memory, and commits it to disk when
  necessary.

If this is correct, then I could expect, at worst, someone's quota to be
invalid if the machine crashes while quotacheck is running and their files
are being modified?

Thanks,
David Kirchner <dpk@dpk.net>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008091410050.77341-100000>