Moving Windows Shares to NetworkApplication Filer (NetappFiler) with quota This is a step-by-step documentation of how to move/copy Windows shares to a NetAppFiler. It is actually quite easy but involves some steps and a little scripting or coding. I will not go into detail of how the changes to the files are to be done. I will provide file names, share names and file paths only for the purpose of reference. The move includes 5 steps of data preparation and 4 steps of using this data to create the shares. Step 1 Get a list of the shares from the Windows server. Open a MMC console with the plugin "Shared Folder", select the server, select Shares and use the menu option "Export List...". Use the file name "WinExport.txt" This list will be the basis of all further actions. This file will look something like this: Shared Folder Shared Path Type # Client Connections Comment Share1$ d:\shares\share1 Windows 0 Share2 d:\shares\share2 Windows 2 Share3 d:\shares\share3 Windows 0 Share4 d:\shares\share4 Windows 0 Step 2 Make a copy of the export file for further editing and name it "CreateQTree.txt". You now have to edit every line in this file for the command to create the directories. Change the lines to look like this: qtree create /vol/shares/share1 qtree create /vol/shares/share2 qtree create /vol/shares/share3 qtree create /vol/shares/share4 You can use Excel or an editor to to change every line. Step 3 Make a copy of the file "CreateQTree.txt" and name it "SecuQTree.txt". Change the lines to look like this: qtree security /vol/volhome/share1 ntfs qtree security /vol/volhome/share2 ntfs qtree security /vol/volhome/share3 ntfs qtree security /vol/volhome/share4 ntfs Step 4 Make a copy of the file "WinExport.txt" and name it "CifsShare.txt". Change the lines to look like this: cifs shares -add share1$ /vol/shares/share1 cifs shares -add share2 /vol/shares/share2 cifs shares -add share3 /vol/shares/share3 cifs shares -add share4 /vol/shares/share4 Step 5 Make a copy of the file "WinExport.txt" and name it "permissions.txt". Change the lines to look like this: permcopy \\windows_file_server_name share1$ \\netappfiler_name share1$ permcopy \\windows_file_server_name share2 \\netappfiler_name share2 permcopy \\windows_file_server_name share3 \\netappfiler_name share3 permcopy \\windows_file_server_name share4 \\netappfiler_name share4 This concludes the preparation of all the data we need. Please note that Netappfiler has a little flaw: in case that the list of shares is quite long, keep in mind that you cannot paste all the commands into the telnet session because most of the commands will get lost. Netappfiler seems not to be able to handle more than 20-30 commands at a time. This makes life quite tedious if you have to create 500 shares. Anyway, open a telnet session to your Netappfiler. Make sure you have administrative privileges. Use the files and the commands you have created as follows: A. Create the QTrees by using the commands from file "CreateQTree.txt". Paste the commands from the file to the telnet session. B. Apply the security settings to the QTrees by using the commands from file "SecuQTree.txt". Paste the commands from the file to the telnet session. C. Create the shares by using the commands from file "CifsShare.txt". Paste the commands from the file to the telnet session. D. End your telnet session to the Netappfiler. Summary so far: You have created the QTrees, applied the security and created the shares. You are almost finished. In fact, the shares are created and can be accessed already. There are only two things missing: the content and all the share and file privileges are still missing. You will copy these in the last step. Final step Use the MS program "robocopy.exe" to copy the content of the shares to the Netappfiler. I will not provide any help with that since the Internet provides enough tutorials. Then, use the MS program "permcopy.exe" to copy the permissions of the Windows file server to the Netappfiler. Use the commands from the file "permissions.txt" in a DOS prompt: permcopy \\windows_file_server_name share1$ \\netappfiler_name share1$ permcopy \\windows_file_server_name share2 \\netappfiler_name share2 permcopy \\windows_file_server_name share3 \\netappfiler_name share3 permcopy \\windows_file_server_name share4 \\netappfiler_name share4 Finished! The shares are created with the correct file and share permissions set and the content has been copied.