Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up Quota on Webmin

Status
Not open for further replies.

wlwoman

Technical User
Jul 8, 2001
133
US
Well, I'm back again. This time I tried to configure Quota using Webmin and knocked my system offline for 30 minutes while I shut down NFS computers and rewrote the fstab and mtab files. So....

I know it's been a topic here before, and some people have set up Quota using Webmin. My questions is: how? In great detail would be helpful.

How to define the mount in Webmin NFS? (or otherwise)
How to limit a specific user (who is becoming a disk hog) to a finite amount of space?

My /etc/fstab file looks like this:
LABEL=/ /
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0


What should be changed?

My /etc/mtab file looks like this:

/dev/hda2 / rw 0 0
none /proc proc rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0


How should it look?

As usual, every time I think I understand how to do something, I find that my idea is a disaster![thumbsdown]
 
Hi,

Login into webmin and select 'Disk and Network Filesystems' then choose a partition you want to enable quotas on and click on the highlighted 'mounted as' entry. Then page down to 'Advanced Mount options' and now make your selection under 'use quotas?'. That should be all you need to do in the webmin setup. Now make make your new entries in /etc/fstab and control files on the partition.


Blizz
 
Login into webmin and select 'Disk and Network Filesystems' then choose a partition you want to enable quotas on and click on the highlighted 'mounted as' entry.
There is nothing in the list in Webmin that's selectable other than NFS, plus things like the boot partition and virtual memory. Should I add /dev/hda2 mounted as / to this list and then enable quota on that? (see mtab file - I told you I was lost)

Then page down to 'Advanced Mount options' and now make your selection under 'use quotas?'. That should be all you need to do in the webmin setup. Now make make your new entries in /etc/fstab and control files on the partition. Once I figure out how to enable the correct partition the rest is cake [bigglasses]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top