home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / admin / 6152 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.8 KB

  1. Path: sparky!uunet!news.centerline.com!noc.near.net!hri.com!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!mrcnext.cso.uiuc.edu!lam
  2. From: lam@mrcnext.cso.uiuc.edu (Ken Lam)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Fastest way to transfer whole filesystems?
  5. Message-ID: <BxK813.AKF@news.cso.uiuc.edu>
  6. Date: 11 Nov 92 16:19:49 GMT
  7. References: <40335@unix.SRI.COM>
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Organization: University of Illinois at Urbana
  10. Lines: 26
  11.  
  12. cole@unix.SRI.COM (Susan Cole) writes:
  13.  
  14. >What's the fastest way to transfer an entire filesystem from one
  15. >disk partition to another (different type disk, larger partition)?
  16. >I thought that a tar would be much faster than a dump and restore
  17. >from tape, but when I tried it, using a command like:
  18.  
  19. >    tar cf - . | ( cd /otherfs; tar xpf - )
  20.  
  21. >I got a surprising slow rate, something like 2 minutes per megabyte.  Am I
  22. >using the wrong command, or using the right command the wrong way, or is this
  23. >just an inevitably slow procedure?  What I'm moving is the news partition,
  24. >and I've already learned that restoring it from dump tape is horribly slow.
  25. >The system is a Sun SPARC machine.
  26.  
  27. I've had to copy entire partitions, I just used cp -R.  It doesn't work
  28. correctly with links though.  I believe that this should be a bit faster
  29. since, piping involves an extra step of creating a temporary file.
  30.  
  31.  
  32. --
  33. Ken Lam                                                     (803)-884-7615 (H)
  34. System Administrator                                        (803)-792-4969 (W)
  35. Senior Systems Consultant                                   (803)-792-5446(FAX)
  36. Netware/UNIX System Programmer/Integrator                    lam@jove.cofc.edu
  37. MultiMedia Works & Video Productions ======= Teaching the world in better ways
  38.