From owner-freebsd-questions Thu Oct 22 10:16:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23947 for freebsd-questions-outgoing; Thu, 22 Oct 1998 10:16:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA23937 for ; Thu, 22 Oct 1998 10:16:41 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.8/8.8.8) id MAA08382; Thu, 22 Oct 1998 12:16:08 -0500 (CDT) (envelope-from proot) From: "Paul T. Root" Message-Id: <199810221716.MAA08382@horton.iaces.com> Subject: Re: Used /sbin/dump - Bad Thing(tm) Happened. In-Reply-To: from "James A. Mutter" at "Oct 22, 98 01:14:55 pm" To: jm7996@devrycols.edu Date: Thu, 22 Oct 1998 12:16:08 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, James A. Mutter said: > > Hey all, > > I recently used /sbin/dump to move data from one drive to another, now, > the drive which I migrated everything to give me an 'invalid superblock' > when I try to mount it. > > I'm curious as to: > A. What caused this. > B. Most importantly, how to fix it. > > This was my command line: /sbin/dump -0f /dev/wd1s1a / > Dump didn't complain about anything during the transfer. /dev/wd1s1a is now a dump file containing the / filesystem. What you want to do is: newfs /dev/rwd1s1a mount /dev/wd1s1a /mnt cd /mnt dump -0f - / | restore -rf - -- "If I had thought about it, I wouldn't have done the experiment. The literature was full of examples that said you can't do this." --Spencer Silver on the work that led to the unique adhesives for 3-M "Post-It" Notepads. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message