Solved

How To View Linux Folder Quota from WinXP

Posted on 2007-11-30
4
1,533 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Fine Tune your automatic Updates for Ubuntu / Debian
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

622 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