I noticed recently on my system that anytime I have an unclean shutdown
on my machine an fsck has to be ran on the volume. I don't see this on
my server or the OS partition which is also JFS. I didn't always see
this behavior but it seems to have happened after inreasing the amount
of data on my partition. here is my partition stats:

r...@sabayonx86-64: 11:48 PM :~# df -H /data
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sdc3               18T    13T   5.4T  71% /data

r...@sabayonx86-64: 11:48 PM :~# df -hi /data
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sdc3               4.0G    6.0M    4.0G    1% /data

r...@sabayonx86-64: 11:49 PM :~# jfs_tune -l /dev/sdc3
jfs_tune version 1.1.14, 06-Apr-2009

JFS filesystem superblock:

JFS magic number:       'JFS1'
JFS version:            1
JFS state:              mounted
JFS flags:              JFS_LINUX  JFS_COMMIT  JFS_GROUPCOMMIT 
JFS_INLINELOG
Aggregate block size:   4096 bytes
Aggregate size:         34881674000 blocks
Physical block size:    512 bytes
Allocation group size:  67108864 aggregate blocks
Log device number:      0x823
Filesystem creation:    Thu Oct 16 07:51:04 2008
Volume label:           '/data'

Here is the fsck output I see (the replay always fails):

fsck.jfs version 1.1.11, 05-Jun-2006
processing started: 3/8/2009 3.30.9
The current device is:  /dev/sdc3
Block size in bytes:  4096
Filesystem size in blocks:  4360350561
**Phase 0 - Replay Journal Log
logredo failed (rc=-231).  fsck continuing.
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
**Phase 2 - Count links
**Phase 3 - Duplicate Block Rescan and Directory Connectedness
**Phase 4 - Report Problems
**Phase 5 - Check Connectivity
**Phase 6 - Perform Approved Corrections
**Phase 7 - Rebuild File/Directory Allocation Maps
**Phase 8 - Rebuild Disk Allocation Maps
**Phase 9 - Reformat File System Log
17441402244 kilobytes total disk space.
  1596399 kilobytes in 439119 directories.
8993962438 kilobytes in 4249509 user files.
        0 kilobytes in extended attributes
  5969945 kilobytes reserved for system use.
8443066260 kilobytes are available for use.
Filesystem is clean.                                                    
[ ok ]

I know that output is from a old version of jfs-tools but I have since
upgraded to 1.1.14 and I am still seeing the same behavior. Anyone have
an idea what could be causing this? I get an fsck on this partition
basically everytime my machine is not shut down properly (I have to shut
it off) and means I have to wait through a 10 minute fsck on my next boot =(

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to