Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2000 08:51:27 -0700 (PDT)
From:      David Kirchner <dpk@nwserv.com>
To:        freebsd-current@freebsd.org
Subject:   quotacheck on a live filesystem; safe? (fwd)
Message-ID:  <Pine.BSF.4.21.0008150850410.77341-100000@web2.sea.nwserv.com>

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

Hi,

I haven't had any confirmation of this message from -questions or
-hackers, I was wondering if anyone here had any insights?

---------- Forwarded message ----------
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?


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



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.0008150850410.77341-100000>