Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How To View Linux Folder Quota from WinXP

Posted on 2007-11-30
4
Medium Priority
?
1,537 Views
Last Modified: 2013-12-16
We are using Samba to map user home directories on Windows XP Pro desktops in a mixed server environment.  When we do this the users see the size of the entire partition "230GB" instead of their quota space "400MB".

We're using the [homes] functionality for these directories as shown below:

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        read only = no
        inherit acls = yes
        dos filetimes = yes
        veto files = /.bash*/Desktop/.kde*/.screenrc/

I read somewhere that this should be possible "if the
'configure' is done '--with-quotas'".  The partition is configured as below:

/dev/sda10           /home                ext3       acl,user_xattr,usrquota  1 2

Is there something simple we're missing to have this display correctly in the end user (Windows Explorer) interface?  We've been using (and upgrading) these Samba shares for a long time (7+ years?) - are there configuration settings in Samba 3 that we just haven't looked at or used that we can access to make this all work better?

Any advice is appreciated!
0
Comment
Question by:e_sandrs
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Wod earned 1000 total points
ID: 20385862
a) make sure your samba is compiled with quota support
b) look in 'man smb.conf' for the parameter for quota
c) if you're working with posix quotas: you have to specify a hard limit
0
 
LVL 5

Author Comment

by:e_sandrs
ID: 20385984
Hmmm, maybe we didn't compile with quota support....  I'll have to check on that with the guy who did it.  We are actively using quotas managed by the OS functionality (edquota, setquota, etc.).  Perhaps that'll be it...
0
 
LVL 5

Author Comment

by:e_sandrs
ID: 20423794
Ok, we figured it out.  :)

We verified quota support was compiled in to our Samba build, then our senior Linux guy used the man page details to create the necessary script setup for proper quota reporting - everything works now!
0
 
LVL 5

Author Closing Comment

by:e_sandrs
ID: 31412035
The expert could have "wasted" some time providing additional details of the steps necessary that would have helped a less experienced soul like myself - but the information was exactly what was needed to pass on to my coworker, so "A"!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question