fsck.jfs segfaults on x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have a large lvm2 logical volume (6.91T) which contains a JFS
filesystem. The volumes accessed via emulex FC HBAs connected to a
nexsan SAN.  There was a bug in the SAN firmware that caused the
primary controller to lose sync with the other controller and go down.
 Normally when this happens we are able to reboot the SAN and the
server and then run fsck on the volume, and everything is fine (on a
side note, we have updated the SAN firmware to fix the sync problem). 
however, fsck now segfaults and the volume is dirty so it can't be
mounted. lvdisplay and vgdisplay seem to work fine displaying the
correct info.  Does anyone know what may be causing the problem or how
we can fix it?  If possible I'd like to save the data on the volumes.

#> time fsck.jfs /dev/vg00/lvol0 
fsck.jfs version 1.1.4, 30-Oct-2003
processing started: 6/8/2005 18.1.19
Using default parameter: -p
The current device is:  /dev/vg00/lvol0
Block size in bytes:  4096
Filesystem size in blocks:  1855561728
**Phase 0 - Replay Journal Log
Segmentation fault

real    1m40.396s
user    0m0.038s
sys     0m0.297s

strace:

<snip>
lseek(3, 7600357904384, SEEK_SET)       = 7600357904384
read(3, "8h\36\0\0\0t\17\0\206\1\0\0\0\0\0\0\10\204\0\0\0\0\0\1"...,
4096) = 4096
lseek(3, 4679075332096, SEEK_SET)       = 4679075332096
read(3, "\301\v\201B\20\0\0\0
\357\20\0\336\\\24\0\4\0\0\0\370\351"..., 4096) = 4096
lseek(3, 4677018386432, SEEK_SET)       = 4677018386432
read(3, "\0\0\0D\0\0\0\0\16\1\0\0\377\377\377\377\377\377\377\377"...,
4096) = 4096
lseek(3, 7600347168768, SEEK_SET)       = 7600347168768
write(3, "D\0LOGREDO:  Allocating for IMap:"..., 8192) = 8192
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

/var/log/messages
Jun  8 17:34:11 nutcracker fsck.jfs[12223]: segfault at 0000000000000490 rip
00000000004178f1 rsp 00007fffff996f40 error 6

mount /mnt/san
mount: wrong fs type, bad option, bad superblock on /dev/vg00/lvol0,
       or too many mounted file systems

Additional info:

Linux nutcracker 2.6.12-rc6 #1 SMP Wed Jun 8 16:46:17 EDT 2005 x86_64 AMD
Opteron(tm) Processor 244 AuthenticAMD GNU/Linux

That's the only kernel version (2.6.12) that has support for a fiber channel
Emulex card (lpfc).

Thanks in advance for any help or advice.

Alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux