On 6/29/05 11:07 AM, "Dave Kleikamp" <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-06-29 at 10:32 -0700, Jeff Block wrote: >> On 6/28/05 6:47 PM, "Dave Kleikamp" <[EMAIL PROTECTED]> wrote: >> >> I'm using jfsutils version 1.1.7, 22-Jul-2004 and the man page says that you >> each filesystem needs to have it's own external journal device. > > Oops. I missed that. I need to update the man page. > >> I've tried this and it has failed as well. I've removed one of the >> partitions from the md mirror and run mkfs on it. >> The mkfs doesn't finish and gives the same error as before. Again, this >> problem seems to only occur when making the journal device with mkfs (I can >> run a normal 'mkfs.jfs /dev/sd...' just fine). I've attached the strace >> output to 'mkfs -f -J journal_dev /dev/sdc7'. >> /dev/sdc7 was removed from the mirror. It doesn't show up in /proc/mounts, >> /proc/mdstat, and it is in /proc/partitions. > > 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. > > I still need to figure out why you're having trouble mounting the file > system. > After our next reboot, I'll let you know if the filesystems were able to find the external journals and mount correctly. Thanks again. 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
