On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to another disk, > but since my original wouldn't boot, I installed a minimal FreeBSD on > the new disk, mounted the old partitions under /mnt and copied from the > original to the new partitions by using: > > dump 0af - /dev/ad2s1[adef] | restore xf - > > (the partitions adef where done one by one) > > The /usr/ partition was 74Gb, and it took (according to dump 52631 > seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine > on different IDE controllers. > > Is it normal for a backup/restore to take this long? Or could this be > due to my failing disk?
When dumping to a file it should not take this long. But in this case it might be that dump is waiting for restore, since the space in a pipe is not infinite. Also, when dumping mounted partitions you should use the -L flag with dump. But in a case like this there is little reason to mount the old partitions. If the failing disk was giving trouble, you might find errors in /var/log/messages. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
pgpmKtzKlogpz.pgp
Description: PGP signature