+----- On Tue, 19 Oct 1999 12:52:29 PDT, Yicheng Li-R37424 writes:
| Hi,
|
| We're running an F540 with Ontap 5.3.2D3, setup for NFS and CIFS
| services. Most (~95%) of our NFS clients are Solaris 2.6 machines. I
| would like to know if there is an easy way to migrate home-dir data off
| of the filer and onto a Sun server (Enterprise 450 with Solaris 2.6).
|
| Doing a plain 'cp' tends to skip over .* files and is a bit tricky about
| retaining permissions. We also have a script 'copy_dir' that uses the
| copy_io command, but it takes an extraordinarily long time. We're
| talking a 6 Gb home directory taking more than 12 hours to copy (over a
| 100 Mbs connection, too). I am sure that there is no problems with the
| network, and I suspect that the copy_io is getting hung up trying to
| copy over each version of the .snapshot directories. Invariably, I will
| get a stale NFS error and eventually time out.
You can use dump/restore (the netapp dump has an additional pass but I
believe that they play happily together) or NFS mount the home
directory and use tar, cpio, rdist or rsysnc. The latter 2 have the
advantage that you can do most of the copying before hand.
| Is there any way getting past the .snapshot directories during copies?
| I imagine that other Solaris admins must have run into this problem
| before.
I don't think that dump includes the snapshots, for the other methods
you will need to exclude them, if you mount the directory containing
the home directories then it's pretty easy.
/Michael