Solved

How To View Linux Folder Quota from WinXP

Posted on 2007-11-30
4
1,527 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now