Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

Home Directory creation for Windows Migration

JohnOBrien

HI All,

 

We are about to embark on a client CIFS migration from Windows 2k3/2k8 to NetApp 9.1 P8

 

Due to time constraints and the clients requests not to change the current AD home directory paths, we are obligated to match the current MSCS infrastructure in OnTap.

 

e.g.

 

\\MSCS1

   \accounts-dept\data

   \accounts-users$\%username%

   \finance-dept\data

   \finance-users$\%username%

 

\\SVM1

   \accounts-dept\data

   \accounts-users$\%username%

   \finance-dept\data

   \finance-users$\%username%

 

Is is possible to implement ONTAPs home dir functionality in this case?

 

I require 2 home dir shares:

 

\\svm1\accounts-user$\%w

\\svm1\finance-user$\%w

 

with the following home dir search paths

 

/svm1/svm1_vol01/accounts-user$

/svm1/svm1_vol01/finance-user$

 

Commands:

vserver cifs share create -vserver SVM1 -share-name %w -path accounts-user$/%w -share-properties oplocks,browsable,changenotify,homedirectory

vserver cifs share create -vserver SVM1 -share-name %w -path finance-user$/%w -share-properties oplocks,browsable,changenotify,homedirectory - Failied due to duplicate share name

 

 

Thanking you in advance,

 

John

6 REPLIES 6

SYNTAXERROR

Hi John

 

Have you tried the following:

 

Define the search-paths:

vserver cifs home-directory search-path add -vserver SVM -path /VOLUME1

vserver cifs home-directory search-path add -vserver SVM -path /VOLUME2

 

Create a cifs share like this:

vserver cifs share create -vserver SVM -share-name %w -path %w -share-properties homedirectory

 

This should be what you are searching for. 

 

Kind regards

Dario

JGPSHNTAP

A client's home drive should be entirely irrevelant to anyone, even the user.

 

When you switch to cifs home-directory search paths, that's a 'dynamic' share, so it's only created when a user logs in and no one other than the user can access it.

 

Can you even create a share and then add %w, I don't know, but I think you are loking at this the wrong way.

 

 

JohnOBrien

Hi,

 

My query is related to having multiple home directory shares from the same SVM and how they are setup?

 

I have implemented in the past with consolidations, e.g.

 

all user home drives migrated into a new SVM and the home dir part was straight forward:

 

robocopy \\windows\accounts-user$\a-e* \\svm1\vol01\home1$

robocopy \\windows\finance-user$\a-e* \\svm1\vol01\home2$

 

existing AD home dir object (\\windows\accounts-user$\%username%) updated in AD to \\svm1\%username%

 

SVM1

 

path: %w

relative path: %w

 

Home dir search paths:

/vol01/home1

/vol0/home2

/vol02/home1

/vol02/home2

 

Accounts user a12345 logs in and gets dynamic share from the folder /vol01/home1/a12345.

 

 

 

What is puzzling me here is for this migration we must retain the AD object as is.

 

As I understand it, I can have only 1 home dir share %w, which also limits me to a single relative path?

 

SVM1

 

path: %w

relative path: accounts-user$

 

is there a way to implement dynamic home directories within a single SVM where the user objects are not being standardised?

 

Thanking you in advance,

 

John

 

JGPSHNTAP

You can only have one unique home directory per svm.

 

You would have to hardcode a second one

 

Why do you need two HD's.

JohnOBrien

Hi,

 

Based on the info I've entered above, is there a solution available to me?

 

Or will I have to disregard dynamic homedrive functionality for these migrations?

 

Thanking you in advance,

 

John

JGPSHNTAP

Based upon what I see, you will need to not use dynamic home drives.  

 

Unless I have completely missed it.

 

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public