xfs
[Top] [All Lists]

Re: Problem with XFS and JFS

To: Ivan Kocher <ikocher@xxxxxxxxxxxxxxxxx>
Subject: Re: Problem with XFS and JFS
From: Russell Cattelan <cattelan@xxxxxxx>
Date: Mon, 23 Feb 2004 11:25:48 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <403A3366.3070809@xxxxxxxxxxxxxxxxx>
References: <403A3366.3070809@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
> > Hi,
> > 
> > Yesterday I was hit by a nasty bug ...
> > 
> > I tried to change the filesystem of a couple machines from XFS to JFS, 
> > so compiled kernel 2.4.23 with XFS (patch) and JFS.  Once the jfs root 
> > partition was up, it booted, and xfs "tried" to repair the partition.  I 
> >  booted using my default setup and later after remaking all again using 
> > init=/bin/bash rw, and even later init=/bin/bash ro
> > 
> > In the first two cases cases, xfs tried its "repair", teling that it 
> > recovered the journal... :( trashing the fs.
> > 
> > When I booted in the third case, (ro) no problem...
> > 
> > I wonder ... does xfs has some check for some magic in there?  I tried 
> > in all machines, and in all it damaged the mounted / jfs fs ...
> 
> sounds like mkfs.jfs is not zeroing enough of the device prior to
> writing its fs.  particularly block zero where the XFS superblock
> lives. (some mkfs avoid zeroing this due to quirky partitioning setups
> on some architectures, notably Suns).

Or make sure to change the fstab so that the system does not try to
mount a jfs partition as xfs.


Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>