
Langdon.Lock at mayo
Aug 5, 2009, 6:20 PM
Post #7 of 9
(2592 views)
Permalink
|
|
Re: User based Quotas - Why don't they show up correctly when mapped?
[In reply to]
|
|
Yep we use na_ntfschown as well. I will setup some test shares to test your setup. Thaks Lock -----Original Message----- From: Bill Holland Sent: Aug 05, 2009 4:17 PM To: "Tim Thomas" <timothy.b.thomas [at] lmco>, "Langdon, Laughlin T. (Lock)" <Langdon.Lock [at] mayo> Cc: "toasters [at] mathworks" <toasters [at] mathworks> Subject: Re: User based Quotas - Why don't they show up correctly when mapped? 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 [at] lmco> To: "Langdon, Laughlin T. (Lock)" <Langdon.Lock [at] mayo> Cc: "Bill Holland" <hollandwl [at] gmail>; <toasters [at] mathworks> 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 [at] gmail] >> *Sent:* Wednesday, August 05, 2009 9:00 AM >> *To:* Langdon, Laughlin T. (Lock) >> *Cc:* toasters [at] mathworks >> *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 [at] mayo <mailto:Langdon.Lock [at] mayo>> 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 >> >> https://forums.netapp.com/thread/2900 >>
|