More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541 ) that has no information and a reply that there isn't much information on this issue. (Maybe the functionality just isn't there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want "points" for answering) J
We are using user quotas for our users and it shows the capacity based on their quota, not the entire volume. We are using 7.2.6.1. Perhaps your quotas aren't enabled or haven't completed a resize operation?
On Wed, Aug 5, 2009 at 11:47 AM, Langdon, Laughlin T. (Lock) < Langdon.Lock@mayo.edu> wrote:
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541) that has no information and a reply that there isn’t much information on this issue. (Maybe the functionality just isn’t there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want “points” for answering) J
I'm running 7.2.5.1p6 (upgrading to 7.2.6.1 this weekend)
They are enabled, and active (can't put more data than the quota is set to). I've even created a monitoring tree based quota per the documentation from netapp.
Here's a modified version of my quotas for homeshares
#USER HOME SHARES BEGIN
* user@/vol/VOLUME/QTREE04 - - - 1048576K -
* user@/vol/ VOLUME/QTREE09 - - - 104857600K -
* user@/vol/ VOLUME/QTREE02 - - - 102400K -
* user@/vol/ VOLUME/QTREE06 - - - 10485760K -
* user@/vol/ VOLUME/QTREE10 - - - 209715200K -
* user@/vol/ VOLUME/QTREE01 - - - 20480K -
* user@/vol/ VOLUME/QTREE07 - - - 26214400K -
* user@/vol/ VOLUME/QTREE03 - - - 512000K -
* user@/vol/ VOLUME/QTREE08 - - - 52428800K -
* user@/vol/ VOLUME/QTREE05 - - - 5242880K -
* user@/vol/ VOLUME/QTREE11 - - - 20480K -
#USER HOME SHARES END
Here's a direct quote from Netapp Support re: my issue of USER quotas not properly showing when mapped
"I wanted to find you some documentation for this condition but found little. However, I did confirm your suspicion that this is by design"
To me that says what you have currently should not work. Sigh... round and round we go J
Thanks for the info, It will give me more firepower to figure out what the issue really is.
From: Bill Holland [mailto:hollandwl@gmail.com] Sent: Wednesday, August 05, 2009 9:00 AM To: Langdon, Laughlin T. (Lock) Cc: toasters@mathworks.com Subject: Re: User based Quotas - Why don't they show up correctly when mapped?
We are using user quotas for our users and it shows the capacity based on their quota, not the entire volume. We are using 7.2.6.1. Perhaps your quotas aren't enabled or haven't completed a resize operation?
On Wed, Aug 5, 2009 at 11:47 AM, Langdon, Laughlin T. (Lock) Langdon.Lock@mayo.edu wrote:
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541 ) that has no information and a reply that there isn't much information on this issue. (Maybe the functionality just isn't there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want "points" for answering) J
We also are using user level quotas and it shows up just fine when mapped. are you using usermap.cfg to definite your qtrees as homedir qtrees, so the mapping is \filer\userid? do all your users infact "own" their own files. if using unix security style for your qtrees this is usually easy to check. If using ntfs security style this is more difficult to check and set, but you have to make sure that the "owner" of the files and the directories is the individual user. (we use unix security style, it makes things much easier to script up) the only exception we have run into is if the user is in the administrators group, if this is the case you must set wafl.nt_admin_priv_map_to_root to off for the quota to appear properly for those users in the local administrators group. if you set that option to off, then the quotas show up correctly, even for the admins.
Tim Thomas
Langdon, Laughlin T. (Lock) wrote:
I’m running 7.2.5.1p6 (upgrading to 7.2.6.1 this weekend)
They are enabled, and active (can’t put more data than the quota is set to). I’ve even created a monitoring tree based quota per the documentation from netapp.
Here’s a modified version of my quotas for homeshares
#USER HOME SHARES BEGIN
user@/vol/VOLUME/QTREE04 - - - 1048576K -
user@/vol/ VOLUME/QTREE09 - - - 104857600K -
user@/vol/ VOLUME/QTREE02 - - - 102400K -
user@/vol/ VOLUME/QTREE06 - - - 10485760K -
user@/vol/ VOLUME/QTREE10 - - - 209715200K -
user@/vol/ VOLUME/QTREE01 - - - 20480K -
user@/vol/ VOLUME/QTREE07 - - - 26214400K -
user@/vol/ VOLUME/QTREE03 - - - 512000K -
user@/vol/ VOLUME/QTREE08 - - - 52428800K -
user@/vol/ VOLUME/QTREE05 - - - 5242880K -
user@/vol/ VOLUME/QTREE11 - - - 20480K -
#USER HOME SHARES END
Here’s a direct quote from Netapp Support re: my issue of USER quotas not properly showing when mapped
“I wanted to find you some documentation for this condition but found little. However, I did confirm your suspicion that this is by design”
To me that says what you have currently should not work. Sigh… round and round we go J
Thanks for the info, It will give me more firepower to figure out what the issue really is.
*From:* Bill Holland [mailto:hollandwl@gmail.com] *Sent:* Wednesday, August 05, 2009 9:00 AM *To:* Langdon, Laughlin T. (Lock) *Cc:* toasters@mathworks.com *Subject:* Re: User based Quotas - Why don't they show up correctly when mapped?
We are using user quotas for our users and it shows the capacity based on their quota, not the entire volume. We are using 7.2.6.1. Perhaps your quotas aren't enabled or haven't completed a resize operation?
On Wed, Aug 5, 2009 at 11:47 AM, Langdon, Laughlin T. (Lock) <Langdon.Lock@mayo.edu mailto:Langdon.Lock@mayo.edu> wrote:
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541) that has no information and a reply that there isn’t much information on this issue. (Maybe the functionality just isn’t there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want “points” for answering) J
We use CIFSHOMEDIR to "create" a \filername\username\ share that is mapped via a logon script. We use NTname in CIFSHOMEDIR. Is it possible since these aren't "real" shares there is a disconnect between the quota and the share?
Unfortunately it would be a pain to have an individual entry for every user in the usermap.cfg file. We have over 50,000 user homeshares.
Also, the issue isn't just admins it's all users, but that is a nice tip that I may implement just so everyone is on the same page :).
-----Original Message----- From: Tim Thomas [mailto:timothy.b.thomas@lmco.com] Sent: Wednesday, August 05, 2009 2:29 PM To: Langdon, Laughlin T. (Lock) Cc: Bill Holland; toasters@mathworks.com Subject: Re: User based Quotas - Why don't they show up correctly when mapped?
We also are using user level quotas and it shows up just fine when mapped. are you using usermap.cfg to definite your qtrees as homedir qtrees, so the mapping is \filer\userid? do all your users infact "own" their own files. if using unix security style for your qtrees this is usually easy to check. If using ntfs security style this is more difficult to check and set, but you have to make sure that the "owner" of the files and the directories is the individual user. (we use unix security style, it makes things much easier to script up) the only exception we have run into is if the user is in the administrators group, if this is the case you must set wafl.nt_admin_priv_map_to_root to off for the quota to appear properly for those users in the local administrators group. if you set that option to off, then the quotas show up correctly, even for the admins.
Tim Thomas
Langdon, Laughlin T. (Lock) wrote:
I'm running 7.2.5.1p6 (upgrading to 7.2.6.1 this weekend)
They are enabled, and active (can't put more data than the quota is set to). I've even created a monitoring tree based quota per the documentation from netapp.
Here's a modified version of my quotas for homeshares
#USER HOME SHARES BEGIN
user@/vol/VOLUME/QTREE04 - - - 1048576K -
user@/vol/ VOLUME/QTREE09 - - - 104857600K -
user@/vol/ VOLUME/QTREE02 - - - 102400K -
user@/vol/ VOLUME/QTREE06 - - - 10485760K -
user@/vol/ VOLUME/QTREE10 - - - 209715200K -
user@/vol/ VOLUME/QTREE01 - - - 20480K -
user@/vol/ VOLUME/QTREE07 - - - 26214400K -
user@/vol/ VOLUME/QTREE03 - - - 512000K -
user@/vol/ VOLUME/QTREE08 - - - 52428800K -
user@/vol/ VOLUME/QTREE05 - - - 5242880K -
user@/vol/ VOLUME/QTREE11 - - - 20480K -
#USER HOME SHARES END
Here's a direct quote from Netapp Support re: my issue of USER quotas not properly showing when mapped
"I wanted to find you some documentation for this condition but found little. However, I did confirm your suspicion that this is by design"
To me that says what you have currently should not work. Sigh... round
and round we go J
Thanks for the info, It will give me more firepower to figure out what
the issue really is.
*From:* Bill Holland [mailto:hollandwl@gmail.com] *Sent:* Wednesday, August 05, 2009 9:00 AM *To:* Langdon, Laughlin T. (Lock) *Cc:* toasters@mathworks.com *Subject:* Re: User based Quotas - Why don't they show up correctly when mapped?
We are using user quotas for our users and it shows the capacity based
on their quota, not the entire volume. We are using 7.2.6.1. Perhaps your quotas aren't enabled or haven't completed a resize operation?
On Wed, Aug 5, 2009 at 11:47 AM, Langdon, Laughlin T. (Lock) <Langdon.Lock@mayo.edu mailto:Langdon.Lock@mayo.edu> wrote:
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it
to a user (say xyz99). When XYZ99's home share is mapped they see 11TB
available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541) that has no information and a reply that there isn't much information on this issue. (Maybe the functionality just isn't there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want "points"
for answering) J
There is a tool in the Toolchest on the NOW site called na_chstuff. Within it is one called na_chmod.exe I have a script that I run at 3am every day that uses this to change the ownership of each folder based on the users' login name. We have our user shares saved as filername:/vol/users/username and shared as \filername\users. They are using NTFS security style and no QTrees. Authenticated Users has List on the first level subfolders with Administrators, System, and Creator Owner having Full Control of everything. The script is something like (I'm at home and doing this off the top of my head):
for /d %f in (\filername\users*.*) do na_ntfschown /r domain%f
The exact syntax may be off a bit, but you get the idea.
Hope this helps.
----- Original Message ----- From: "Tim Thomas" timothy.b.thomas@lmco.com To: "Langdon, Laughlin T. (Lock)" Langdon.Lock@mayo.edu Cc: "Bill Holland" hollandwl@gmail.com; toasters@mathworks.com Sent: Wednesday, August 05, 2009 5:28 PM Subject: Re: User based Quotas - Why don't they show up correctly when mapped?
We also are using user level quotas and it shows up just fine when mapped. are you using usermap.cfg to definite your qtrees as homedir qtrees, so the mapping is \filer\userid? do all your users infact "own" their own files. if using unix security style for your qtrees this is usually easy to check. If using ntfs security style this is more difficult to check and set, but you have to make sure that the "owner" of the files and the directories is the individual user. (we use unix security style, it makes things much easier to script up) the only exception we have run into is if the user is in the administrators group, if this is the case you must set wafl.nt_admin_priv_map_to_root to off for the quota to appear properly for those users in the local administrators group. if you set that option to off, then the quotas show up correctly, even for the admins.
Tim Thomas
Langdon, Laughlin T. (Lock) wrote:
I’m running 7.2.5.1p6 (upgrading to 7.2.6.1 this weekend)
They are enabled, and active (can’t put more data than the quota is set to). I’ve even created a monitoring tree based quota per the documentation from netapp.
Here’s a modified version of my quotas for homeshares
#USER HOME SHARES BEGIN
user@/vol/VOLUME/QTREE04 - - - 1048576K -
user@/vol/ VOLUME/QTREE09 - - - 104857600K -
user@/vol/ VOLUME/QTREE02 - - - 102400K -
user@/vol/ VOLUME/QTREE06 - - - 10485760K -
user@/vol/ VOLUME/QTREE10 - - - 209715200K -
user@/vol/ VOLUME/QTREE01 - - - 20480K -
user@/vol/ VOLUME/QTREE07 - - - 26214400K -
user@/vol/ VOLUME/QTREE03 - - - 512000K -
user@/vol/ VOLUME/QTREE08 - - - 52428800K -
user@/vol/ VOLUME/QTREE05 - - - 5242880K -
user@/vol/ VOLUME/QTREE11 - - - 20480K -
#USER HOME SHARES END
Here’s a direct quote from Netapp Support re: my issue of USER quotas not properly showing when mapped
“I wanted to find you some documentation for this condition but found little. However, I did confirm your suspicion that this is by design”
To me that says what you have currently should not work. Sigh… round and round we go J
Thanks for the info, It will give me more firepower to figure out what the issue really is.
*From:* Bill Holland [mailto:hollandwl@gmail.com] *Sent:* Wednesday, August 05, 2009 9:00 AM *To:* Langdon, Laughlin T. (Lock) *Cc:* toasters@mathworks.com *Subject:* Re: User based Quotas - Why don't they show up correctly when mapped?
We are using user quotas for our users and it shows the capacity based on their quota, not the entire volume. We are using 7.2.6.1. Perhaps your quotas aren't enabled or haven't completed a resize operation?
On Wed, Aug 5, 2009 at 11:47 AM, Langdon, Laughlin T. (Lock) <Langdon.Lock@mayo.edu mailto:Langdon.Lock@mayo.edu> wrote:
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541) that has no information and a reply that there isn’t much information on this issue. (Maybe the functionality just isn’t there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want “points” for answering) J
Don't know if this will help but ... in a nut shell, Have you tried setting a default user quota on the home qtree then assigning each user a specific quota in addition to the default?
Have no issues with user quotas showing up properly here. Our structure is like: /cifsvolume/homeqtree2 /cifsvolume/homeqtree5 /cifsvolume/homeqtree10
Each of the home qtrees has a default user quota applied - Container one defaults to 250 meg per user - Container two = 500 meg default The last container has a default quota of 2 gig.
If someone needs a larger quota we move the home directory to the next container. We then have to run NTFSchown to set the file ownership. If someone exceeds the largest default, I apply a specific user quota only to that person. Manage by exception thing.
Moving home folders and chowning is a bit of a pain but I could not think of a better way to do this without having to apply specific quotas to all 12,000 accounts. We don't get a lot of requests for larger home quotas - about ½ a dozen or less per week.
Our home drive shares are set to the hidden style. When each user connects they map to \filer\username$file:///\\filer\username$ to get their H: I made a mistake when setting this up. We can assign a home drive mapping to the user in the Active directory MMC but the MMC will not create the H drive. We have to create the home folder manually. Not a big issue as we are not allowed to create user accounts manually. Our IDM system has a script that runs to create and ACL the home folder when the account is created.
One other thing: We use windows folder redirection here to ensure that the "my documents" folder is saved to the user's H: drive. Could not make this work until we gave each user full-control on their own H:. This has nothing to do with quotas not showing up properly. Quotas worked fine before this change. Thought I'd mention it though.
From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Langdon, Laughlin T. (Lock) Sent: 2009 August 05 9:47 AM To: toasters@mathworks.com Subject: User based Quotas - Why don't they show up correctly when mapped?
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541) that has no information and a reply that there isn't much information on this issue. (Maybe the functionality just isn't there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want "points" for answering) :)
https://forums.netapp.com/thread/2900
________________________________ NOTICE - This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.
That very similar to our architecture, only we don't move the user's home share we use DFM to manage the quota size and upgrade them in place thus avoiding needing to migrate dozens of users every day (We used to migrate users into a new quota bucket but it became too labor intensive as we have over 80,000+ home shares, and 50,000+ users) .
Do you use CIFS homedir to make the username$ share, or do you manually make the shares? Are you shared user folders Qtrees?
From: Warkentin, Grant [mailto:Grant.Warkentin@calgary.ca] Sent: Friday, August 07, 2009 8:06 AM To: Langdon, Laughlin T. (Lock); 'toasters@mathworks.com' Subject: RE: User based Quotas - Why don't they show up correctly when mapped?
Don't know if this will help but ...
in a nut shell, Have you tried setting a default user quota on the home qtree then assigning each user a specific quota in addition to the default?
Have no issues with user quotas showing up properly here.
Our structure is like:
/cifsvolume/homeqtree2
/cifsvolume/homeqtree5
/cifsvolume/homeqtree10
Each of the home qtrees has a default user quota applied
- Container one defaults to 250 meg per user
- Container two = 500 meg default
The last container has a default quota of 2 gig.
If someone needs a larger quota we move the home directory to the next container. We then have to run NTFSchown to set the file ownership. If someone exceeds the largest default, I apply a specific user quota only to that person. Manage by exception thing.
Moving home folders and chowning is a bit of a pain but I could not think of a better way to do this without having to apply specific quotas to all 12,000 accounts. We don't get a lot of requests for larger home quotas - about ½ a dozen or less per week.
Our home drive shares are set to the hidden style. When each user connects they map to \filer\username$ file:///\\filer\username$ to get their H: I made a mistake when setting this up. We can assign a home drive mapping to the user in the Active directory MMC but the MMC will not create the H drive. We have to create the home folder manually. Not a big issue as we are not allowed to create user accounts manually. Our IDM system has a script that runs to create and ACL the home folder when the account is created.
One other thing:
We use windows folder redirection here to ensure that the "my documents" folder is saved to the user's H: drive. Could not make this work until we gave each user full-control on their own H:. This has nothing to do with quotas not showing up properly. Quotas worked fine before this change. Thought I'd mention it though.
From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Langdon, Laughlin T. (Lock) Sent: 2009 August 05 9:47 AM To: toasters@mathworks.com Subject: User based Quotas - Why don't they show up correctly when mapped?
More fun with user based quotas. When a user has a mapped CIFS share to their home drive the size of the entire volume shows up when they map the drive. I thought user quotas used to just show the "quotaed" space for that user.
I.E. I have a 11TB volume. I create a user quota of 500MB and apply it to a user (say xyz99). When XYZ99's home share is mapped they see 11TB available to them, not 500MB. A tree based quota with a hard limit works just fine in showing only 500MB available.
I've worked with Netapp support and did get an obscure bug (88541 http://now.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=88541 ) that has no information and a reply that there isn't much information on this issue. (Maybe the functionality just isn't there? I could swear we used to have that function.)
Does anyone use user quotas and have this same problem?
Are there better ways to do user home share type CIFS shares?
Thanks lock
p.s. (Also posted on the NetApp Support Community if you want "points" for answering) J
https://forums.netapp.com/thread/2900
________________________________
NOTICE - This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.