Does anyone have any advice/experiences/warnings on moving data from one volume to another.
We're about to create a new volume on a new shelf, and we want to move about 10 qtrees on to the new volume, and I'm looking to see if anyone has any recommendations on how best to accomplish this quickly, and without altering the data, or metadata?
Thanks
-Leigh
Does anyone have any advice/experiences/warnings on moving data from one volume to another.
We're about to create a new volume on a new shelf, and we want to move about 10 qtrees on to the new volume, and I'm looking to see if anyone has any recommendations on how best to accomplish this quickly, and without altering the data, or metadata?
I would use ndmpcopy (download from ndmp.com). This is essentially a ndmp dump process piped into a ndmp restore process. It's fast and flexible.
To be safe, I would create the qtrees on the target volume before copying anything over. Newer versions of dump/restore preserve qtree information, but older ones do not. And if you ndmpcopy each qtree individually, then I am pretty sure you need to create the qtree on the target volume before you copy into it.
ndmpcopy is a little weird how it works because you can use it to copy files across filers as well as copy on the same filer.
ndmpcopy sets up the data transfer and then sits on the sidelines while the data flows straight from the source filer to the destination filer.
Since you are copying on the same filer, you probably want to use the -dhost option like this: -dhost localhost
And you'll need to put localhost in your filer's /etc/hosts.equiv file.
I'm still using an older version of ndmpcopy so -dhost may not be necessary (or even supported) by the current version.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support