Solved

How To View Linux Folder Quota from WinXP

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
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…

861 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

30 Experts available now in Live!

Get 1:1 Help Now