LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2008, 12:34 AM   #1
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Rep: Reputation: 15
linux quotas


i have a ltsp network set up on a suse platform

i want to use linux quotas on suse to provide limited disk space on
LTSP server

how do i use linux quotas in suse???
 
Old 01-05-2008, 09:18 AM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I have never configured quota on suse, so there might be some differences from what I am used to.

First of all, you need to enable quota in your kernel. File systems -> Quota support, and choose v2. You will need some basic tools. They are probably installed by default, and if not I'm guessing they can be installed using yast.

I don't know where you want your quotas, (spool, home folders or whatever. But that isn't very important). Then you add usrquota to /etc/fstab on the options field on the partition you want to use quotas. For the changes to take affect, you need to remount the partition or reboot. If the destination is /home and it is a separate partition you might have to enter runlevel 1 to be able to remount it.
mount -o remount /home

The quota data is stored in the aquota.user file in the root of the partition you want to use quotas. This will not exist automaticly, so you have to create this. i.e:
quotacheck /home
This might take a while, as it is calculating used space and inodes of each user. When it is done, you can modify this file by hand, or use the tool edquota. (edquota <username>). You can have quotas for groups aswell. This is stored in aquota.group.

When this is done, activate quotas with quotaon.

This is a pretty basic description. And it might not work just like this as I have never done this on suse. But anyway you have some clues on how it is done

Last edited by Dinithion; 01-05-2008 at 12:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux FTP/WWW-User Quotas IlyaZ Linux - Server 1 05-01-2007 09:11 PM
Quotas on Linux???? krishvij Linux - Newbie 2 03-07-2005 08:32 AM
linux print server with quotas! jhp Linux - Networking 0 09-01-2004 08:49 AM
set disk quotas in raid for linux rockwell_001 Linux - Hardware 1 07-26-2004 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration