fsck -b 32 no updating Standard Superblock

Tilman Linneweh tilman at arved.de
Sun Oct 26 04:57:30 PST 2003


* Tilman Linneweh [So, 26 Okt 2003 at 01:51 GMT]:
> I managed to trash my superblocks. When I try fsck -b 32 everything goes well,
> but the original superblock is not updated:
> 
> sauna# fsck /dev/ad0s1e
> ** /dev/ad0s1e
> Cannot find file system superblock
> 
> LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y
> 
> USING ALTERNATE SUPERBLOCK AT 32
> ** Last Mounted on 
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 96 files, 188 used, 128811 free (75 frags, 16092 blocks, 0.1% fragmentation)
> sauna#
> 
> According to Google there should be a Question
> 
> UPDATE STANDARD SUPERBLOCK? [yn]
> 
> but there isn't. what is going wrong?

It looks like this functionality was removed in 5.x the solution was:
dd if=<disk> skip=32 of=<disk> seek=16 bs=512 count=16

regards
tilman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031026/4ff9905d/attachment.bin


More information about the freebsd-questions mailing list