home *** CD-ROM | disk | FTP | other *** search
- 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
- From: lam@mrcnext.cso.uiuc.edu (Ken Lam)
- Newsgroups: comp.unix.admin
- Subject: Re: Fastest way to transfer whole filesystems?
- Message-ID: <BxK813.AKF@news.cso.uiuc.edu>
- Date: 11 Nov 92 16:19:49 GMT
- References: <40335@unix.SRI.COM>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Lines: 26
-
- cole@unix.SRI.COM (Susan Cole) writes:
-
- >What's the fastest way to transfer an entire filesystem from one
- >disk partition to another (different type disk, larger partition)?
- >I thought that a tar would be much faster than a dump and restore
- >from tape, but when I tried it, using a command like:
-
- > tar cf - . | ( cd /otherfs; tar xpf - )
-
- >I got a surprising slow rate, something like 2 minutes per megabyte. Am I
- >using the wrong command, or using the right command the wrong way, or is this
- >just an inevitably slow procedure? What I'm moving is the news partition,
- >and I've already learned that restoring it from dump tape is horribly slow.
- >The system is a Sun SPARC machine.
-
- I've had to copy entire partitions, I just used cp -R. It doesn't work
- correctly with links though. I believe that this should be a bit faster
- since, piping involves an extra step of creating a temporary file.
-
-
- --
- Ken Lam (803)-884-7615 (H)
- System Administrator (803)-792-4969 (W)
- Senior Systems Consultant (803)-792-5446(FAX)
- Netware/UNIX System Programmer/Integrator lam@jove.cofc.edu
- MultiMedia Works & Video Productions ======= Teaching the world in better ways
-