Subscribe

dynamic home directories and DFS

Hi Folks,

 

 

 

in my current environment I am looking for using dynamic home drives functionality on CDOT.. by spreading the users home folders on different volumes spread across all the nodes..

 

with dynamic home drives my windows team is looking to use DF functionality as well...... can this be done..?

 

 

Thanks in advance..

Re: dynamic home directories and DFS

Hi,

 

Please refer a similar discussion: http://community.netapp.com/t5/FAS-and-Data-ONTAP-Articles-and-Resources/Cheat-Sheet-Setting-up-a-Vserver-for-user-home-directories-in-a-Windows-File/...

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: dynamic home directories and DFS

I got that.. by I am looking how this dynamic home directories assoicated with windows DFS functionality 

Re: dynamic home directories and DFS

Not sure what the end goal is.  You want the user home drive to be a DFS path, that maps them back to their dynamic homedir on the SVM?  Sure, since about 8.3.2GA.

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: dynamic home directories and DFS

Yes user home drive to be a DFS path, that maps them back to their dynamic homedir on the SVM...

 

Re: dynamic home directories and DFS

In that case add a homedir share CIFS.HOMEDIR with a path %w then point your DFS leaf at \\yoursvm\CIFS.HOMEDIR

 

This mimics the homedir feature from 7mode. If you transition a homedir config over from 7mode, 7MTT sets this up for you.  When a user with a home directory on the SVM connects to that DFS path, they should land in their home directory.

 

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: dynamic home directories and DFS

well when I was trying to create the share CIFS.HOMEDIR

 

cifs share create -share-name CIFS.HOMEDIR -path %w /// Below is the error message I am getting

 

Error: command failed: Failed to create CIFS share CIFS.HOMEDIR. Reason: Standard shares must define an absolute share path in the Vserver's namespace

Re: dynamic home directories and DFS

[ Edited ]

The key thing in the message is "standard shares".  Hit tab to prepopulate the -share-properties and append homedirectory to the property list.  Then you should see a prompt similar to this:

 

Cluster1::vserver cifs*> share create -share-name CIFS.HOMEDIR -path %w -share-properties oplocks,browsable,changenotify,show-previous-versions,homedirectory -vserver svm1demo 
Warning: The home directory share's name "CIFS.HOMEDIR" does not
         contain a substitution value (%u or %w) to uniquely identify
         a home directory share. If multiple users from the same
         client access their home directories at the same time,
         unprotected access to each other's files can occur. This
         might cause unexpected "access denied" errors on those
         files, and data corruption within those files.
         Note: multiple users from a single client is most likely in
         a Citrix or Windows Terminal Services environment.
Do you want to continue? {y|n}: 

Note the warning.  This scenario can occur if multiple users connect from the same OS instance, such as a terminal server.You may not want to turn this on in a citrix environment.

 

You'll also need to setup your search paths and qtrees or directoriees for the user home if you have not already done so.

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: dynamic home directories and DFS

Thanks Sean,

 

then this method will impact us ...since we have subset of users always loggin through citrix.