|
From: Marc P. <pet...@ma...> - 2006-05-23 18:58:19
|
On 23. Mai 2006, at 20:46 Uhr, Jamie Cameron wrote: > On 23/May/2006 13:40 Marc Petitmermet wrote .. >> >> On 23. Mai 2006, at 19:37 Uhr, Jamie Cameron wrote: >> >>> On 23/May/2006 12:20 Marc Petitmermet wrote .. >>>> >>>> On 23. Mai 2006, at 18:52 Uhr, Jamie Cameron wrote: >>>> >>>>> On 23/May/2006 07:46 Marc Petitmermet wrote .. >>>>>> Dear List Members >>>>>> >>>>>> The "Disk Quotas" module tells me "No local filesystems can >>>>>> support >>>>>> quotas". But this is not true! because in the "Disk and Network >>>>>> Filesystems" I see for each local file system that quotas are >>>>>> enabled >>>>>> for "User and Group". This is RedHat Enterprise Linux 4 Up 2. >>>>>> Am I >>>>>> doing something wrong? >>>>> >>>>> What type of filesystem are you trying to enable quotas on? >>>>> The problem may be that it is one of the types not supported by >>>>> Webmin .. >>>>> right now, only quotas on ext2, ext3 and xfs are handled. >>>> >>>> It is ext3... >>> >>> That should work then .. >>> What does the /etc/fstab file contain on your system? >> >> Ah, this might be the problem. We do not use /etc/fstab to mount the >> disks, we use custom made shell scripts which mounts the filesystems >> we want under certain conditions. Is an entry in /etc/fstab really >> necessary? After all "Disk and Network Filesystems" knows already if >> and what quotas are enabled... > > Yes, in the current design on Webmin /etc/fstab is needed. In fact, > many > commands like quotaon/quotaoff won't enable quotas unless they can > find an > entry in /etc/fstab. This is not true, at least in our case. All quota commands work perfectly. Would Webmin work if we had the filesystems in /etc/fstab but with the noauto option? > I strongly recommend using it where you can, and only using a > custom script > to mount filesystems that cannot be handled by /etc/fstab for some > reason .. > otherwise you are re-inventing the wheel :) The filesystems in question are several raid systems which we only want to mount when certain conditions are met. Regards, Marc |