> -----Ursprüngliche Nachricht-----
> Von: Christian Kujau [mailto:[email protected]]
> Gesendet: Mittwoch, 6. April 2011 18:45
> An: Fiedler Roman
> Cc: [email protected]
> Betreff: Re: AW: [Jfs-discussion] jfs issues with power failure, fast reboot
> sequences and disk/fs unrelated kernel freezes
>
> On Wed, 6 Apr 2011 at 17:50, Fiedler Roman wrote:
> > No ubuntu comes with
> > ii jfsutils 1.1.12-2.1 utilities for managing the JFS filesystem
>
> Well, can you upgrade then? jfsutils has received quite a few bugfixes
> since 1.1.12. Not sure if your symptoms are covered, but it's worth a
> try..?
I finally found a reproducer, that triggers the fault with approx ~3 reboots on
my machine. The normal fsck 1.1.12 does not report any errors, but inode file
with "stale NFS lock" is added to /lost+found. Running the 1.1.15 fsck on this
already 1.1.12 checked fs in normal mode does not repair the fault. Both fix it
when running them in forced mode.
I also managed to reproduce it after replacing fsck.jfs system-wide with 1.1.15
and managed to capture an example on a 20MB test image. Following two commands
report the fault before mounting it when using a loop device.
if ! fsck.jfs "${loopDev}" || ! jfs_fsck -n "${loopDev}"; then
echo "Fsck failed!" >&2
exit 1
fi
Since the first fsck works, the volume can be mounted. Result:
./usr:
total 0
drwx------ 3 root root 8 2011-04-08 07:34 .
drwxr-xr-x 3 root root 8 2011-04-08 07:34 ..
?????????? ? ? ? ? ? bin
I will try to reproduce it also without loop device, to see if this affects the
outcome. Should I send you (or someone else interested in debugging) the disk
image off-list? I have also upstart-based example that triggers test reboots
via sysrequest, should be suitable to reproduce it on your systems,
Roman
> Christian.
> --
> BOFH excuse #120:
>
> we just switched to FDDI.
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion