ONTAP Discussions

CIFS migration between Filers

mpasmithadv
12,379 Views

Hi,

New to Netapp.  But we want to migrate CIFS shares (& permissions) from an existing 2020 to a 3040 filer.

Various solutions have been suggested, using robocopy, secure copy, backup & restore etc.

Another idea was to move the shelf and put it with the 3040, this was disregarded as it's still being used for other production data.

Is there a way of SnapMirroring and keeping the ACL's?

thanks for your help.

MPAS

1 ACCEPTED SOLUTION

aborzenkov
12,379 Views

SnapMirror preserves files ACLs but it does not copy share definitions (and their ACLs respectively). Shares has to be setup manually on destination.

View solution in original post

6 REPLIES 6

Darkstar
12,380 Views

SnapMirror is actually the best option IMHO. It copies all ACLs and works online.

Get SnapMirror demo license (they're good for 90 days), mirror the data incrementally during normal working hours and when you're ready, deactivate CIFS on the old filer, do a final "snapmirror update" and activate your CIFS shares on the new filer.

You can use NetBios aliases to give your new filer the same name as the old one, if needed

-Michael

aborzenkov
12,380 Views

SnapMirror preserves files ACLs but it does not copy share definitions (and their ACLs respectively). Shares has to be setup manually on destination.

thomas_glodde
12,380 Views

you can sort of "quick-migrate" the share settings & permissions by copying the respective lines from filer:/vol/vol0/etc/cifsconfig_share.cfg, feel free to open it with eg. wordpad.

cyril_vigreux
12,380 Views

j'ai réaliser la meme operation pour mon entreprise. la methode est simple.

copier le volume via ndmpcopy

puis copier le fichier /etc/cifsconfig_shares.cfg

au prealable modifier ce fichier pour pointer vers le bon volume au cas ou celui ci a changer de nom

mpasmithadv
12,380 Views

Thanks to all that replied.

We used the solution of Snap mirror - breaking the mirror etc.

We then copied the share info from the 2050 and pasted it into a putty session on the 3140.

Apart from a couple of hicups it all worked perfectly.

Thanks again.

Public