home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!tandem!UB.com!daver!cypress.com!abp
- From: abp@mis25.cypress.com (Andy Pippin / MIS Sun Admin. (Systems))
- Subject: Re: Fastest way to transfer whole filesystems?
- Message-ID: <1992Nov11.215556.2530@cypress.com>
- Sender: news@cypress.com
- Nntp-Posting-Host: 89.64.2.34
- Reply-To: abp@mis25.cypress.com
- Organization: Cypress Semiconductor
- References: <40335@unix.SRI.COM>
- Date: Wed, 11 Nov 1992 21:55:56 GMT
- Lines: 32
-
- 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.
- >
- >Thanks for any assistance.
-
-
- I don't use tar to copy filesystems - it cannot handle devices and
- the like. I use the dump/restore pipe that is in the restore(8)
- man page.
-
- dump 0f - /dev/rxy0g | ( cd /mnt; restore xf - )
-
- It's not too bad for speed - but you're definitely I/O bound on this
- type of command.
-
- aBp.
- ---
- Andy Pippin, Systems Administrator An exit from one place,
- abp@cypress.com is an entrance to another.
-
-