From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 20:27:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEF671065670 for ; Thu, 27 Mar 2008 20:27:39 +0000 (UTC) (envelope-from admin@infrax.si) Received: from svarun.infrax.si (syssvarun.infrax.si [89.212.81.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF968FC31 for ; Thu, 27 Mar 2008 20:27:39 +0000 (UTC) (envelope-from admin@infrax.si) Received: from localhost (sysSvarun.infrax.si [89.212.81.4]) by svarun.infrax.si (Postfix) with ESMTP id 470B224AA5A for ; Thu, 27 Mar 2008 21:11:08 +0100 (CET) Received: from svarun.infrax.si ([89.212.81.4]) by localhost (svarun.infrax.si [89.212.81.4]) (amavisd-maia, port 10024) with ESMTP id 48363-02 for ; Thu, 27 Mar 2008 21:11:05 +0100 (CET) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejko@infrax.si) by svarun.infrax.si (Postfix) with ESMTP id 5813524AA58 for ; Thu, 27 Mar 2008 21:11:05 +0100 (CET) Message-ID: <47EBFF57.2070203@infrax.si> Date: Thu, 27 Mar 2008 21:11:03 +0100 From: Infrax Administrator User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Subject: restore in Fixit mode 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, 27 Mar 2008 20:27:40 -0000 Hello, I am trying to restore a backup of /usr created with dump using the command: dump -0 -Lauf - / | bzip2 | dd of=root.backup When I restore / and /var partitions, I don't have any problems. Here's how I do it: 1. boot FreeBSD 7.0 live CD and go to fixit mode. 2. mount /dev/ads1a partition into /mnt. 3. restore / without problems - over network using command: ssh 192.168.1.1 cat root.backup | /mnt2/usr/bin/bzip2 -d -c | restore -vrf - 4. mount all other partitions - /dev/ad0s1f and /dev/ad0s1d under /mnt/usr and /mnt/var 5. restore /var without problems as above. 6. when I try to restore /usr partition (with the command above), I get this several times (cca. 10x): /: write failed, filesystem is full and the restore procedure proceeds, however at the end most of the directories under /mnt/usr are empty (but not all of them). I guess this might be because there are many more files in /usr backup file and restore tries to "cache" filenames into some file on / partition (which is in Fixit mode very small "ramfs" partition, right?). And because this "cache" grows too big restore cannot save all the filenames and therefore also cannot restore them. How to solve this? I have also tried restoring interactively, but the result is similar: before I get the restore's "command prompt", I get those "filesystem is full" errors and if I walk through the directories of the archive with "cd" and "ls", most of directories are empty. Thanks, Nejc