LinuxQuestions.org
Visit Jeremy's Blog.
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 12-16-2016, 11:05 AM   #1
mabrar
LQ Newbie
 
Registered: Dec 2016
Posts: 1

Rep: Reputation: Disabled
Post restricting folder size limit to 50 gb


a server have a mount point disk which contains multiple folders we want to restrict the folder size to 100 gb so more than 100 gb data cannot be stored in it . Folder 2 space limit 50 GB . same application user is accessing these folders so we cannot have a quota per user .
 
Old 12-16-2016, 01:10 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,014

Rep: Reputation: Disabled
If the drive is already in use, you could have these folders as mounted filesystem files.

Create each as a file using dd, I forget the exact command, but it is something like,
dd if=/dev/zero of=filename bs=1M count=?
then create a filesystem within it, mount & use it.

It would be easier to partition the drive up first,if that is possible.

Last edited by fatmac; 12-16-2016 at 01:12 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
What is the best way yo limit folder size? enyawix Linux - Server 1 06-23-2011 08:58 PM
limit folder size newuser455 Linux - General 4 01-19-2007 08:46 PM
Limit Folder Size Creini Linux - General 5 02-04-2006 11:31 PM
user/folder size limit dfcc Linux - Software 5 10-08-2005 05:56 AM
Size limit for folder gubak Linux - Newbie 3 11-11-2004 09:09 AM

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

All times are GMT -5. The time now is 02:51 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