Sponsored Content
Full Discussion: fsck bug in Solaris 8
Operating Systems Solaris fsck bug in Solaris 8 Post 302097765 by Maillot Jaune on Tuesday 28th of November 2006 11:34:52 AM
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:
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
fsck_cachefs(1M)					  System Administration Commands					  fsck_cachefs(1M)

NAME
fsck_cachefs - check integrity of data cached with CacheFS SYNOPSIS
fsck -F cachefs [-m] [-o noclean] cache_directory DESCRIPTION
The CacheFS version of the fsck command checks the integrity of a cache directory.This utility corrects any CacheFS problems it finds by default. There is no interactive mode. The most likely invocation of fsck for CacheFS file systems is at boot time from an entry in the /etc/vfstab file. See vfstab(4). OPTIONS
The following options are supported: -m Check, but do not repair. -o noclean Force a check on the cache even if there is no reason to suspect there is a problem. EXAMPLES
Example 1 Using fsck_cachefs to Force a Check on the Cache Directory The following example forces a check on the cache directory /cache3: example% fsck -F cachefs -o noclean /cache3 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
cfsadmin(1M), fsck(1M), mount_cachefs(1M), vfstab(4), attributes(5) SunOS 5.11 9 Oct 2002 fsck_cachefs(1M)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy