We don't do a lot of NDMPcopies. I mostly utilize DFS replication, and or storageX/VFM to do actual data migration. This allows me to move data without impacting anyone, and it can take a month, and no one really cares/notices. :)
I was just showing the syntax for ndmpcopy
-----Original Message----- From: Blake Golliher [mailto:thelastman@gmail.com] Sent: Tuesday, April 10, 2007 7:16 PM To: Langdon, Laughlin T. (Lock) Cc: Brian Dunbar; toasters@mathworks.com Subject: Re: ndmpcopy and the newb
How many files do you have? ndmpcopy can take a looooong time if you are copying millions and millions of files. If you have similar sized volumes snapmirror (as long as the destination is equal or greater then the source) is a good solution, the only caveat is to make sure you have like disks for the snapmirror. If not, you'll have to reallocate the destination after the migration is done.
As Adam said, vol copy is a good and cheaper solution.
I've taken to adding a user with the useradmin command, then using ndmpd passwd command to create a throwaway password for the ndmpcopy to use. Makes me feel better when passing authentication credentials around.
-Blake
On 4/10/07, Langdon, Laughlin T. (Lock) Langdon.Lock@mayo.edu wrote:
ndmpcopy -sa <username>:<password> -da <username>:<password> <sourcefilername>:/vol/<volname> <destinationfilername>:/vol/<volname>
Sa username/pw = the source filer's credentials, da is the
destinations
filer's credential
The paths are case sensitive, so make sure it's all correct..
So to answer question 1 the absolute path is /vol/<volname> or if
you just
want to move a folder in a volume it would be
/vol/<volname>/<foldername>
From: owner-toasters@mathworks.com
[mailto:owner-toasters@mathworks.com] On
Behalf Of Brian Dunbar Sent: Tuesday, April 10, 2007 1:44 PM To: toasters@mathworks.com Subject: ndmpcopy and the newb
Hi,
I'm new to managing Filers - I hope you'll put up with a newb
question or
two while I get on my feet. I've not been left entirely on my own
here -
but there are two unix guys here to mange a lot of servers where
before
there were four of us .. and the two guys who had done this job
previously
are the ones who left for greener pastures. So I've got a mature and reasonably stable infrastructue to work with at least.
My first task is to move a volume from a busy filer to a non-busy
filer.
- The preferred method (for our shop, I'm told) is to use ndmpcopy
I've got shell access to both filers, they can ping each other. I've
got a
desination volume created.
ndmpcopy [options] source destination
The source and destination specify a hostname (no problem) and
aboslute
pathname of the directory to be used for the transfer. Does this mean
the
absolute pathname of the source/destination volume? Or .. something
else?
If the former how do I find that?
- Unless there is a better way to do this? I can of course mount
both
volumes via NFS from a 3rd host and simply move then but (from what
I've
read) ndmpcoy is a better choice.
Brian Dunbar Plexus brian.dunbar@plexus.com