From owner-freebsd-questions@FreeBSD.ORG Sat Jun 12 14:02:49 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 70F0D1065674 for ; Sat, 12 Jun 2010 14:02:49 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from mailgw7.surf-town.net (mail11.surf-town.net [212.97.132.51]) by mx1.freebsd.org (Postfix) with ESMTP id 288FA8FC1F for ; Sat, 12 Jun 2010 14:02:45 +0000 (UTC) Received: by mailgw7.surf-town.net (Postfix, from userid 65534) id 87B29EC4CC; Sat, 12 Jun 2010 16:02:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailgw7.surf-town.net (Postfix) with ESMTP id 4FDC1EC4E0; Sat, 12 Jun 2010 16:02:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailgw7.surf-town.net X-Spam-Score: 0.1 X-Spam-Level: X-Spam-Status: No, score=0.1 tagged_above=-999 required=7 tests=[RDNS_DYNAMIC=0.1] Received: from mailgw7.surf-town.net ([127.0.0.1]) by localhost (mailgw7.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GssrP5Z37jS1; Sat, 12 Jun 2010 16:02:37 +0200 (CEST) Received: from lazlar.kicks-ass.net (c-b486e355.09-42-6e6b7010.cust.bredbandsbolaget.se [85.227.134.180]) by mailgw7.surf-town.net (Postfix) with ESMTP id 7781CEC37B; Sat, 12 Jun 2010 16:02:37 +0200 (CEST) Message-ID: <4C13937C.2060709@lazlarlyricon.com> Date: Sat, 12 Jun 2010 16:02:36 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.9) Gecko/20100609 Thunderbird/3.0.4 MIME-Version: 1.0 To: Giorgos Tsiapaliokas References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 14:02:49 -0000 2010-06-12 15:50, Giorgos Tsiapaliokas skrev: > 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 > > > and the output of ls in the /mnt directory is: > .snap > restoresymtable > terietor > > > what is going on? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Either you executed dump without the L flag when the filesystem was mounted rw or, if you did give the L flag, some file changed while dump was creating the snapshot from which to create the dump. When dumping / it's ALWAYS safer to have it mounted read only. In my first reply, I suggested you boot into single user and create the dump from there. I've had the same type of message several times, but I've never found them to cause any harm. However, I never dump sensitive data from a read/write mounted fs. If possible I re-mount it read only, otherwise I boot into single user. And to be rudely honest: HAVE YOU READ ANYTHING ANYONE HAS WRITTEN?