On Sun, Mar 18, 2007 at 05:15:33AM -0700, Stephen G wrote:
> Hi there,
> 
> I recently had a crash when I was using rsync to copy from one jfs drive (on 
> external eSATA enclosure /dev/sda1) to another jfs drive (on external USB2 
> enclosure /dev/sdb1).  I think that my USB hardware in my mini-itx board or 
> the drivers on my Debian Etch install are faulty, but that is another story...
> 
> Anyway, when I rebooted the server I noticed that the fsck failed on 
> /dev/sda1.  In single user mode I tried fsck.jfs manually on the main drive 
> that I was reading from (/dev/sda1) and I got a segmentation fault.  This is 
> strange as the drive that I was writing to (/dev/sdb1) recovered OK with 
> fsck.jfs.
> 
> Here is the output:
> 
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       60801   488384001   83  Linux
> 
> 247:~# fsck.jfs -v /dev/sda1
> fsck.jfs version 1.1.11, 05-Jun-2006
> processing started: 3/18/2007 12.8.5
> Using default parameter: -p
> The current device is:  /dev/sda1
> Open(...READ/WRITE EXCLUSIVE...) returned rc = 0
> Primary superblock is valid.
> The type of file system for the device is JFS.
> Block size in bytes:  4096
> Filesystem size in blocks:  122096000
> **Phase 0 - Replay Journal Log
> LOGREDO:  Allocating for ReDoPage:  (d) 4096 bytes
> LOGREDO:  Allocating for NoDoFile:  (d) 4096 bytes
> LOGREDO:  Allocating for BMap:  (d) 263328 bytes
> LOGREDO:  Allocating for IMap:  (d) 16960 bytes
> LOGREDO:  Allocating for IMap:  (d) 2048 bytes
> Segmentation fault
> 
> I tried it on another Linux box (Ubuntu Dapper - older fsck version though) 
> and I still get a segmentation fault:
> 
> fsck.jfs version 1.1.8, 03-May-2005
> processing started: 3/18/2007 12.12.40
> Using default parameter: -p
> The current device is:  /dev/sda1
> Open(...READ/WRITE EXCLUSIVE...) returned rc = 0
> Primary superblock is valid.
> The type of file system for the device is JFS.
> Block size in bytes:  4096
> Filesystem size in blocks:  122096000
> **Phase 0 - Replay Journal Log
> LOGREDO:  Allocating for ReDoPage:  (d) 4096 bytes
> LOGREDO:  Allocating for NoDoFile:  (d) 4096 bytes
> LOGREDO:  Allocating for BMap:  (d) 263328 bytes
> LOGREDO:  Allocating for IMap:  (d) 16960 bytes
> LOGREDO:  Allocating for IMap:  (d) 2048 bytes
> Segmentation fault


Can you run "ulimit -c unlimited" on the command line 
and then run the 1.1.8 version fsckagain ?  

It should produce a core file, gzip that guy and email it to
me (don't copy the list with the core file attached)
I'll take a look at it -- I'm assuming you're using the fsck that
comes with Ubuntu Dapper (1.1.8)?

Sonny

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to