From owner-freebsd-questions@FreeBSD.ORG Thu Jan 19 16:41:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 654DD16A41F for ; Thu, 19 Jan 2006 16:41:02 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 005FC43D45 for ; Thu, 19 Jan 2006 16:41:01 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 682E95C9C; Thu, 19 Jan 2006 11:41:01 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43772-07; Thu, 19 Jan 2006 11:41:00 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 681C25C77; Thu, 19 Jan 2006 11:41:00 -0500 (EST) Message-ID: <43CFC11D.2070808@mac.com> Date: Thu, 19 Jan 2006 11:41:01 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Wojciech Puchar References: <20060118122029.W51993@chylonia.3miasto.net> <43CE837F.2000007@mac.com> <20060119103009.W11397@chylonia.3miasto.net> In-Reply-To: <20060119103009.W11397@chylonia.3miasto.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: no one here use restore/dump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 16:41:02 -0000 Wojciech Puchar wrote: [ ... ] >> Did you have a more specific question...? >> > yes - i did before. > > i have problems with restore. dump is about 60GB and 1.5 million files. > > two problems when doing restore -rvf /device > > 1) after extracting all directory listing it starts to do "Make node..." > > but after some of it done, it starts to take 100% CPU and work for about > 1 hour on PII/400 before finishing it. > > eventually it finishes, so it's not such a big problem If you do a SIGINFO (normally control-T), it ought to give more specific information about what it's doing. Are you restoring to an empty new filesystem which has just been newfs'ed with similar inode parameters to the original source of the backup? > 2) after restoring 7 volumes, at 8-th volume it tried to prepend ? to > every pathname extracted so it resulted in error unable to create. > doing ln -s \? . and restarting restore from 8-th volume worked and i > was able to finish things. > > why restore failed? and how to dump without fear! I haven't seen that sort of problem myself. Are you sure the original filesystem is OK and doesn't contain any weird symlinks which could have confused dump? Try to fsck it and test a new dump/restore sequence. Did you use the -L flag to dump using a snapshot, that may help... -- -Chuck