Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 1998 12:16:08 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        jm7996@devrycols.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Used /sbin/dump - Bad Thing(tm) Happened.
Message-ID:  <199810221716.MAA08382@horton.iaces.com>
In-Reply-To: <Pine.BSF.4.05.9810221312350.21135-100000@insomnia.local.net> from "James A. Mutter" at "Oct 22, 98 01:14:55 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810221716.MAA08382>