Solved

How To View Linux Folder Quota from WinXP

Posted on 2007-11-30
4
1,531 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 250 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 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