Re: restore superblock
PJ wrote: I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Here is what I get when I run fsck /dev/ad8s1f : **fsck /dev/ad8s1f **Last Mounted on /usr Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=2802880 UNEXPECTED SOFT UPDATE INCONSISTENCY (I answered n to all the remove? [yn] questions) UNKNOWN FILE TYPE I=3297280 UNKNOWN FILE TYPE I=3297408 INCORRECT BLOCK COUNT I=4008454 (1440 should be 384) PHASE 2 - Check Pathnames DUP/BAD I=3297280 OWNER = ROOT MODE=40755 SIZE=8192 MTIME= JUL 21 14:25 2008 DIR= /lib Hope this give some useful information. Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: restore superblock
fsck_ffs -b An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. On Wed, 3 Dec 2008, PJ wrote: I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]