To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2002, 08:22 PM   #1
packetMax
Junior Member
 
Join Date: Oct 2002
Posts: 7
Quotas

Hey,

I want to add quota's to my system here at home for each user...I've searched google for tutorials and stuff, and got one which said I should edit /etc/fstab and I did that - After rebooting my file system was mounted in read only, so I was kinda screwed, I couldn't fix the problem. Had to reinstall (lost lots of data) Anybody knows how to install quota's and add quotas for each user/directory etc.. the right way ?

It's on Linux Mandrake 8.2 and on FreeBSD 4.6

Many thanks in advance.

packetMax
packetMax is offline   Reply With Quote
Old 10-04-2002, 10:41 PM   #2
john8675309
Member
 
Join Date: Aug 2002
Location: Mankato
Posts: 74
Just to let you know you didn't have to reformat there is a snazzy little command that you can use in lilo that will allow you to mount the drive in read write mode but not go all the way through the login process don't remeber it off the top of my head. I am sure you know that /etc/fstab controls how a drive is mounted everything from where it is mounted to how it is mounted(read/write) more then likely the tutorial was correct but possible they had you put an ro in the fstab which would have mounted the drive Read Only. I have never done quotas I need to learn though but I do know the Kernel has to be compiled to do so. I guess that would be the next place I would check.

John
__________________
I think Therefore I code
---
Try the All new Jkcool.com instant Messenger Http://www.jkcool.com/sitefiles/im.php
---
john8675309 is offline   Reply With Quote
Old 10-06-2002, 07:25 PM   #3
jjs
Junior Member
 
Join Date: Oct 2002
Posts: 6
fstab should look like this

/dev/hda7 /home ext3 defaults,usrquota 1 2

then type quotacheck -avug that will establish quota.user on the partition.

then to set the quota for a user type
edquota -u user

then quotaon -avu wil turn it on.
jjs is offline   Reply With Quote
Old 12-27-2002, 05:02 AM   #4
marconi8
Senior Member
 
Join Date: Sep 2002
Location: Latvia, Daugavpils
Posts: 261
i have some problems with quotas setting

i have directory /partition

in this directory i have placed two files
quota.user, quota.group

than i edit my /etc/fstab

/dev/hdb5 ext2 defaults ,usrquota,grpquota 1 2

then i make
shell> quotacheck -avug and now i get the error

-- cant remount filesystems mounted on /read-only

, can anybody helps me ???
marconi8 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 01:36 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.