[DRBD-user] Filesystem Quota

Eugene Crosser crosser at rol.ru
Mon Oct 18 10:56:25 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


P.V.Anthony wrote:

> I have a question about kernel based quota. Is it possible to use quota 
> on ext3 with drbd?

With 2.4 kernel, quota works if the number of userids is not too high 
(maybe 10 - 100 thousand is OK, more is problematic).  But quota on 2.4 
is not "journalling" which means that you need to run checkquota after 
mount and before everything else, and loose much of the advantage of the 
journalling filesystem.

With 2.6 kernel, there is journalling quota, but (up to 2.6.8.1 at 
least) there is a deadlock in the quota code that shows up at very high 
load.  The fix *may* be in the next kernel release.

To make quota work with heartbeat, you need to modify the heartbeat 
script that does filesystem mount (probably "filesystem" or somesuch) to 
run quotacheck and quotaon instantly after mount.

Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20041018/edf5eb9a/attachment.pgp>


More information about the drbd-user mailing list