On Wed, 2005-06-29 at 12:42 -0700, Jeff Block wrote:
> On 6/29/05 11:07 AM, "Dave Kleikamp" <[EMAIL PROTECTED]> wrote:
> > I feel really stupid.  -J journal_dev is completely broken.  I guess
> > I've always (or at least for a long time) used "mkfs -j <journal_dev>
> > <device>".  mkfs.jfs is trying to open the same device twice with
> > O_EXCL.  Duh.  This patch to jfsutils-1.1.8
> > (http://jfs.sourceforge.net/project/pub/jfsutils-1.1.8.tar.gz) should
> > fix it.
> 
> Hooray!  Definitely fixed the problem.

Not quite.  My patch caused the block size to be set to zero in the
journal's superblock, which causes the kernel to write to the wrong
location in the journal.

Here's a better patch.
-- 
David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to