11 Replies Latest reply: Sep 12, 2012 5:27 AM by scottgelb RSS

Moving CIFS shares from one FC aggr to SATA aggr

pankajgadhari Novice
Currently Being Moderated

Hi all,

 

I have configured CIFS shares on my FAS3170 running ONTAP version 8.0.2P1 7-Mode. It has 2 aggregates FC and SATA. In our environment all our CIFS shares are on FC and now we are falling short of disk space on it, so I have to move some of the CIFS shares from FC aggrgate to SATA aggregate. Can somebody share the procedure of doing that. I would appreciate if there is step by step configurations for this. Before that, I want to find out which shares are on FC and then create a plan for the migration. Would like to have expert comments on the procedures so that the migration would be successful.

 

Thanks

virgo

  • Re: Moving CIFS shares from one FC aggr to SATA aggr
    AGUMADAVALLI Cyclist
    Currently Being Moderated

    Hi there:

     

    Use robocopy to copy the data. schedule downtime to change the share paths or if you have dfs (distributed file system) use it.

     

    thank you,

    AK G

  • Re: Moving CIFS shares from one FC aggr to SATA aggr
    bsti@plex.com Certified Cyclist
    Currently Being Moderated

    Another method you can use is Snapmirror.  To do that, you would do the following:

     

    1) Create a new volume in your SATA aggregate of equivalent size to the volume you are going to migrate.

    2)  From System Manager, connect to your destination controller (the one hosting the SATA volume), and drill down to SnapMirror.  Click the Create button.

    3) Specify that you are in the Destination.

    4) Enter in the source system ( the one hosting the FC volume you are copying from)

    5) Specify the source volume in the next dialog.

    6) Specify the destination SATA volume you created to make the copy to (alternately, you can create the volume right from this dialog).

    7)  Specify a schedule for the Snapmirror relationship.  I'd think about having it sync once per hour or something.CLick the Initialize Snapmirror relationship box.

    8)  Specify unlimited bandwidth.

     

    Wait for the relationship to completely initialize, which will take time depending on the size of the volume.  Once complete, it will stay in sync via the schedule until you are ready to cut over. 

     

    9)  Remove your old CIFS share.

    10)  Break the Snapmirror relationship (Right-click the relationship in the Snapmirror widnow in System Manager and choose "Break").

    11)  Create a new CIFS share and point to the SATA volume.

     

    That should be it in a nutshell.

    • Re: Moving CIFS shares from one FC aggr to SATA aggr
      pankajgadhari Novice
      Currently Being Moderated

      Hi bsti,

       

      How can I check whether I have the snapmirror license on the filer, just need to verify it. I see snapmirror and snapmirror_sync while listing license command. snap_mirror shows the license and snapmirror_sync not. So, whether I need both or just snapmirror license.

      • Re: Moving CIFS shares from one FC aggr to SATA aggr
        rweeks@structured Novice
        Currently Being Moderated

        You just need the snapmirror license but snapmirror, as you know, replicates at the volume level so if you have multiple file shares within the same volume and want to keep some of them on FC and move some to SATA, although robocopy is a good solution for a small dataset, an easier solution for a large dataset would probably be to just snapmirror the entire volume to SATA, create some sort of admin share (share$) on the root of the new SATA volume you snapmirrored to, get into that new share, delete the folders that you don't plan to share from SATA, recreate the share mount points in System Manager pointing to the new folders in the SATA volume and press on.

         

        Just my $.02

  • Re: Moving CIFS shares from one FC aggr to SATA aggr
    pankajgadhari Novice
    Currently Being Moderated

    Thanks all for your suggestion. I will create a plan accordingly and revert if there are any questions

     

    Virgo

  • Re: Moving CIFS shares from one FC aggr to SATA aggr
    GRAHAMTOWNSEND Novice
    Currently Being Moderated

    One other consideration, if your CIFS share sits on a vfiler, there will be a file in the etc folder for the vfiler called cifsconfig_share.cfg. This will hold your share permissions. You can copy and paste each line from this file to the command prompt of the filer and it will recreate the CIFS shares and associated permissions that you had before. Snapmirror doesn't take over CIFS permissions.

    • Re: Moving CIFS shares from one FC aggr to SATA aggr
      scottgelb Hall of Fame Certified Grand Marshal
      Currently Being Moderated

      One thing about running the commands manually is that when you create the share it automatically creates an access entry "Everyone" "Full Control".  When parsed in cifs_configshare.cfg at cifs startup the everyone full control access isn't created unless specifically listed.  I prefer to run "config dump -f -v" then "config restore" to get the cifs shares to make it work without getting everyone full control (unless already there for all the shares).  The -v gets the cifs shares in the config dump.

  • Re: Moving CIFS shares from one FC aggr to SATA aggr
    RULLMAN84 Novice
    Currently Being Moderated

    Hi there,

     

    I noticed that you were running ONTAP 8.0.2.  With this is mind you could take advantage of the DataMotion software that comes with ONTAP 8.0.1.  This would allow you to move the volume containing your shares from one aggregate to another non-disruptively.  Here is a link: http://www.netapp.com/uk/products/platform-os/datamotion.html

     

    Thanks

    Ryan

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points