Subscribe
Accepted Solution

What is the best way to peform a LUN migration?

Hello everyone,

    We just purchased new storage for our Netapp controllers.
Everything is connected via ISCSI. I would like to know what is the best
possible way to migrate data from one Netapp LUN to another Netapp LUN within
and outside the same Aggregate?

Thanks in advance for any help on this!

Re: What is the best way to peform a LUN migration?

Your question wasn't detailed enough for us to provide you a decent answer, so we have to make assumptions.  Assuming you want to move a lun (contained in a volume) from one aggregate to another (within the same controller), and assuming one lun per volume (or multiple luns in a volume but you're willing to move them all), the best way to move the volume is to use the "vol move" command.  If your situation is otherwise, please provide more details on what you want to accomplish.

Re: What is the best way to peform a LUN migration?

Yes, it just one LUN per volume. But I'm also moving LUN/volumes from one controller to another. I was told by someone to use SnapMirror for this purpose.. what do you think? EMC has a very easy way of just moving volume from one disk group to another... I'm looking for a solution that will not need downtime or any reconfiguration on my systems.

Re: What is the best way to peform a LUN migration?

Assuming 7-mode (which is most likely), and without the use of any 3rd-party "data motion" software, your best bet to avoid any disruption is to move your data via host-based mirroring (i.e. create and present new luns on the other filer then host mirror the old lun to the new lun, then eventually remove the old lun). Snapmirroring the volume/lun from one controller to another will require "downtime" when you switch over.

Re: What is the best way to peform a LUN migration?

  I'm not familiar with "host based mirroring" what is that? Also I was researching your recommendation of using the "volmove" command, that's looking very promising! Is that what you mean by "host based mirroring"?

Re: What is the best way to peform a LUN migration?

Oh one more think, I came across this solution called Data Motion for vFiler Migration. What's that about?

Re: What is the best way to peform a LUN migration?

Unfortunately, vol move will not work for you because it's only for within the same controller.  Host-based mirroring is a generic term I used to refer to disk mirroring which is available on most host operating systems.  You have not specified what hosts are using these luns.  If it's Windows or unix, then most likely they will be capable of disk mirroring.

Re: What is the best way to peform a LUN migration?

I don't know what the current status is of Data Motion.  You will have to ask NetApp about that.

Re: What is the best way to peform a LUN migration?

Oh, I'm using Windows host connected by ISCSI. So from my understanding it looking like this.

1: For volumes that are in the same controller and need to be migrated to another aggregate I can use the vol move command. (not downtime)

2: For volumes that are in a deferent controller I would need to use Snapmirror. (with downtime to reconnect the new volumes"

Is this correct?

Re: What is the best way to peform a LUN migration?

Yes.

And 3rd option is to host mirror the lun from the old controller to a new, same-size lun on the new controller, then break the mirror when they are in sync, then remove the old lun. (no disruption).