fsck bug in Solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris fsck bug in Solaris 8
# 1  
Old 11-28-2006
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 Smilie
# 2  
Old 11-28-2006
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:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Fsck: alignment error Solaris 8, SUN Netra AX11505

Hello all, I recently powered on my Netra AX1105 server only to be greeted with the following error message. I am not sure what to do here, I cant fun fsck on OK prompt.. did ok>boot -r and now it keeps booting from net, then I run ok>boot disk then outputs the following message... and keeps... (3 Replies)
Discussion started by: br1an
3 Replies

2. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

3. Solaris

Solaris 64bit and Y2038 bug

Hi all, I'm runing a 64bit Solaris 9 system that supposedly isn't affected by the y2038 bug. If so, why can't I set de that from that point in time forward? root@machine>uname -a SunOS machine 5.9 Generic_118558-36 sun4u sparc SUNW,Sun-Fire-V440 root@machine>isainfo -b 64... (3 Replies)
Discussion started by: nullpt
3 Replies

4. UNIX for Dummies Questions & Answers

about fsck

i want to know what does it mean by doing a consistentcy check fsck on a disk and why journaling filesystems dont need to do it and what is meant by disk is in a consistent state when writing because entries are recorded in a journal and then to the metadata and then removed from journal (1 Reply)
Discussion started by: farhan_t49
1 Replies

5. UNIX for Advanced & Expert Users

/usr corrupt, can get to fsck (solaris)

I have a solaris 5.8 system, it wont boot because /usr is corrupt, which means i cannot bring up fsck to run a disk check. Any ideas? (3 Replies)
Discussion started by: frankkahle
3 Replies

6. UNIX for Dummies Questions & Answers

fsck - what should be done?

I want to use fsck to check and repair my linux system. When I use this command, what do I need to pay attention to or what should I do to make job running successfully. Thanks for your inputs for a newbie. (3 Replies)
Discussion started by: duke0001
3 Replies

7. Solaris

fsck

OS: Solaris 5.8 Everytime I run fsck -y I get: FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? yes Do I need to run fsck with the backup superblock option or is there some other option I should use. I have tried the format->analyze->read option but that does not report any corrupt blocks.... (5 Replies)
Discussion started by: run_time_error
5 Replies

8. Filesystems, Disks and Memory

fsck -y

Once in a while, I would think it advisable to run fsck -y to check the disk. Should I sign in as su or sudo? What is the difference and which is preferred? Thank you in Advance! (4 Replies)
Discussion started by: rpatrick
4 Replies
Login or Register to Ask a Question