I take it when copying files using ndmpcopy on a single source and destination filer the data never uses the network. This seems like it should be a lot faster, anybody have an idea how much faster? Also, which release was the first with ndmpcopy on board? Is there any other ways to copy just on the filer itself beside ndmpcopy?
 
thanks
 
art
 
-----Original Message-----
From: Jeffrey.Burton@abbott.com [mailto:Jeffrey.Burton@abbott.com]
Sent: Thursday, March 13, 2003 12:19 PM
To: Jim Davis
Cc: toasters@mathworks.com
Subject: Re: Moving files but not .snapshots?


You can use ndmpcopy from the filerhead CLI, granted you have a new enough DOT version. This creates a snapshot then copy's all the data and ACL's from source to target. First make sure that the ndmp option is turned on:
ndmpd.enable                 on

Then below will work:
ndmpcopy /vol/sourcevol /vol/destvol

You can copy at any level, not just the vol level.  If the source and dest's vols are on a seperate filer just preceed the dir with "filename:" so "ndmpcopy sourcefiler:/vol/sourcevol destfiler:/vol/destvol".  After the copy you can remove the temp file created at the destination end which is used for incremental updates (I forgot the name but it will be a huge file with an obviously generated name).  Man page and NOW has good ndmp info.  Thanks,
Jeff



Jim Davis <jdavis@cs.arizona.edu>
Sent by: owner-toasters@mathworks.com

03/13/2003 01:47 PM

       
        To:        toasters@mathworks.com
        cc:        
        Subject:        Moving files but not .snapshots?



I want to move two big directories from an old volume to a new volume, but
just the files -- not the snapshot subdirectories.  So far I've tried

find . -type d -name '.snapshot' -prune -o -print | cpio -pdm /newvol

from the adminhost, which works but isn't blazingly fast. Are there any
other ways people can suggest?