LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-14-2011, 03:55 AM   #1
hk_centos
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Rep: Reputation: Disabled
Unhappy How to set directory size


Hi All


I need to set size limit for shared directory. Actually i am unable to set directory size for my NFS shared folder

my Dir locate in

/root/ESSR_log

ex :
This ESSR_log Directory size should be 20GB. that mean NFS client only can store up to 20 GB files. NOT MORE

Please help me to solve this problem

Thanks
 
Old 06-14-2011, 04:19 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb


I would suggest reading the man pages of quota,quotaon,quotaoff.

You can set the owner of the directory using chown and then set the quota for that user or group if that is what is needed.

Hope this helps.
 
1 members found this post helpful.
Old 06-14-2011, 05:36 AM   #3
hk_centos
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
can you tell me how we can use quota in linux

give some sample code
 
Old 06-14-2011, 08:34 AM   #4
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 46
Quote:
Originally Posted by hk_centos View Post
can you tell me how we can use quota in linux

give some sample code
Code:
man quota
 
0 members found this post helpful.
Old 06-14-2011, 08:38 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Or have a look here.
 
0 members found this post helpful.
  


Reply



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
How do I set a real system user in ProFTP to set to a specific directory? j.smith1981 Linux - Server 27 12-14-2010 08:32 AM
how to set the maximum directory size in linux SantoshSonavale Linux - Newbie 1 03-31-2009 05:26 AM
does logrotate set size to 1048576 bytes by default if no size is specified? finebanana Red Hat 0 01-22-2009 12:10 AM
directory size includes size of .. leostar_10 Linux - Newbie 4 12-03-2007 04:12 PM
how to set the font size ztdep Linux - Software 1 01-13-2006 11:43 PM

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

All times are GMT -5. The time now is 02:27 PM.

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