home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!unix!cole
- From: cole@unix.SRI.COM (Susan Cole)
- Newsgroups: comp.unix.admin
- Subject: Re: Fastest way to transfer whole filesystems?
- Message-ID: <40400@unix.SRI.COM>
- Date: 11 Nov 92 23:55:15 GMT
- References: <40335@unix.SRI.COM>
- Organization: SRI International, Menlo Park, California
- Lines: 27
-
- In article <40335@unix.SRI.COM> 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....
-
- Thanks for the many replies! It appears that the majority recommends
- using dump and restore instead of tar, as in (to quote one example):
-
- dump 0f - /filesystem1 | (cd /filesystem2; restore rf -)
-
- Another recommendation was:
-
- find . -xdev -depth -print | cpio -pd /newdir
-
- And more than one person pointed out that /new has to created so many inodes
- that it's bound to be somewhat slow to restore it.
-
- - Susan
-
-
-
-
-