fsck bug in Solaris 8

Be careful, we've just found out that the fsck command in Solaris 8 has caused corruption of our ufs files-stores.

This was introduced in patch SUNWcsu patch 110910-05.

Be warned, Sun are fixing this as we speak :eek:

Bug ID: 6471377
Synopsis: Fsck doesn't convert disk blocks to frags when calculating the ufs log (S8 patch 110910-04 onwards)
Category: utility
Subcategory: filesystem
State: 7-Fix in Progress
Description:
fsck doesn't convert disk blocks to file system blocks when calculating
the space used by the ufs log. This leads to fsck incorrectly updating
the cg summaries and frag bitmap in a clean file system:

# fsck -F ufs /dev/lofi/5
** /dev/rlofi/5
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cylinder Groups

CORRECT BAD CG SUMMARIES? y

CORRECTED SUMMARY FOR CG 0
FRAG BITMAP WRONG
FIX? y

2 files, 9 used, 8288 free (16 frags, 1034 blocks, 0.2% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****

If at a later stage the log is disabled then the system will experience
a freeing free block panic as the log is freed.

This problem is introduced with patch 110910-04.
Date Modified: 2006-09-15 16:55:02 GMT+00:00

Work Around:
Suggested Fix:
Evaluation:
Fixed by patch:
Integrated in Build:
Duplicate of:
Related Change Request(s):
6312941 6312949 4836779 4872089 4890510 6175186 5086715

Date Modified: 2006-11-28 08:32:40 GMT+00:00
Public Summary: