OpenSolaris

Printable Version Enter a New Search
Bug ID 4732193
Synopsis ufs will attempt to mount filesystem with blatantly-bad superblock
State 6-Fix Understood (Fix is known)
Category:Subcategory kernel:ufs
Keywords
Reported Against s10 , 2.10
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 4732181 , 6492771 , 6712131 , 6236504
Submit Date 15-August-2002
Last Update Date 27-April-2005
Description
Given a superblock with blatantly-bad values (ncg == 0, sbsize == 0(!),
ncyl == 0, cpg == 0, etc), the kernel should not attempt to mount it.  At
the least, it should perform the same basic sanity checks that fsck does
before the latter says to try again with a different superblock.

An example bad superblock, with the specific problems mentioned above, is
attached.  The observed symptom is that a read-only mount of the filesystem
will hang in a kernel memory allocation from ufs_getsummaryinfo().
Work Around
 
Comments
N/A