From owner-freebsd-hackers Sun Dec 15 0:42: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC0BF37B401 for ; Sun, 15 Dec 2002 00:42:00 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C6E6043E4A for ; Sun, 15 Dec 2002 00:41:56 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 43299 invoked by uid 1000); 15 Dec 2002 08:41:58 -0000 Date: Sun, 15 Dec 2002 00:41:58 -0800 (PST) From: Nate Lawson To: Andreas Klemm Cc: hackers@FreeBSD.ORG Subject: Re: Restoring superblock backup? In-Reply-To: <20021214125450.GA97486@titan.klemm.apsfilter.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 14 Dec 2002, Andreas Klemm 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. > > It does. With fsck -b 32 you use the alternate super block to repair > the filesystem just in case the superblock in at the usual place is > damaged. After that the filesystem is completely repaired ... > Of course the previously damages superblock ... After the fs has been repaired, the alternate sb is not copied to the default sb (currently). -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message