LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-04-2005, 09:00 AM   #1
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Rep: Reputation: 0
Disk Quotas


Hi All

When i created my Linux server i set up a mounted filesystem so i could do disk quotas. I have a 120gb hard drive on my system and i want to allocate about 100gb for the users. Now i set each user up to have 2 gb of space in this folder that is mounted. The problem that i am having is the folder is only allowing 99mb combined for everyone. I was curious why that is happening and how to i change that?


Thanks

MDK3
 
Old 07-04-2005, 09:48 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Providing more information in regards to configuration files and such always helps..
 
Old 07-04-2005, 12:08 PM   #3
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Quotas on Linux are per-filesystem, not per-folder. How did you try to set them up?
 
Old 07-04-2005, 01:36 PM   #4
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I followed this page in setting up my mount for quotas then i used the disk quota option under Webmin to set the users to 2gb but i dont see anywhere about filesystem quotas

http://www.yolinux.com/TUTORIALS/Lin...ialQuotas.html
 
Old 07-04-2005, 04:07 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by trickykid
Providing more information in regards to configuration files and such always helps..
I quote myself once again, linking us to the tutorial you followed only helps slightly as we don't know what your configs look like, what you potentially are doing wrong.. etc..
 
Old 07-04-2005, 08:42 PM   #6
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
ok i just loaded the linux box so the config is default the way it is installed on Fedora core 3. I followed the tutorial then i installed webmin, fpse2002,pureftp, and then i set my qutoas in webmin.

I have done nothing else.
 
Old 07-05-2005, 08:18 AM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by mdk3
ok i just loaded the linux box so the config is default the way it is installed on Fedora core 3. I followed the tutorial then i installed webmin, fpse2002,pureftp, and then i set my qutoas in webmin.

I have done nothing else.
I take it your not going to be posting any configuration files

And why are you telling us you used webmin.. that doesn't help us. Can you post more details please of requota output and the actual files you edited from the howto? If not, we can't help you as we can't guess why its not doing what you want it to be doing..
 
Old 07-05-2005, 10:42 PM   #8
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 108G 3.3G 100G 4% /
/dev/hda1 99M 99M 0 100% /boot
none 506M 0 506M 0% /dev/shm
/dev/hda1 99M 99M 0 100% /var/www/websites


this is where i believe my problem lies. The users are in the websites folder. which is apparently using the same space as the boot if i am reading this right.
I would like it to be using the 100G that vol00 is using. Sorry about all this i am still trying to learn.
 
Old 07-05-2005, 10:53 PM   #9
FinalFantasy
Member
 
Registered: Sep 2003
Location: UK
Distribution: CLFS-32bit-x86 / LFS-SVN-20060210
Posts: 49

Rep: Reputation: Disabled
Do not mount anything for directory /var/www/websites.
Check your /etc/fstab and comment out the line which starts with /var/www/websites.
 
Old 07-06-2005, 07:32 AM   #10
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Then thing is the users are actually websites. This is a web server and according to my book fedora finds the websites under /var/www
Is there a way to tell fedora to look somewhere else instead of that directory.
When the users login to their account over FTP or FPSE it takes them to /var/www/websites/'user folder' So if i dont mount /var/www/website then i cant put quotas on the user.
Again thanks for the help
 
Old 07-06-2005, 09:26 AM   #11
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
If you unmount /var/www/websites it'll still be there, just without the files currently in it. So back them up, unmount it (you definately shouldn't have websites and /boot sharing space anyway) and restore it into the /var/www/websites directory which now resides on /
 
Old 07-06-2005, 09:54 AM   #12
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Or move the data to a partition on the bigger partition and create a symlink or edit your apache configuration to look for the directories in their new location..
 
Old 07-06-2005, 04:41 PM   #13
mdk3
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I was thinking about just moving the folders to the 100g filesystem. The problem which i have (which probably isnt really a problem but i just cant think straight) is if i umount the /var/www/websites then i lose my quotas because it has to be mounted in order to have quotas, or am i totally wrong on that.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disk/directory quotas Basslord1124 Linux - General 2 03-21-2005 09:51 AM
Samba + disk quotas DanWiFi Linux - Software 0 08-20-2004 10:19 AM
disk quotas johnnycash Linux - General 1 03-16-2004 08:12 AM
disk quotas skeletal29 Linux - General 1 10-13-2002 04:42 PM
Disk Quotas with kernel 2.4.x luismi Linux - General 6 07-12-2001 04:41 AM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration