From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 14:13:21 2010 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 A4AEA106566B for ; Sat, 12 Jun 2010 14:13:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 64A608FC17 for ; Sat, 12 Jun 2010 14:13:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id BF5273D36D; Sat, 12 Jun 2010 16:13:07 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5CED5MN001456; Sat, 12 Jun 2010 16:13:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 12 Jun 2010 16:13:04 +0200 From: Polytropon To: Giorgos Tsiapaliokas Message-Id: <20100612161304.61df18f3.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: resize freebsd slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 14:13:21 -0000 On Sat, 12 Jun 2010 04:32:17 +0300, Giorgos Tsiapaliokas wrote: > i have a problem while i am trying to restore the dump files.. > > i followed your instructions but when i give > > "restore -rf /backup/root.dump" i receive the following error: > > expected next file 188417,got 4 This *may* be okay, but it would be good if you would check the recent mailing list archives; as far as I remember, it has been discussed in detail (and with examples) about how to clone a system from one disk to another, also using dump + restore. > and the output of ls in the /mnt directory is: > .snap > restoresymtable > terietor I'm not sure what the third entry should be; can you provide "ls -laF /mnt/" and additionally check that your root.dump has a size corresponding to the occupation of the / partition the dump was taken from? Remeber: Only a working backup is a (good) backup. According to "man restore": Note that restore leaves a file restoresymtable in the root directory to pass information between incremental restore passes. This file should be removed when the last incremental has been restored. Did you make a full or incremental dump? > what is going on? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...