Better way to move files?

From: Rick von Richter (rickv@mwh.com)
Date: Tue Sep 24 2002 - 18:10:19 EDT


We are building a new NFS box and we need to transfer the data from the old NFS
box to the new one. We are talking about 1TB of data. We ran into some
problems using the standard methods so I need to know if there are any better
solutions out there.

Systems are:
Old NFS = 1xE3500, Sol 2.6, 6xA5200 arrays, GigE, SDS to manage disks.
New NFS = 3xE3500, Sol8 0202, 6xA5200 arrays, GigE, SDS

What we have tried and problems.

1) Mount old <-> new
   # tar cf - . | (cd <newdir> ; tar xf -)
   Problems; A) Have to deal with NFS overheard and getacl calls. (We could
                 probably get better performance if I new how to extend the NFS
                 cache timeout.)
              B) tar chokes on file/pathnames over 100 chars
              C) we get this dubiuos error; "tar: <filename>: Value too large
for
                 defined data type"

2) Mount old <-> new
   # find . -depth -print | cpio -Ppdm <newdir>
   Problems; A) Same as A above
              B) We get this error; "cpio: <filename> :failed to set acl, errno
22,
                 Invalid argument"
              C) "find" gives us this error; "find: cannot open <file>: Value
too
                 large for defined data type"

3) "rcp" won't keep owner/group
4) "cp" won't do links

Does anybody have some suggestions?

TIAWS

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Rick von Richter Production Support Manager       Voice: 858-831-2222
  rickv@mwh.com    Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[demime 0.99c.7 removed an attachment of type text/x-vcard which had a name of rickv.vcf]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:58 EDT