Date: Sat, 14 Dec 2002 23:08:00 +0200 From: Yury Tarasievich <grog@grsu.by> To: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Restoring superblock backup? Message-ID: <3DFB9DB0.1020708@grsu.by> References: <Pine.BSF.4.21.0212131426350.37378-100000@root.org> <20021214125450.GA97486@titan.klemm.apsfilter.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ... > >fsck does the same things only that you choosed the first copy >of the superblock, that is always on block 32. The next copy >depends on the size and geometry of the filesystem and is not >so easy predictable like the "32" which is always present .... > > 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. > > 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?3DFB9DB0.1020708>