Hello,
I tried to upgrade to jfsutils-1.1.12 recently and it seems it has
problems with fscking filesystems. It's quite annoying for me, since
booting from root jfs partiton fails if I have 1.1.12 installed - even
though filesystem was cleanly unmonted.
If I run jfs_fsck with 1.1.8 all goes well:
$ umount /dev/mapper/encsda6
$ jfs_fsck -f /dev/mapper/encsda6
jfs_fsck version 1.1.8, 03-May-2005
processing started: 3/8/2008 19.42.4
The current device is: /dev/mapper/encsda6
Block size in bytes: 4096
Filesystem size in blocks: 92769342
**Phase 0 - Replay Journal Log
**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
371077368 kilobytes total disk space.
13139 kilobytes in 1222 directories.
277407811 kilobytes in 36158 user files.
0 kilobytes in extended attributes
121724 kilobytes reserved for system use.
93560972 kilobytes are available for use.
Filesystem is clean.
But with 1.1.12 I get this (this is run directly after first fsck and
upgrade to latest jfsutils):
$ jfs_fsck -v -f /dev/mapper/encsda6
jfs_fsck version 1.1.12, 24-Aug-2007
processing started: 3/8/2008 19.44.53
The current device is: /dev/mapper/encsda6
Open(...READ/WRITE EXCLUSIVE...) returned rc = 0
Primary superblock is valid.
The type of file system for the device is JFS.
Error (10035,25) writing to the fsck service log
(2,379949465600,8192,0). Continuing.
Block size in bytes: 4096
Filesystem size in blocks: 92769342
**Phase 0 - Replay Journal Log
LOGREDO: Unable to read Journal Log superblock.
logredo failed (rc=-260). fsck continuing.
**Phase 1 - Check Blocks, Files/Directories, and Directory Entries
Unrecoverable error writing M to /dev/mapper/encsda6. CANNOT CONTINUE.
Fatal error (-10028,25) accessing the workspace (2,379937865728,4096,0).
Unrecoverable error writing M to /dev/mapper/encsda6. CANNOT CONTINUE.
Fatal error (-10028,-10028) accessing the workspace (2,0,4096,-1).
Unrecoverable error writing M to /dev/mapper/encsda6. CANNOT CONTINUE.
Fatal error (-10028,25) accessing the workspace (2,379937865728,4096,0).
processing terminated: 3/8/2008 19:44:53 with return code: -10028
exit code: 8.
Any ideas?
Above examples are run through device-mapper, but I get similar results
on plain partitions too. System is slackware-10.2 based (glibc-2.3.6,
gcc-3.3.6, kernel-2.6.24.3).
--
Miha
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion