On 6/29/05 2:35 PM, "Dave Kleikamp" <[EMAIL PROTECTED]> wrote:

> 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.

Well, actually, I hadn't attached the filesystem to the external journal
yet, but it did format, so that was good.

I justed patched the source with the new mkfs-2.patch and I was able to
format the journal_dev again.  I will attempt to attach the journals to the
filesystems tonight.

Jeff




-------------------------------------------------------
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