Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 01:14:14 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Yury Tarasievich <grog@grsu.by>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Restoring superblock backup?
Message-ID:  <Pine.BSF.4.21.0212150052530.41793-100000@root.org>
In-Reply-To: <3DFB9DB0.1020708@grsu.by>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Dec 2002, Yury Tarasievich wrote:
> >On Fri, Dec 13, 2002 at 02:28:00PM -0800, Nate Lawson wrote:
> >>I've successfully repaired a fs with the superblock backup at 32.  Now how
> >>do I copy that backup to the default superblock location?  fsck_ffs does
> >>NOT automatically do this.
> 
> If FS boundaries are right, one can always try newfs -N, then fsck with -b.
> I tried this once and succeeded using superblock copy being really more 
> distant from FS start.

I appreciate the help but you're both answering the wrong question.  Go
re-read my question above again.  The current workaround (as given by
mckusick@) is:

---
> It used to be that when you ran with an alternate superblock, the
> last question asked by fsck is whether you wish to update the
> standard superblock.  Answering yes would do that update for you.
> As it appears that that feature got dropped, you can do the copy
> manually using:
>
>        dd if=<disk> skip=32 of=<disk> seek=16 bs=512 count=16
---

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0212150052530.41793-100000>