LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-17-2006, 10:35 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 824

Rep: Reputation: 30
How to control hard disk usage in Samba?


Hi! I have clients connecting to the samba server which acts as the file server. Basically, almost all the clients are windows. They just drag and drop files to their folder in samba. Is there a way for me to control the storage for each client on the samba server? Let's say 1GB per user...I also wanted to add up some roaming profile capability but still don't know how. Hope someone can help me on this. Thanks.
 
Old 09-17-2006, 11:37 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 506
Blog Entries: 1

Rep: Reputation: 37
This might be the long way around but you can create 1 GB image files, mount them to whatever linux subdirectory that you choose using the "-o loop" option in either mount or fstab and then setup each Samba share to use the linux subdirectory corresponding to whatever image file you want that Samba share to use.
 
Old 09-17-2006, 11:53 PM   #3
depam
Member
 
Registered: Sep 2005
Posts: 824

Original Poster
Rep: Reputation: 30
Ok...What if I have let's say 150 users? And I want to provide each of them a 1GB of storage space..It is a hard approach if i'll create image for every one of them. Is there an easier way? How about roaming profile? Can you help me on it? Thanks.
 
Old 09-18-2006, 12:49 AM   #4
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 506
Blog Entries: 1

Rep: Reputation: 37
Looks like not, although you can automate all of it using shell scripts. You might also want to look at http://expertanswercenter.techtarget...141666,00.html to see how and what you can do regarding roaming profiles on linux. If you do use my method, each of your windows users are guaranteed to be limited to 1GB (or whatever you set for each user).
 
  


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
Suddenly 100% of hard disk usage. What steps should i follow? stormrider_may Linux - Security 9 03-07-2006 05:49 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Total Hard Disk Usage kbeaver Linux - Newbie 4 09-03-2003 09:43 AM
Control usage of IMAP chuck77 Linux - General 1 05-22-2003 01:23 PM
Hard disk usage... plisken Linux - General 7 01-31-2003 03:17 AM


All times are GMT -5. The time now is 03:24 AM.

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